mmu-hash64.h (58969eeece99abd6d31d530ad371e789419ec9bf) mmu-hash64.h (26cd35b8613881c410d5226e6dc56e7bfb4b83d1)
1#ifndef MMU_HASH64_H
2#define MMU_HASH64_H
3
4#ifndef CONFIG_USER_ONLY
5
6#ifdef TARGET_PPC64
7void dump_slb(FILE *f, fprintf_function cpu_fprintf, PowerPCCPU *cpu);
8int ppc_store_slb(PowerPCCPU *cpu, target_ulong slot,

--- 141 unchanged lines hidden (view full) ---

150 uint32_t page_shift; /* Base page shift of segment (or 0) */
151 uint32_t slb_enc; /* SLB encoding for BookS */
152 PPCHash64PageSize enc[PPC_PAGE_SIZES_MAX_SZ];
153};
154
155struct PPCHash64Options {
156#define PPC_HASH64_1TSEG 0x00001
157#define PPC_HASH64_AMR 0x00002
1#ifndef MMU_HASH64_H
2#define MMU_HASH64_H
3
4#ifndef CONFIG_USER_ONLY
5
6#ifdef TARGET_PPC64
7void dump_slb(FILE *f, fprintf_function cpu_fprintf, PowerPCCPU *cpu);
8int ppc_store_slb(PowerPCCPU *cpu, target_ulong slot,

--- 141 unchanged lines hidden (view full) ---

150 uint32_t page_shift; /* Base page shift of segment (or 0) */
151 uint32_t slb_enc; /* SLB encoding for BookS */
152 PPCHash64PageSize enc[PPC_PAGE_SIZES_MAX_SZ];
153};
154
155struct PPCHash64Options {
156#define PPC_HASH64_1TSEG 0x00001
157#define PPC_HASH64_AMR 0x00002
158#define PPC_HASH64_CI_LARGEPAGE 0x00004
158 unsigned flags;
159 PPCHash64SegmentPageSizes sps[PPC_PAGE_SIZES_MAX_SZ];
160};
161
162extern const PPCHash64Options ppc_hash64_opts_basic;
163extern const PPCHash64Options ppc_hash64_opts_POWER7;
164
165static inline bool ppc_hash64_has(PowerPCCPU *cpu, unsigned feature)

--- 16 unchanged lines hidden ---
159 unsigned flags;
160 PPCHash64SegmentPageSizes sps[PPC_PAGE_SIZES_MAX_SZ];
161};
162
163extern const PPCHash64Options ppc_hash64_opts_basic;
164extern const PPCHash64Options ppc_hash64_opts_POWER7;
165
166static inline bool ppc_hash64_has(PowerPCCPU *cpu, unsigned feature)

--- 16 unchanged lines hidden ---