mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
hw/mips: fuloong2e: Set preferred page size to 16KB
Loongson processor prefers 16KB page size in system emulator, so let's define mc->minimum_page_bits to 14. Cc: Jiaxun Yang <[email protected]> Signed-off-by: Huacai Chen <[email protected]> Reviewed-by: Aleksandar Markovic <[email protected]> Signed-off-by: Aleksandar Markovic <[email protected]> Message-Id: <[email protected]>
This commit is contained in:
1 parent
ee3863b9d4
commit
a08d60bc6c
1 file changed
+1
@@ -392,6 +392,7 @@ static void mips_fuloong2e_machine_init(MachineClass *mc)
|
||||
mc->default_cpu_type = MIPS_CPU_TYPE_NAME("Loongson-2E");
|
||||
mc->default_ram_size = 256 * MiB;
|
||||
mc->default_ram_id = "fuloong2e.ram";
|
||||
mc->minimum_page_bits = 14;
|
||||
}
|
||||
|
||||
DEFINE_MACHINE("fuloong2e", mips_fuloong2e_machine_init)
|
||||
Reference in new issue
Block a user