Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mm/page.c

    r8f9d70b rb0c2075  
    5555        page_mapping_operations = &pt_mapping_operations;
    5656
    57 #ifdef PROCESSOR_ARCH_armv6
    58         /* Select ARMv6 and ARMv7 memory model */
    59         SCTLR_write(SCTLR_read() | SCTLR_EXTENDED_PT_EN_FLAG);
    60 #endif
    6157        page_table_lock(AS_KERNEL, true);
    6258       
     
    7369#ifdef HIGH_EXCEPTION_VECTORS
    7470        /* Create mapping for exception table at high offset */
    75         uintptr_t ev_frame = (uintptr_t) frame_alloc(ONE_FRAME, FRAME_NONE);
     71        uintptr_t ev_frame = frame_alloc(1, FRAME_NONE, 0);
    7672        page_mapping_insert(AS_KERNEL, EXC_BASE_ADDRESS, ev_frame, flags);
    7773#else
Note: See TracChangeset for help on using the changeset viewer.