Changeset 0139747 in mainline
- Timestamp:
- 2011-01-14T19:55:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c32e6bc
- Parents:
- 1433f93e
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/frame.h
r1433f93e r0139747 156 156 (((frame_index_abs((zone), (frame)) >> (frame)->buddy_order) & 0x1) == 1) 157 157 158 #define frame_alloc(order, flags) \159 frame_alloc_generic((order), (flags), NULL)160 161 158 extern void frame_init(void); 162 159 extern void *frame_alloc_generic(uint8_t, frame_flags_t, size_t *); 160 extern void *frame_alloc(uint8_t, frame_flags_t); 163 161 extern void frame_free(uintptr_t); 164 162 extern void frame_reference_add(pfn_t); -
kernel/generic/src/mm/frame.c
r1433f93e r0139747 1086 1086 } 1087 1087 1088 void *frame_alloc(uint8_t order, frame_flags_t flags) 1089 { 1090 return frame_alloc_generic(order, flags, NULL); 1091 } 1092 1088 1093 /** Free a frame. 1089 1094 *
Note:
See TracChangeset
for help on using the changeset viewer.