Ignore:
File:
1 edited

Legend:

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

    rb0c2075 r8f9d70b  
    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
    5761        page_table_lock(AS_KERNEL, true);
    5862       
     
    6973#ifdef HIGH_EXCEPTION_VECTORS
    7074        /* 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);
    7276        page_mapping_insert(AS_KERNEL, EXC_BASE_ADDRESS, ev_frame, flags);
    7377#else
Note: See TracChangeset for help on using the changeset viewer.