mips_r4k warning fixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3581 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ae5fc4507e
commit
c6ee607c94
@ -15,11 +15,7 @@
|
|||||||
#define BIOS_FILENAME "mipsel_bios.bin"
|
#define BIOS_FILENAME "mipsel_bios.bin"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TARGET_MIPS64
|
#define PHYS_TO_VIRT(x) ((x) | ~(target_ulong)0x7fffffff)
|
||||||
#define PHYS_TO_VIRT(x) ((x) | ~0x7fffffffULL)
|
|
||||||
#else
|
|
||||||
#define PHYS_TO_VIRT(x) ((x) | ~0x7fffffffU)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define VIRT_TO_PHYS_ADDEND (-((int64_t)(int32_t)0x80000000))
|
#define VIRT_TO_PHYS_ADDEND (-((int64_t)(int32_t)0x80000000))
|
||||||
|
|
||||||
@ -152,7 +148,6 @@ void mips_r4k_init (int ram_size, int vga_ram_size, const char *boot_device,
|
|||||||
CPUState *env;
|
CPUState *env;
|
||||||
RTCState *rtc_state;
|
RTCState *rtc_state;
|
||||||
int i;
|
int i;
|
||||||
mips_def_t *def;
|
|
||||||
qemu_irq *i8259;
|
qemu_irq *i8259;
|
||||||
|
|
||||||
/* init CPUs */
|
/* init CPUs */
|
||||||
|
Loading…
Reference in New Issue
Block a user