mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
lm32: Remove ELF_MACHINE from cpu.h
The bootloaders can just pass EM_LATTICEMICO32 directly, as that is architecture specific code. This removes another architecture specific definition from the global namespace. Cc: Michael Walle <michael@walle.cc> Acked-By: Michael Walle <michael@walle.cc> Reviewed-by: Richard Henderson <rth@twiddle.net> Acked-By: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
663c40a50d
commit
22d2fb4c59
3 changed files with 3 additions and 5 deletions
|
@ -30,8 +30,6 @@
|
|||
struct CPULM32State;
|
||||
typedef struct CPULM32State CPULM32State;
|
||||
|
||||
#define ELF_MACHINE EM_LATTICEMICO32
|
||||
|
||||
#define NB_MMU_MODES 1
|
||||
#define TARGET_PAGE_BITS 12
|
||||
static inline int cpu_mmu_index(CPULM32State *env, bool ifetch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue