Rev 935 | Rev 1063 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 935 | Rev 946 | ||
|---|---|---|---|
| Line 96... | Line 96... | ||
| 96 | #define frame_alloc(order, flags) frame_alloc_generic(order, flags, NULL, NULL) |
96 | #define frame_alloc(order, flags) frame_alloc_generic(order, flags, NULL, NULL) |
| 97 | #define frame_alloc_rc(order, flags, status) frame_alloc_generic(order, flags, status, NULL) |
97 | #define frame_alloc_rc(order, flags, status) frame_alloc_generic(order, flags, status, NULL) |
| 98 | #define frame_alloc_rc_zone(order, flags, status, zone) frame_alloc_generic(order, flags, status, zone) |
98 | #define frame_alloc_rc_zone(order, flags, status, zone) frame_alloc_generic(order, flags, status, zone) |
| 99 | 99 | ||
| 100 | extern void frame_init(void); |
100 | extern void frame_init(void); |
| 101 | __address frame_alloc_generic(__u8 order, int flags, int * status, int *pzone); |
101 | extern pfn_t frame_alloc_generic(__u8 order, int flags, int * status, int *pzone); |
| 102 | extern void frame_free(__address addr); |
102 | extern void frame_free(pfn_t pfn); |
| 103 | 103 | ||
| 104 | extern int zone_create(pfn_t start, count_t count, pfn_t confframe, int flags); |
104 | extern int zone_create(pfn_t start, count_t count, pfn_t confframe, int flags); |
| 105 | void * frame_get_parent(pfn_t frame, int hint); |
105 | void * frame_get_parent(pfn_t frame, int hint); |
| 106 | void frame_set_parent(pfn_t frame, void *data, int hint); |
106 | void frame_set_parent(pfn_t frame, void *data, int hint); |
| 107 | void frame_mark_unavailable(pfn_t start, count_t count); |
107 | void frame_mark_unavailable(pfn_t start, count_t count); |