From ca39de66d2f39db4d666496ed23fbe3f5ba7311a Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Fri, 30 Jul 2021 15:38:33 +0200 Subject: [PATCH] pmm: remove "Low memory" mappings Signed-off-by: Pawel Wieczorkiewicz --- mm/pmm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/pmm.c b/mm/pmm.c index 68ffbe2e..ddc3c2ff 100644 --- a/mm/pmm.c +++ b/mm/pmm.c @@ -63,7 +63,6 @@ static size_t frames_count[MAX_PAGE_ORDER + 1]; addr_range_t addr_ranges[] = { /* clang-format off */ - IDENT_RANGE( "Low memory", L1_PROT_RO, 0x0, MB(1) ), IDENT_RANGE( ".text.init", L1_PROT_RO, __start_text_init, __end_text_init ), IDENT_RANGE( ".data.init", L1_PROT, __start_data_init, __end_data_init ), IDENT_RANGE( ".bss.init", L1_PROT, __start_bss_init, __end_bss_init ), @@ -76,7 +75,6 @@ addr_range_t addr_ranges[] = { USER_RANGE( ".data.user", L1_PROT_USER, __start_data_user, __end_data_user ), USER_RANGE( ".bss.user", L1_PROT_USER, __start_bss_user, __end_bss_user ), - KERNEL_RANGE( "Low memory", L1_PROT, 0x0 + VIRT_KERNEL_BASE, MB(1) + VIRT_KERNEL_BASE), KERNEL_RANGE( ".text", L1_PROT_RO, __start_text, __end_text ), KERNEL_RANGE( ".data", L1_PROT, __start_data, __end_data ), KERNEL_RANGE( ".bss", L1_PROT, __start_bss, __end_bss ),