Changeset c352c2e in mainline for generic/include/mm/heap.h


Ignore:
Timestamp:
2006-02-03T23:16:27Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81e52f2a
Parents:
e1888f9
Message:

Implemented malloc/free as SLABs.

File:
1 edited

Legend:

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

    re1888f9 rc352c2e  
    3232#include <arch/types.h>
    3333#include <typedefs.h>
     34#include <mm/slab.h>
    3435
    35 #define malloc(size)            early_malloc(size)
    36 #define free(ptr)               early_free(ptr)
     36//#define malloc(size)          early_malloc(size)
     37//#define free(ptr)             early_free(ptr)
     38#define malloc(size)            kalloc(size,0)
     39#define free(ptr)               kfree(ptr)
    3740
    3841struct chunk {
Note: See TracChangeset for help on using the changeset viewer.