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:
parent
459bfed9ea
commit
b696090bb7
2 changed files with 38 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue