mmu-hash64.c (58969eeece99abd6d31d530ad371e789419ec9bf) mmu-hash64.c (26cd35b8613881c410d5226e6dc56e7bfb4b83d1)
1/*
2 * PowerPC MMU, TLB, SLB and BAT emulation helpers for QEMU.
3 *
4 * Copyright (c) 2003-2007 Jocelyn Mayer
5 * Copyright (c) 2013 David Gibson, IBM Corporation
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

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

1123 { .page_shift = 24, /* 16M */
1124 .slb_enc = 0x100,
1125 .enc = { { .page_shift = 24, .pte_enc = 0 } }
1126 },
1127 },
1128};
1129
1130const PPCHash64Options ppc_hash64_opts_POWER7 = {
1/*
2 * PowerPC MMU, TLB, SLB and BAT emulation helpers for QEMU.
3 *
4 * Copyright (c) 2003-2007 Jocelyn Mayer
5 * Copyright (c) 2013 David Gibson, IBM Corporation
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

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

1123 { .page_shift = 24, /* 16M */
1124 .slb_enc = 0x100,
1125 .enc = { { .page_shift = 24, .pte_enc = 0 } }
1126 },
1127 },
1128};
1129
1130const PPCHash64Options ppc_hash64_opts_POWER7 = {
1131 .flags = PPC_HASH64_1TSEG | PPC_HASH64_AMR,
1131 .flags = PPC_HASH64_1TSEG | PPC_HASH64_AMR | PPC_HASH64_CI_LARGEPAGE,
1132 .sps = {
1133 {
1134 .page_shift = 12, /* 4K */
1135 .slb_enc = 0,
1136 .enc = { { .page_shift = 12, .pte_enc = 0 },
1137 { .page_shift = 16, .pte_enc = 0x7 },
1138 { .page_shift = 24, .pte_enc = 0x38 }, },
1139 },

--- 18 unchanged lines hidden ---
1132 .sps = {
1133 {
1134 .page_shift = 12, /* 4K */
1135 .slb_enc = 0,
1136 .enc = { { .page_shift = 12, .pte_enc = 0 },
1137 { .page_shift = 16, .pte_enc = 0x7 },
1138 { .page_shift = 24, .pte_enc = 0x38 }, },
1139 },

--- 18 unchanged lines hidden ---