Changeset 9b9e385 in mainline for generic/include/mm


Ignore:
Timestamp:
2006-02-05T16:08:27Z (19 years ago)
Author:
Sergey Bondari <bondari@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
266294a9
Parents:
328e0d3
Message:

frame_alloc() functions variations in order to avoid problems with frame_alloc_generic() changes.
IMPORTANT: Parameter order for frame_alloc() was changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/frame.h

    r328e0d3 r9b9e385  
    6262#define ZONE_BLACKLIST_SIZE     8
    6363
     64#define frame_alloc(order, flags)                               frame_alloc_generic(order, flags, NULL, NULL)
     65#define frame_alloc_rc(order, flags, status)                    frame_alloc_generic(order, flags, status, NULL)
     66#define frame_alloc_rc_zone(order, flags, status, zone)         frame_alloc_generic(order, flags, status, zone)
     67
    6468struct zone {
    6569        link_t link;            /**< link to previous and next zone */
     
    102106extern void frame_initialize(frame_t *frame, zone_t *zone);
    103107
    104 __address frame_alloc(int flags, __u8 order, int * status, zone_t **pzone);
     108__address frame_alloc_generic(__u8 order, int flags, int * status, zone_t **pzone);
     109
     110
    105111extern void frame_free(__address addr);
    106112
Note: See TracChangeset for help on using the changeset viewer.