target/loongarch: Support 4K page size

The LoongArch kernel supports 4K page size.
Change TARGET_PAGE_BITS to 12.

Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20231023024059.3858349-1-gaosong@loongson.cn>
This commit is contained in:
Song Gao 2023-10-23 10:40:59 +08:00
parent 31f694b911
commit 1d832c19db
2 changed files with 5 additions and 6 deletions

View file

@ -12,6 +12,6 @@
#define TARGET_PHYS_ADDR_SPACE_BITS 48
#define TARGET_VIRT_ADDR_SPACE_BITS 48
#define TARGET_PAGE_BITS 14
#define TARGET_PAGE_BITS 12
#endif