aarch64: mmu: make page table pool global

There is no real reason for keeping page tables into separate pools.
Make it global which allows for more efficient memory usage and
simplifies the code.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
Nicolas Pitre 2021-02-11 23:26:21 -05:00 committed by Anas Nashif
commit b696090bb7
2 changed files with 38 additions and 40 deletions

View file

@ -165,8 +165,7 @@ struct arm_mmu_config {
};
struct arm_mmu_ptables {
uint64_t *xlat_tables;
uint16_t use_count[CONFIG_MAX_XLAT_TABLES];
uint64_t *base_xlat_table;
};
/* Convenience macros to represent the ARMv8-A-specific