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


Ignore:
Timestamp:
2013-09-09T23:13:10Z (12 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/falloc1.c

    rc67dbd6 r8cbf1c3  
    5858                        unsigned int allocated = 0;
    5959                        for (unsigned int i = 0; i < (MAX_FRAMES >> order); i++) {
    60                                 frames[allocated] = (uintptr_t)
    61                                     frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
     60                                frames[allocated] =
     61                                    PA2KA(frame_alloc(order, FRAME_ATOMIC, 0));
    6262                               
    6363                                if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) !=
Note: See TracChangeset for help on using the changeset viewer.