summaryrefslogtreecommitdiff
path: root/kernel/memory/physalloc.h
diff options
context:
space:
mode:
authorIan McFarlane <i.mcfarlane2002@gmail.com>2025-04-24 14:37:50 -0400
committerIan McFarlane <i.mcfarlane2002@gmail.com>2025-04-24 14:37:50 -0400
commitd113de791c51f8ea3a066569783783290451ad75 (patch)
tree9a45332375fc30074b1cfef2b4b2892c6f6a2d8f /kernel/memory/physalloc.h
parentuser.c for loading userspace elfs into memory (diff)
downloadcomus-d113de791c51f8ea3a066569783783290451ad75.tar.gz
comus-d113de791c51f8ea3a066569783783290451ad75.tar.bz2
comus-d113de791c51f8ea3a066569783783290451ad75.zip
size_t for alloc pages cals
Diffstat (limited to '')
-rw-r--r--kernel/memory/physalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/memory/physalloc.h b/kernel/memory/physalloc.h
index 7afe998..d91c57a 100644
--- a/kernel/memory/physalloc.h
+++ b/kernel/memory/physalloc.h
@@ -26,7 +26,7 @@ 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);
+void *alloc_phys_pages(size_t count);
/**
* Frees a single physical page in memory
@@ -39,6 +39,6 @@ void free_phys_page(void *ptr);
* @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);
+void free_phys_pages(void *ptr, size_t count);
#endif /* physalloc.h */