Changes in kernel/arch/arm32/src/mm/page.c [b0c2075:8f9d70b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mm/page.c
rb0c2075 r8f9d70b 55 55 page_mapping_operations = &pt_mapping_operations; 56 56 57 #ifdef PROCESSOR_ARCH_armv6 58 /* Select ARMv6 and ARMv7 memory model */ 59 SCTLR_write(SCTLR_read() | SCTLR_EXTENDED_PT_EN_FLAG); 60 #endif 57 61 page_table_lock(AS_KERNEL, true); 58 62 … … 69 73 #ifdef HIGH_EXCEPTION_VECTORS 70 74 /* Create mapping for exception table at high offset */ 71 uintptr_t ev_frame = frame_alloc(1, FRAME_NONE, 0);75 uintptr_t ev_frame = (uintptr_t) frame_alloc(ONE_FRAME, FRAME_NONE); 72 76 page_mapping_insert(AS_KERNEL, EXC_BASE_ADDRESS, ev_frame, flags); 73 77 #else
Note:
See TracChangeset
for help on using the changeset viewer.