From 2ddbeb9f7214f6d3feef651eba83e6a9d120a743 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 13 Aug 2020 17:58:50 -0400 Subject: lots of progress, including readonly PATA driver and part of FAT16 driver --- src/kernel/mem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/mem.h') diff --git a/src/kernel/mem.h b/src/kernel/mem.h index 913f70b..9a9ae79 100644 --- a/src/kernel/mem.h +++ b/src/kernel/mem.h @@ -7,7 +7,7 @@ extern uint16_t pages_left; void init_mmap(); -void *allocate_pages(uint16_t n); -void free_pages(void *ptr, uint16_t n); +void *allocate_pages(uint16_t n) __attribute__ ((malloc)); +void free_pages(const void *ptr, uint16_t n); #endif \ No newline at end of file -- cgit v1.2.3