Changeset 7f1c620 in mainline for generic/src/mm/buddy.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/buddy.c
r991779c5 r7f1c620 67 67 */ 68 68 void buddy_system_create(buddy_system_t *b, 69 __u8max_order,69 uint8_t max_order, 70 70 buddy_system_operations_t *op, 71 71 void *data) … … 102 102 * @return True if block can be allocated 103 103 */ 104 bool buddy_system_can_alloc(buddy_system_t *b, __u8i) {105 __u8k;104 bool buddy_system_can_alloc(buddy_system_t *b, uint8_t i) { 105 uint8_t k; 106 106 107 107 /* … … 131 131 { 132 132 link_t *left,*right, *tmp; 133 __u8order;133 uint8_t order; 134 134 135 135 left = b->op->find_block(b, block, BUDDY_SYSTEM_INNER_BLOCK); … … 168 168 * @return Block of data represented by link_t. 169 169 */ 170 link_t *buddy_system_alloc(buddy_system_t *b, __u8i)170 link_t *buddy_system_alloc(buddy_system_t *b, uint8_t i) 171 171 { 172 172 link_t *res, *hlp; … … 231 231 { 232 232 link_t *buddy, *hlp; 233 __u8i;233 uint8_t i; 234 234 235 235 /*
Note:
See TracChangeset
for help on using the changeset viewer.