Changeset 80bcaed in mainline for kernel/generic/include/mm/buddy.h


Ignore:
Timestamp:
2007-02-03T13:22:24Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f619ec11
Parents:
fa8e7d2
Message:

Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/buddy.h

    rfa8e7d2 r80bcaed  
    4545/** Buddy system operations to be implemented by each implementation. */
    4646typedef struct {
    47         /** Return pointer to left-side or right-side buddy for block passed as
    48           * argument. */
     47        /**
     48         * Return pointer to left-side or right-side buddy for block passed as
     49         * argument.
     50         */
    4951        link_t *(* find_buddy)(struct buddy_system *, link_t *);
    50         /** Bisect the block passed as argument and return pointer to the new
    51           * right-side buddy. */
     52        /**
     53         * Bisect the block passed as argument and return pointer to the new
     54         * right-side buddy.
     55         */
    5256        link_t *(* bisect)(struct buddy_system *, link_t *);
    5357        /** Coalesce two buddies into a bigger block. */
     
    7680
    7781extern void buddy_system_create(buddy_system_t *b, uint8_t max_order,
    78         buddy_system_operations_t *op, void *data);
     82    buddy_system_operations_t *op, void *data);
    7983extern link_t *buddy_system_alloc(buddy_system_t *b, uint8_t i);
    8084extern bool buddy_system_can_alloc(buddy_system_t *b, uint8_t order);
Note: See TracChangeset for help on using the changeset viewer.