Subversion Repositories HelenOS-historic

Rev

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

Rev 814 Rev 822
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
    void (*mark_available)(buddy_system_t *, link_t *);         /**< Mark block as busy */
45
    void (*mark_available)(buddy_system_t *, link_t *);         /**< Mark block as busy */
46
    /** Find parent of block that has given order  */
46
    /** Find parent of block that has given order  */
47
    link_t *(* find_block)(buddy_system_t *, link_t *, __u8);
47
    link_t *(* find_block)(buddy_system_t *, link_t *, __u8);
-
 
48
    void (* print_id)(buddy_system_t *, link_t *);
48
};
49
};
49
 
50
 
50
struct buddy_system {
51
struct buddy_system {
51
    __u8 max_order;             /**< Maximal order of block which can be stored by buddy system. */
52
    __u8 max_order;             /**< Maximal order of block which can be stored by buddy system. */
52
    link_t *order;
53
    link_t *order;