mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
12 lines
271 B
C
12 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; }
|