kernel/arm: add range checking for early page tables

Change-Id: Ibbd367475482eb0cf839314014c8bf68612c5d6a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4891
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
David Karoly
2022-01-27 16:29:48 +00:00
committed by Alex von Gluck IV
parent 79ee00628f
commit d283a8c58a
3 changed files with 7 additions and 0 deletions
@@ -32,6 +32,7 @@ typedef struct {
uint32 phys_pgdir;
uint32 vir_pgdir;
uint32 next_pagetable;
uint32 last_pagetable;
// The virtual ranges we want to keep in the kernel.
uint32 num_virtual_ranges_to_keep;