mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
Make it possible to build the Kernel on a macOS host.
It still requires an ELF compiler and linker, but at least it builds. I need to get rid of the "Unix" namespace. This does a lot of that.
This commit is contained in:
parent
44036f32bc
commit
85b886c2e0
31 changed files with 88 additions and 94 deletions
|
@ -8,10 +8,10 @@ void kfree(void*);
|
|||
|
||||
bool is_kmalloc_address(void*);
|
||||
|
||||
extern volatile dword sum_alloc;
|
||||
extern volatile dword sum_free;
|
||||
extern volatile dword kmalloc_sum_eternal;
|
||||
extern volatile dword kmalloc_sum_page_aligned;
|
||||
extern volatile size_t sum_alloc;
|
||||
extern volatile size_t sum_free;
|
||||
extern volatile size_t kmalloc_sum_eternal;
|
||||
extern volatile size_t kmalloc_sum_page_aligned;
|
||||
|
||||
inline void* operator new(size_t, void* p) { return p; }
|
||||
inline void* operator new[](size_t, void* p) { return p; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue