Revision d83af167 target-ppc/cpu.h
b/target-ppc/cpu.h | ||
---|---|---|
405 | 405 |
uint64_t vsid; |
406 | 406 |
}; |
407 | 407 |
|
408 |
#define MAX_SLB_ENTRIES 64 |
|
408 | 409 |
#define SEGMENT_SHIFT_256M 28 |
409 | 410 |
#define SEGMENT_MASK_256M (~((1ULL << SEGMENT_SHIFT_256M) - 1)) |
410 | 411 |
|
... | ... | |
949 | 950 |
#if !defined(CONFIG_USER_ONLY) |
950 | 951 |
#if defined(TARGET_PPC64) |
951 | 952 |
/* PowerPC 64 SLB area */ |
952 |
ppc_slb_t slb[64];
|
|
953 |
ppc_slb_t slb[MAX_SLB_ENTRIES];
|
|
953 | 954 |
int32_t slb_nr; |
954 | 955 |
#endif |
955 | 956 |
/* segment registers */ |
Also available in: Unified diff