Changeset 1ccd0aa in mainline
- Timestamp:
- 2012-01-27T22:41:06Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 221c9ec
- Parents:
- adec5b45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/km.c
radec5b45 r1ccd0aa 190 190 FRAME_HIGHMEM | FRAME_ATOMIC | flags); 191 191 if (frame) { 192 page = km_page_alloc(PAGE_SIZE, PAGE_SIZE); 192 page = km_map(frame, PAGE_SIZE, 193 PAGE_READ | PAGE_WRITE | PAGE_CACHEABLE); 193 194 ASSERT(page); // FIXME 194 page_table_lock(AS_KERNEL, true);195 page_mapping_insert(AS_KERNEL, page, frame,196 PAGE_CACHEABLE | PAGE_READ | PAGE_WRITE);197 page_table_unlock(AS_KERNEL, true);198 195 } else { 199 196 frame = (uintptr_t) frame_alloc_noreserve(ONE_FRAME,
Note:
See TracChangeset
for help on using the changeset viewer.