mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
9396108034
It's a lot crappier than I remembered it. It's gonna need a lot of work.
11 lines
271 B
C
11 lines
271 B
C
#pragma once
|
|
|
|
void kmalloc_init();
|
|
void *kmalloc(DWORD size) __attribute__ ((malloc));
|
|
void kfree(void*);
|
|
|
|
extern DWORD sum_alloc;
|
|
extern DWORD sum_free;
|
|
|
|
inline void* operator new(size_t, void* p) { return p; }
|
|
inline void* operator new[](size_t, void* p) { return p; }
|