mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 13:18:22 +00:00
81d7e7e84f
we had a pmm_hhdmalloc() but not a pmm_hhdmfree(), so that interface function is now implemented
17 lines
306 B
C
17 lines
306 B
C
#ifndef _PMM_H_INCLUDE
|
|
#define _PMM_H_INCLUDE
|
|
|
|
#include <stddef.h>
|
|
|
|
void pmm_init();
|
|
void* pmm_alloc(size_t);
|
|
void* pmm_hhdmalloc(size_t);
|
|
void pmm_hhdmfree(void*, size_t);
|
|
void pmm_free(void*, size_t);
|
|
void pmm_setused(void*, size_t);
|
|
|
|
extern void* limine_hhdm_offset;
|
|
extern void* pmm_usabletop;
|
|
|
|
#endif
|