kern
annotate src/mem.h @ 80:4db99a52863e
fixed the "endianess" of the text messages in the ATA identify info block. this
is the first time I've seen wrong byteorder in ascii text, the ATA committee
should be commended.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 06 Dec 2011 13:35:39 +0200 |
parents | 098b1cb5eeaa |
children |
rev | line source |
---|---|
nuclear@17 | 1 #ifndef MEM_H_ |
nuclear@17 | 2 #define MEM_H_ |
nuclear@17 | 3 |
nuclear@17 | 4 #include "mboot.h" |
nuclear@17 | 5 |
nuclear@19 | 6 void init_mem(struct mboot_info *mb); |
nuclear@17 | 7 |
nuclear@17 | 8 uint32_t alloc_phys_page(void); |
nuclear@19 | 9 void free_phys_page(uint32_t addr); |
nuclear@19 | 10 |
nuclear@19 | 11 void get_kernel_mem_range(uint32_t *start, uint32_t *end); |
nuclear@17 | 12 |
nuclear@17 | 13 #endif /* MEM_H_ */ |