2019-03-11 09:32:55 -05:00
|
|
|
#ifndef PMEM_H
|
|
|
|
#define PMEM_H
|
|
|
|
|
2019-04-27 15:03:31 -05:00
|
|
|
#include <grub/multiboot2.h>
|
2019-03-11 09:32:55 -05:00
|
|
|
|
2019-04-27 15:03:31 -05:00
|
|
|
void pmem_init(struct multiboot_boot_header_tag* tags);
|
2019-03-11 09:32:55 -05:00
|
|
|
void* pmem_alloc(int num_pages);
|
|
|
|
void pmem_free(int start_page,int num_pages);
|
|
|
|
|
|
|
|
#endif
|