blob: e6e4f57bdb721ba95eac909152ad3e3352f84a8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef I386_PMEM_H
#define I386_PMEM_H
#include <kernel/multiboot.h>
#include <stdint.h>
#include <stddef.h>
struct pfa_page {
struct pfa_page *next;
};
void pfa_init(struct mboot_info *header);
void pfa_free_dma(uintptr_t paddr, size_t num_pages);
void pfa_free(uintptr_t paddr, size_t num_pages);
#endif
|