mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target/ppc: Fold ci_large_pages flag into PPCHash64Options
The ci_large_pages boolean in CPUPPCState is only relevant to 64-bit hash MMU machines, indicating whether it's possible to map large (> 4kiB) pages as cache-inhibitied (i.e. for IO, rather than memory). Fold it as another flag into the PPCHash64Options structure. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
58969eeece
commit
26cd35b861
6 changed files with 8 additions and 8 deletions
|
@ -155,6 +155,7 @@ struct PPCHash64SegmentPageSizes {
|
|||
struct PPCHash64Options {
|
||||
#define PPC_HASH64_1TSEG 0x00001
|
||||
#define PPC_HASH64_AMR 0x00002
|
||||
#define PPC_HASH64_CI_LARGEPAGE 0x00004
|
||||
unsigned flags;
|
||||
PPCHash64SegmentPageSizes sps[PPC_PAGE_SIZES_MAX_SZ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue