On Wed, Apr 8, 2020 at 4:41 PM Huacai Chen <[email protected]> wrote:
>
> 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]>
> ---
Applied to MIPS queue.
Many thanks!
Aleksandar
> hw/mips/mips_fulong2e.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c
> index 5040afd..23897d7 100644
> --- a/hw/mips/mips_fulong2e.c
> +++ b/hw/mips/mips_fulong2e.c
> @@ -399,6 +399,7 @@ static void mips_fulong2e_machine_init(MachineClass *mc)
> mc->default_cpu_type = MIPS_CPU_TYPE_NAME("Loongson-2E");
> mc->default_ram_size = 256 * MiB;
> mc->default_ram_id = "fulong2e.ram";
> + mc->minimum_page_bits = 14;
> }
>
> DEFINE_MACHINE("fulong2e", mips_fulong2e_machine_init)
> --
> 2.7.0
>
>