I was reading
this entry on the wiki and I'm struggling a little bit. My os uses grub to get all the information he may need and I got some information that looks like this :
Code:
// Available memory from BIOS
uint32_t mem_lower;
uint32_t mem_upper;
// Memory Mapping buffer
uint32_t mmap_length;
uint32_t mmap_addr;
First, mem_lower equals to 639 and mem_upper (approximately) equals the amount of ram I gave qemu / 1000. And I'd like to know why is this like that, is the size in blocks ?
Then, I can't really understand what to do with those headers. What I thought is that you have a header at the beginning of each block that describes it, but I'm not sure.
Can somebody help me with that ?
Thanks in advance
!