Subversion Repositories HelenOS-historic

Rev

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

Rev 686 Rev 735
Line 43... Line 43...
43
    __u8 (*get_order)(buddy_system_t *, link_t *);          /**< Return order of block passed as argument. */
43
    __u8 (*get_order)(buddy_system_t *, link_t *);          /**< Return order of block passed as argument. */
44
    void (*mark_busy)(buddy_system_t *, link_t *);          /**< Mark block as busy */
44
    void (*mark_busy)(buddy_system_t *, link_t *);          /**< Mark block as busy */
45
};
45
};
46
 
46
 
47
struct buddy_system {
47
struct buddy_system {
48
    __u8 max_order;
48
    __u8 max_order;             /**< Maximal order of block which can be stored by buddy system. */
49
    link_t *order;
49
    link_t *order;
50
    buddy_system_operations_t *op;
50
    buddy_system_operations_t *op;
51
    void *data;             /**< Pointer to be used by the implementation. */
51
    void *data;             /**< Pointer to be used by the implementation. */
52
};
52
};
53
 
53