Changeset e608cbe in mainline
- Timestamp:
- 2011-01-14T20:01:54Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b838fdf
- Parents:
- c32e6bc
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/frame.h
rc32e6bc re608cbe 159 159 extern void *frame_alloc_generic(uint8_t, frame_flags_t, size_t *); 160 160 extern void *frame_alloc(uint8_t, frame_flags_t); 161 extern void *frame_alloc_noreserve(uint8_t, frame_flags_t); 161 162 extern void frame_free_generic(uintptr_t, frame_flags_t); 162 163 extern void frame_free(uintptr_t); 164 extern void frame_free_noreserve(uintptr_t); 163 165 extern void frame_reference_add(pfn_t); 164 166 -
kernel/generic/src/mm/frame.c
rc32e6bc re608cbe 1091 1091 } 1092 1092 1093 void *frame_alloc_noreserve(uint8_t order, frame_flags_t flags) 1094 { 1095 return frame_alloc_generic(order, flags | FRAME_NO_RESERVE, NULL); 1096 } 1097 1093 1098 /** Free a frame. 1094 1099 * … … 1134 1139 { 1135 1140 frame_free_generic(frame, 0); 1141 } 1142 1143 void frame_free_noreserve(uintptr_t frame) 1144 { 1145 frame_free_generic(frame, FRAME_NO_RESERVE); 1136 1146 } 1137 1147
Note:
See TracChangeset
for help on using the changeset viewer.