Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    r4b1c7c6f ra35b458  
    12171217NO_TRACE static unsigned int area_flags_to_page_flags(unsigned int aflags)
    12181218{
    1219         unsigned int flags = PAGE_USER;
    1220 
    1221         // TODO: AS_AREA_READ currently has no effect.
    1222         // Readability is implied.
     1219        unsigned int flags = PAGE_USER | PAGE_PRESENT;
     1220
     1221        if (aflags & AS_AREA_READ)
     1222                flags |= PAGE_READ;
    12231223
    12241224        if (aflags & AS_AREA_WRITE)
Note: See TracChangeset for help on using the changeset viewer.