From 33fdc9b20c12e6c776ed76fc59d848a3ad7f6bca Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Fri, 16 Feb 2024 13:06:43 -0600 Subject: 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 --- arch/i386/include/kernel/alloc.h | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 arch/i386/include/kernel/alloc.h (limited to 'arch/i386/include/kernel/alloc.h') 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 -#include -#include - -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 -- cgit v1.2.3