mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target-microblaze: Setup for 64bit addressing
Setup MicroBlaze builds for 64bit addressing. No functional change since the translator does not yet emit 64bit addresses. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
0a22f8cf3e
commit
be73ef6423
2 changed files with 4 additions and 3 deletions
1
configure
vendored
1
configure
vendored
|
@ -6844,6 +6844,7 @@ case "$target_name" in
|
||||||
microblaze|microblazeel)
|
microblaze|microblazeel)
|
||||||
TARGET_ARCH=microblaze
|
TARGET_ARCH=microblaze
|
||||||
bflt="yes"
|
bflt="yes"
|
||||||
|
echo "TARGET_ABI32=y" >> $config_target_mak
|
||||||
;;
|
;;
|
||||||
mips|mipsel)
|
mips|mipsel)
|
||||||
TARGET_ARCH=mips
|
TARGET_ARCH=mips
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
#include "cpu-qom.h"
|
#include "cpu-qom.h"
|
||||||
|
|
||||||
#define TARGET_LONG_BITS 32
|
#define TARGET_LONG_BITS 64
|
||||||
|
|
||||||
#define CPUArchState struct CPUMBState
|
#define CPUArchState struct CPUMBState
|
||||||
|
|
||||||
|
@ -340,8 +340,8 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo,
|
||||||
/* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */
|
/* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */
|
||||||
#define TARGET_PAGE_BITS 12
|
#define TARGET_PAGE_BITS 12
|
||||||
|
|
||||||
#define TARGET_PHYS_ADDR_SPACE_BITS 32
|
#define TARGET_PHYS_ADDR_SPACE_BITS 64
|
||||||
#define TARGET_VIRT_ADDR_SPACE_BITS 32
|
#define TARGET_VIRT_ADDR_SPACE_BITS 64
|
||||||
|
|
||||||
#define CPU_RESOLVING_TYPE TYPE_MICROBLAZE_CPU
|
#define CPU_RESOLVING_TYPE TYPE_MICROBLAZE_CPU
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue