Skip to content

Commit

Permalink
pmm: remove "Low memory" mappings
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Jul 30, 2021
1 parent 4f6bd7e commit ca39de6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mm/pmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),
Expand All @@ -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 ),
Expand Down

0 comments on commit ca39de6

Please sign in to comment.