ladybird/Kernel/kmalloc.h

12 lines
289 B
C
Raw Normal View History

#pragma once
void kmalloc_init();
void *kmalloc(DWORD size) __attribute__ ((malloc));
void kfree(void*);
extern volatile DWORD sum_alloc;
extern volatile DWORD sum_free;
inline void* operator new(size_t, void* p) { return p; }
inline void* operator new[](size_t, void* p) { return p; }