Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/arch/mm/page.h

    r4b1c7c6f r53ad43c  
    109109        get_pt_flags((pte_t *) (ptl0), (size_t) (i))
    110110#define GET_PTL2_FLAGS_ARCH(ptl1, i) \
    111         0
     111        PAGE_PRESENT
    112112#define GET_PTL3_FLAGS_ARCH(ptl2, i) \
    113         0
     113        PAGE_PRESENT
    114114#define GET_FRAME_FLAGS_ARCH(ptl3, i) \
    115115        get_pt_flags((pte_t *) (ptl3), (size_t) (i))
     
    185185
    186186        return ((!p->page_cache_disable) << PAGE_CACHEABLE_SHIFT |
    187             (!p->present) << PAGE_NOT_PRESENT_SHIFT |
     187            (!p->present) << PAGE_PRESENT_SHIFT |
    188188            p->uaccessible << PAGE_USER_SHIFT |
     189            1 << PAGE_READ_SHIFT |
    189190            p->writeable << PAGE_WRITE_SHIFT |
    190191            1 << PAGE_EXEC_SHIFT |
Note: See TracChangeset for help on using the changeset viewer.