term: depreciate rt, and switch to flanterm
This commit is contained in:
parent
020d4f092f
commit
621f268f5b
23 changed files with 3201 additions and 9941 deletions
|
@ -6,7 +6,7 @@
|
|||
#include <stdint.h>
|
||||
#include <sys/log.h>
|
||||
|
||||
#define PREFIX(func) k##func
|
||||
#define PREFIX(func) func
|
||||
|
||||
#ifdef _DEBUG
|
||||
void liballoc_dump();
|
||||
|
|
|
@ -33,7 +33,8 @@ int liballoc_free(void *ptr, size_t pages)
|
|||
}
|
||||
|
||||
|
||||
extern void *malloc(size_t s) { return PREFIX(malloc)(s); }
|
||||
extern void *realloc(void *v, size_t s) { return PREFIX(realloc)(v, s); }
|
||||
extern void *calloc(size_t s1, size_t s) { return PREFIX(calloc)(s1, s); }
|
||||
extern void free(void *v) { return PREFIX(free)(v); }
|
||||
|
||||
//void *malloc(size_t s) { return PREFIX(malloc)(s); }
|
||||
//void *realloc(void *v, size_t s) { return PREFIX(realloc)(v, s); }
|
||||
//void *calloc(size_t s1, size_t s) { return PREFIX(calloc)(s1, s); }
|
||||
//void free(void *v) { return PREFIX(free)(v); }
|
Loading…
Add table
Add a link
Reference in a new issue