Revision bb593904 target-ppc/cpu.h
b/target-ppc/cpu.h | ||
---|---|---|
359 | 359 |
}; |
360 | 360 |
#endif |
361 | 361 |
|
362 |
#define SDR_32_HTABORG 0xFFFF0000UL |
|
363 |
#define SDR_32_HTABMASK 0x000001FFUL |
|
364 |
|
|
365 |
#if defined(TARGET_PPC64) |
|
366 |
#define SDR_64_HTABORG 0xFFFFFFFFFFFC0000ULL |
|
367 |
#define SDR_64_HTABSIZE 0x000000000000001FULL |
|
368 |
#endif /* defined(TARGET_PPC64 */ |
|
369 |
|
|
362 | 370 |
typedef struct ppc_slb_t ppc_slb_t; |
363 | 371 |
struct ppc_slb_t { |
364 | 372 |
uint64_t esid; |
... | ... | |
642 | 650 |
int slb_nr; |
643 | 651 |
#endif |
644 | 652 |
/* segment registers */ |
645 |
target_ulong sdr1; |
|
653 |
target_phys_addr_t htab_base; |
|
654 |
target_phys_addr_t htab_mask; |
|
646 | 655 |
target_ulong sr[32]; |
647 | 656 |
/* BATs */ |
648 | 657 |
int nb_BATs; |
Also available in: Unified diff