summaryrefslogtreecommitdiff
path: root/include/memory/physalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/memory/physalloc.h')
-rw-r--r--include/memory/physalloc.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/memory/physalloc.h b/include/memory/physalloc.h
deleted file mode 100644
index e95e418..0000000
--- a/include/memory/physalloc.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-
-#ifndef MEMORY_INTERNAL
- #error "Do not include headers from <memory/___.h>, only use <memory.h>"
-#endif
-
-/**
- * Allocates a single physical page in memory
- * @preturns the physical address of the page
- */
-void *alloc_phys_page(void);
-
-/**
- * Allocates count physical pages in memory
- * @returns the physical address of the first page
- */
-void *alloc_phys_pages(int count);
-
-/**
-* Frees a single physical page in memory
- * @param ptr - the physical address of the page
- */
-void free_phys_page(void *ptr);
-
-/**
- * Frees count physical pages in memory
- * @param ptr - the physical address of the first page
- * @param count - the number of pages in the list
- */
-void free_phys_pages(void *ptr, int count);