Changeset 4b1c7c6f in mainline for kernel/generic/src/mm
- Timestamp:
- 2018-03-16T20:57:16Z (7 years ago)
- Children:
- 6be2c13
- Parents:
- 973be387
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:51:59)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:57:16)
- Location:
- kernel/generic/src/mm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r973be387 r4b1c7c6f 1217 1217 NO_TRACE static unsigned int area_flags_to_page_flags(unsigned int aflags) 1218 1218 { 1219 unsigned int flags = PAGE_USER | PAGE_PRESENT;1220 1221 if (aflags & AS_AREA_READ)1222 flags |= PAGE_READ;1219 unsigned int flags = PAGE_USER; 1220 1221 // TODO: AS_AREA_READ currently has no effect. 1222 // Readability is implied. 1223 1223 1224 1224 if (aflags & AS_AREA_WRITE) -
kernel/generic/src/mm/km.c
r973be387 r4b1c7c6f 257 257 if (frame) { 258 258 page = km_map(frame, PAGE_SIZE, 259 PAGE_ READ | PAGE_WRITE | PAGE_CACHEABLE);259 PAGE_WRITE | PAGE_CACHEABLE); 260 260 if (!page) { 261 261 frame_free(frame, 1);
Note:
See TracChangeset
for help on using the changeset viewer.