16 lines
338 B
C
16 lines
338 B
C
/*
|
|
* @author xamidev <xamidev@riseup.net>
|
|
* @brief Physical memory manager from freelist
|
|
* @license GPL-3.0-only
|
|
*/
|
|
|
|
#ifndef PAGING_PMM_H
|
|
#define PAGING_PMM_H
|
|
|
|
#include <limine.h>
|
|
|
|
void pmm_init(struct limine_memmap_response* memmap, struct limine_hhdm_response* hhdm);
|
|
void pmm_free(uintptr_t addr);
|
|
uintptr_t pmm_alloc();
|
|
|
|
#endif |