Changeset f275cb3 in mainline for generic/include/mm/frame.h
- Timestamp:
- 2006-01-08T16:35:41Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b2c92f33
- Parents:
- 677a6d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/frame.h
r677a6d5 rf275cb3 39 39 #define ONE_FRAME 0 40 40 41 #define FRAME_KA 1 /* skip frames conflicting with user address space */ 42 #define FRAME_PANIC 2 /* panic on failure */ 41 #define FRAME_KA 1 /* skip frames conflicting with user address space */ 42 #define FRAME_PANIC 2 /* panic on failure */ 43 #define FRAME_NON_BLOCKING 4 /* do not panic and do not sleep on failure */ 44 45 #define FRAME_OK 0 /* frame_alloc return status */ 46 #define FRAME_NO_MEMORY 1 /* frame_alloc return status */ 47 #define FRAME_ERROR 2 /* frame_alloc return status */ 43 48 44 49 #define FRAME2ADDR(zone, frame) ((zone)->base + ((frame) - (zone)->frames) * FRAME_SIZE) … … 89 94 extern void frame_init(void); 90 95 extern void frame_initialize(frame_t *frame, zone_t *zone); 91 __address frame_alloc(int flags, __u8 order); 96 97 __address frame_alloc(int flags, __u8 order, int * status); 92 98 extern void frame_free(__address addr); 99 93 100 zone_t * get_zone_by_frame(frame_t * frame); 94 101
Note:
See TracChangeset
for help on using the changeset viewer.