34,7 → 34,7 |
|
#define BUDDY_SYSTEM_INNER_BLOCK 0xff |
|
/** Buddy system operations to be implemented by each implementations. */ |
/** Buddy system operations to be implemented by each implementation. */ |
struct buddy_system_operations { |
link_t *(* find_buddy)(buddy_system_t *, link_t *); /**< Return pointer to left-side or right-side buddy for block passed as argument. */ |
link_t *(* bisect)(buddy_system_t *, link_t *); /**< Bisect the block passed as argument and return pointer to the new right-side buddy. */ |