Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2011-01-14T19:59:21Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial
Children:
e608cbe
Parents:
0139747
Message:

Add frame_free_generic().

File:
1 edited

Legend:

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

    r0139747 rc32e6bc  
    10981098 *
    10991099 * @param frame Physical Address of of the frame to be freed.
    1100  *
    1101  */
    1102 void frame_free(uintptr_t frame)
     1100 * @param flags Flags to control memory reservation.
     1101 *
     1102 */
     1103void frame_free_generic(uintptr_t frame, frame_flags_t flags)
    11031104{
    11041105        irq_spinlock_lock(&zones.lock, true);
     
    11281129        }
    11291130        mutex_unlock(&mem_avail_mtx);
     1131}
     1132
     1133void frame_free(uintptr_t frame)
     1134{
     1135        frame_free_generic(frame, 0);
    11301136}
    11311137
Note: See TracChangeset for help on using the changeset viewer.