Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Rev 1766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1702 Rev 1760
Line 92... Line 92...
92
#define frame_alloc(order, flags)               frame_alloc_generic(order, flags, NULL, NULL)
92
#define frame_alloc(order, flags)               frame_alloc_generic(order, flags, NULL, NULL)
93
#define frame_alloc_rc(order, flags, status)            frame_alloc_generic(order, flags, status, NULL)
93
#define frame_alloc_rc(order, flags, status)            frame_alloc_generic(order, flags, status, NULL)
94
#define frame_alloc_rc_zone(order, flags, status, zone)     frame_alloc_generic(order, flags, status, zone)
94
#define frame_alloc_rc_zone(order, flags, status, zone)     frame_alloc_generic(order, flags, status, zone)
95
 
95
 
96
extern void frame_init(void);
96
extern void frame_init(void);
97
extern pfn_t frame_alloc_generic(__u8 order, int flags, int * status, int *pzone);
97
extern void * frame_alloc_generic(__u8 order, int flags, int * status, int *pzone);
98
extern void frame_free(pfn_t pfn);
98
extern void frame_free(__address frame);
99
extern void frame_reference_add(pfn_t pfn);
99
extern void frame_reference_add(pfn_t pfn);
100
 
100
 
101
extern int zone_create(pfn_t start, count_t count, pfn_t confframe, int flags);
101
extern int zone_create(pfn_t start, count_t count, pfn_t confframe, int flags);
102
void * frame_get_parent(pfn_t frame, int hint);
102
void * frame_get_parent(pfn_t frame, int hint);
103
void frame_set_parent(pfn_t frame, void *data, int hint);
103
void frame_set_parent(pfn_t frame, void *data, int hint);