diff options
author | Ian McFarlane <i.mcfarlane2002@gmail.com> | 2025-04-24 14:37:50 -0400 |
---|---|---|
committer | Ian McFarlane <i.mcfarlane2002@gmail.com> | 2025-04-24 14:37:50 -0400 |
commit | d113de791c51f8ea3a066569783783290451ad75 (patch) | |
tree | 9a45332375fc30074b1cfef2b4b2892c6f6a2d8f /kernel/memory/physalloc.h | |
parent | user.c for loading userspace elfs into memory (diff) | |
download | comus-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.h | 4 |
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 */ |