Rev 1766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1766 | Rev 1767 | ||
|---|---|---|---|
| Line 56... | Line 56... | ||
| 56 | #define ZONES_MAX 16 /**< Maximum number of zones in system */ |
56 | #define ZONES_MAX 16 /**< Maximum number of zones in system */ |
| 57 | 57 | ||
| 58 | #define ZONE_JOIN 0x1 /**< If possible, merge with neighbouring zones */ |
58 | #define ZONE_JOIN 0x1 /**< If possible, merge with neighbouring zones */ |
| 59 | 59 | ||
| 60 | #define FRAME_KA 0x1 /* skip frames conflicting with user address space */ |
60 | #define FRAME_KA 0x1 /* skip frames conflicting with user address space */ |
| 61 | #define FRAME_PANIC 0x2 /* panic on failure */ |
- | |
| 62 | #define FRAME_ATOMIC 0x4 /* do not panic and do not sleep on failure */ |
61 | #define FRAME_ATOMIC 0x2 /* do not panic and do not sleep on failure */ |
| 63 | #define FRAME_NO_RECLAIM 0x8 /* do not start reclaiming when no free memory */ |
62 | #define FRAME_NO_RECLAIM 0x4 /* do not start reclaiming when no free memory */ |
| 64 | 63 | ||
| 65 | #define FRAME_OK 0 /* frame_alloc return status */ |
64 | #define FRAME_OK 0 /* frame_alloc return status */ |
| 66 | #define FRAME_NO_MEMORY 1 /* frame_alloc return status */ |
65 | #define FRAME_NO_MEMORY 1 /* frame_alloc return status */ |
| 67 | #define FRAME_ERROR 2 /* frame_alloc return status */ |
66 | #define FRAME_ERROR 2 /* frame_alloc return status */ |
| 68 | 67 | ||