aarch64: mmu: dynamic mapping support
Introduce a remove_map() to ... remove a mapping. Add a use count to the page table pool so pages can be dynamically allocated, deallocated and reused. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
0629e698af
commit
459bfed9ea
2 changed files with 97 additions and 17 deletions
|
@ -166,7 +166,7 @@ struct arm_mmu_config {
|
|||
|
||||
struct arm_mmu_ptables {
|
||||
uint64_t *xlat_tables;
|
||||
unsigned int next_table;
|
||||
uint16_t use_count[CONFIG_MAX_XLAT_TABLES];
|
||||
};
|
||||
|
||||
/* Convenience macros to represent the ARMv8-A-specific
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue