kern

view src/mem.h @ 40:710739e33da8

- now read_rtc doesn't try to read weekday as it's probably wrong anyway, and doesn't set yearday either - mktime now fixes yearday and weekday - moved init_timer and init_rtc just before enabling the interrupts in main
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 12 Jun 2011 15:45:21 +0300
parents 098b1cb5eeaa
children
line source
1 #ifndef MEM_H_
2 #define MEM_H_
4 #include "mboot.h"
6 void init_mem(struct mboot_info *mb);
8 uint32_t alloc_phys_page(void);
9 void free_phys_page(uint32_t addr);
11 void get_kernel_mem_range(uint32_t *start, uint32_t *end);
13 #endif /* MEM_H_ */