g0: resolve MMU_PAGE_SIZE not defined in g0 build issue

This commit is contained in:
Armando
2023-02-22 12:33:02 +08:00
parent 778aeae99e
commit c56eb8646b
14 changed files with 105 additions and 87 deletions

View File

@@ -77,7 +77,7 @@ extern "C" {
#define MMU_VALID_VAL_MASK 0x3fff
/**
* Max MMU available paddr page num.
* `MMU_MAX_PADDR_PAGE_NUM * CONFIG_MMU_PAGE_SIZE` means the max paddr address supported by the MMU. e.g.:
* `MMU_MAX_PADDR_PAGE_NUM * SOC_MMU_PAGE_SIZE` means the max paddr address supported by the MMU. e.g.:
* 16384 * 64KB, means MMU can support 1GB paddr at most
*/
#define MMU_MAX_PADDR_PAGE_NUM 16384