Changes in kernel/arch/arm32/src/mm/page.c [8e374ea7:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mm/page.c
r8e374ea7 r7e752b2 58 58 uintptr_t cur; 59 59 /* Kernel identity mapping */ 60 for (cur = 0; cur < last_frame; cur += FRAME_SIZE)60 for (cur = PHYSMEM_START_ADDR; cur < last_frame; cur += FRAME_SIZE) 61 61 page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags); 62 62 … … 68 68 #error "Only high exception vector supported now" 69 69 #endif 70 cur = ALIGN_DOWN(0x50008010, FRAME_SIZE); 71 page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags); 70 72 71 73 page_table_unlock(AS_KERNEL, true); … … 91 93 KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH)) { 92 94 panic("Unable to map physical memory %p (%d bytes).", 93 physaddr, size);95 (void *) physaddr, size); 94 96 } 95 97
Note:
See TracChangeset
for help on using the changeset viewer.