ssfn: try making normal renderer work (i hope google won't dmca this for adding noto inside lol)
This commit is contained in:
parent
a6f371b4ad
commit
442b26df09
13 changed files with 11150 additions and 261 deletions
25
kernel/src/mm/liballoc/liballoc.h
Normal file
25
kernel/src/mm/liballoc/liballoc.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
// Copyright: Durand Miller <clutter@djm.co.za>
|
||||
#ifndef LIBALLOC_H
|
||||
#define LIBALLOC_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/log.h>
|
||||
|
||||
#define PREFIX(func) k##func
|
||||
|
||||
#ifdef _DEBUG
|
||||
void liballoc_dump();
|
||||
#endif // _DEBUG
|
||||
|
||||
extern int liballoc_lock();
|
||||
extern int liballoc_unlock();
|
||||
extern void *liballoc_alloc(size_t);
|
||||
extern int liballoc_free(void *, size_t);
|
||||
|
||||
extern void *PREFIX(malloc)(size_t);
|
||||
extern void *PREFIX(realloc)(void *, size_t);
|
||||
extern void *PREFIX(calloc)(size_t, size_t);
|
||||
extern void PREFIX(free)(void *);
|
||||
|
||||
#endif // LIBALLOC_H
|
Loading…
Add table
Add a link
Reference in a new issue