[Etherboot-developers] Multiboot Information structure is not correct
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: SONE T. <ts...@cm...> - 2003-07-01 10:50:40
|
Hi, I think that Multiboot loader in Etherboot is not correctly implemented. The Specification says 'mmap_addr' points to 'size' of the first mmap entry, but Etherboot's structure points to 'base_addr_low'. Also, the 'size' of a mmap entry should not include the size of itself, but Etherboot does. (That is, a Multiboot OS looks at every 'size+4' bytes for mmap entries, but with Etherboot, the mmap entries are at every 'size' bytes.) The Multiboot Specification may be ambiguous and misleading, but the example code in the Specification and the implementation in GRUB are different from Etherboot. Eric's mkelfImage is based on Etherboot's implementation so it should also be fixed. -- Takeshi |