diff options
author | Danny Holman <dholman@gymli.org> | 2024-02-16 13:06:43 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-02-16 13:06:43 -0600 |
commit | 33fdc9b20c12e6c776ed76fc59d848a3ad7f6bca (patch) | |
tree | e305d66a4be29a2446506ee17897957846518125 /arch/i386/include/kernel/alloc.h | |
parent | 95606a6be7c64065d295bdabb1a94fb42108e72f (diff) |
arch: i386: roll physical memory control into VMM
The VMM should control the physical memory as well as paging. This
allows the VMM to grab frames as it sees fit.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/include/kernel/alloc.h')
-rw-r--r-- | arch/i386/include/kernel/alloc.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/i386/include/kernel/alloc.h b/arch/i386/include/kernel/alloc.h deleted file mode 100644 index 986bcc5..0000000 --- a/arch/i386/include/kernel/alloc.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef I386_ALLOC_H -#define I386_ALLOC_H - -#include <kernel/multiboot.h> -#include <stdint.h> -#include <stddef.h> - -int alloc_init(struct mboot_info *info); -void mark_bitmap(uint32_t paddr, int present); -uint32_t pfa_alloc_frame(void); -void pfa_free(uint32_t paddr, int num_frames); - -#endif |