Rev 1854 | Rev 2059 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1854 | Rev 2001 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | 55 | ||
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 /* convert the frame address to kernel va */ |
61 | #define FRAME_ATOMIC 0x2 /* do not panic and do not sleep on failure */ |
61 | #define FRAME_ATOMIC 0x2 /* do not panic and do not sleep on failure */ |
62 | #define FRAME_NO_RECLAIM 0x4 /* do not start reclaiming when no free memory */ |
62 | #define FRAME_NO_RECLAIM 0x4 /* do not start reclaiming when no free memory */ |
63 | 63 | ||
64 | static inline uintptr_t PFN2ADDR(pfn_t frame) |
64 | static inline uintptr_t PFN2ADDR(pfn_t frame) |
65 | { |
65 | { |