Changeset 5f0f29ce in mainline for kernel/generic/include/mm/buddy.h


Ignore:
Timestamp:
2009-02-26T23:34:27Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e49e234
Parents:
6b1de7a
Message:

kernel memory management revisited (phase 1): proper support for zone flags

  • the zone_t structures are now statically allocated to be easily available
  • the locking scheme was simplified
  • new flags for non-available zones were introduced
  • FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism
File:
1 edited

Legend:

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

    r6b1de7a r5f0f29ce  
    8383extern bool buddy_system_can_alloc(buddy_system_t *, uint8_t);
    8484extern void buddy_system_free(buddy_system_t *, link_t *);
    85 extern size_t buddy_conf_size(int);
     85extern size_t buddy_conf_size(size_t);
    8686extern link_t *buddy_system_alloc_block(buddy_system_t *, link_t *);
    8787
Note: See TracChangeset for help on using the changeset viewer.