0N/A/* Define target_phys_addr_t if it exists. */
1879N/A
0N/A#ifndef TARGPHYS_H
0N/A#define TARGPHYS_H
0N/A
0N/A#ifdef TARGET_PHYS_ADDR_BITS
0N/A/* target_phys_addr_t is the type of a physical address (its size can
0N/A be different from 'target_ulong'). */
0N/A
0N/A#if TARGET_PHYS_ADDR_BITS == 32
0N/Atypedef uint32_t target_phys_addr_t;
0N/A#define TARGET_PHYS_ADDR_MAX UINT32_MAX
0N/A#define TARGET_FMT_plx "%08x"
0N/A#elif TARGET_PHYS_ADDR_BITS == 64
0N/Atypedef uint64_t target_phys_addr_t;
0N/A#define TARGET_PHYS_ADDR_MAX UINT64_MAX
0N/A#define TARGET_FMT_plx "%016" PRIx64
0N/A#endif
1472N/A#endif
1472N/A
1472N/A#endif
0N/A