mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
Fix miscellaneous display warnings for PowerPC & alpha targets
and parallel CFI flash driver. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2661 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ba13c4327e
commit
e96efcfcb1
8 changed files with 46 additions and 31 deletions
|
@ -35,24 +35,26 @@ typedef uint64_t ppc_gpr_t;
|
|||
#define TARGET_LONG_BITS 64
|
||||
#define TARGET_GPR_BITS 64
|
||||
#define REGX "%016" PRIx64
|
||||
#define ADDRX "%016" PRIx64
|
||||
#elif defined(TARGET_PPCSPE)
|
||||
/* e500v2 have 36 bits physical address space */
|
||||
#define TARGET_PHYS_ADDR_BITS 64
|
||||
/* GPR are 64 bits: used by vector extension */
|
||||
typedef uint64_t ppc_gpr_t;
|
||||
#define TARGET_LONG_BITS 32
|
||||
#define TARGET_GPR_BITS 64
|
||||
#define REGX "%016" PRIx64
|
||||
#define ADDRX "%08" PRIx32
|
||||
#else
|
||||
typedef uint32_t ppc_gpr_t;
|
||||
#define TARGET_LONG_BITS 32
|
||||
#define TARGET_GPR_BITS 32
|
||||
#define REGX "%08" PRIx32
|
||||
#define ADDRX "%08" PRIx32
|
||||
#endif
|
||||
|
||||
#include "cpu-defs.h"
|
||||
|
||||
#define ADDRX TARGET_FMT_lx
|
||||
#define PADDRX TARGET_FMT_plx
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
#include "softfloat.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue