Changeset 8cbf1c3 in mainline for kernel/test/mm/mapping1.c


Ignore:
Timestamp:
2013-09-09T23:13:10Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2a0d76
Parents:
c67dbd6
Message:

prepare the public API of the frame allocator for the new backend
remove FRAME_KA (can be easily implemented explicitly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/mapping1.c

    rc67dbd6 r8cbf1c3  
    4242{
    4343        uintptr_t page0, page1;
    44         uintptr_t frame;
    4544        uint32_t v;
    4645        int i;
    4746       
    48         frame = (uintptr_t) frame_alloc(ONE_FRAME, FRAME_NONE);
    49 
     47        uintptr_t frame = frame_alloc(ONE_FRAME, FRAME_NONE, 0);
     48       
    5049        page0 = km_map(frame, FRAME_SIZE,
    5150            PAGE_READ | PAGE_WRITE | PAGE_CACHEABLE);
Note: See TracChangeset for help on using the changeset viewer.