Re: [Etherboot-developers] stumbling block for 5.2
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@et...> - 2003-07-29 16:00:07
|
>>Ok, I've found what was killing the Quit from Etherboot. It was the >>zeroing of the BSS in main. Now I have to work out what it was zeroing >>and why it was zeroing too much. > >Hmm, I run a .com image and print out _bss and _ebss and they are: >0002593C and 0002E5B0 but when Etherboot relocates itself, it says _text >is from 000280A0 to 00036650. So BSS is partly below and partly within >_text? What does that mean? You there Eric? Ah ok, got it now. 2593C and 2E5B0 are the virtual addresses since Etherboot is linked to start at 20000. 280A0 and 36650 are the physical locations where Etherboot lives. 36650-280A0=E5B0. The reason zeroing BSS wipes out the return path is simple: BSS contains the 32 bit stack with the return address on it! Now to figure out what to do about this. |