target/mips: Support variable page size
commitee3863b9d414f0b4a59a88f2a79b496a99d4f6dd
authorHuacai Chen <chenhc@lemote.com>
Wed, 8 Apr 2020 09:16:18 +0000 (8 17:16 +0800)
committerAleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Mon, 1 Jun 2020 11:28:21 +0000 (1 13:28 +0200)
tree86adf1dfc7ff2583defc6cc4af9ae0f25d8b8cfa
parent7e0896b0e134f5023107d8b4454c020ba51f2d42
target/mips: Support variable page size

Traditionally, MIPS use 4KB page size, but Loongson prefer 16KB page
size in system emulator. So, let's define TARGET_PAGE_BITS_VARY and
TARGET_PAGE_BITS_MIN to support variable page size.

Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Signed-off-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Message-Id: <1586337380-25217-1-git-send-email-chenhc@lemote.com>
target/mips/cpu-param.h