Changeset e608cbe in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2011-01-14T20:01:54Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b838fdf
Parents:
c32e6bc
Message:

Add frame_alloc_noreserve() and frame_free_noreserve().

File:
1 edited

Legend:

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

    rc32e6bc re608cbe  
    10911091}
    10921092
     1093void *frame_alloc_noreserve(uint8_t order, frame_flags_t flags)
     1094{
     1095        return frame_alloc_generic(order, flags | FRAME_NO_RESERVE, NULL);
     1096}
     1097
    10931098/** Free a frame.
    10941099 *
     
    11341139{
    11351140        frame_free_generic(frame, 0);
     1141}
     1142
     1143void frame_free_noreserve(uintptr_t frame)
     1144{
     1145        frame_free_generic(frame, FRAME_NO_RESERVE);
    11361146}
    11371147
Note: See TracChangeset for help on using the changeset viewer.