mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 06:56:44 +07:00
c6087fdc77
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
31 lines
829 B
C
31 lines
829 B
C
/*
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_ELF_H
|
|
#define _ASM_MICROBLAZE_ELF_H
|
|
|
|
/*
|
|
* Note there is no "official" ELF designation for Microblaze.
|
|
* I've snaffled the value from the microblaze binutils source code
|
|
* /binutils/microblaze/include/elf/microblaze.h
|
|
*/
|
|
#define EM_XILINX_MICROBLAZE 0xbaab
|
|
#define ELF_ARCH EM_XILINX_MICROBLAZE
|
|
|
|
/*
|
|
* This is used to ensure we don't load something for the wrong architecture.
|
|
*/
|
|
#define elf_check_arch(x) ((x)->e_machine == EM_XILINX_MICROBLAZE)
|
|
|
|
/*
|
|
* These are used to set parameters in the core dumps.
|
|
*/
|
|
#define ELF_CLASS ELFCLASS32
|
|
|
|
#endif /* _ASM_MICROBLAZE_ELF_H */
|