On Thu, Nov 26, 2009 at 09:20:34AM +0200, Gleb Natapov wrote: > On Thu, Nov 26, 2009 at 02:15:27AM -0500, Kevin O'Connor wrote: > > Now, if the bios is reloaded, the jump to the resume vector will skip > > ide, bios table, and other internal state setup. So, later calls to > > the bios will likely fail. > > > Seabios stores .bss and .data section in BIOS segments?
Yes. >If this is the > case that you are right. Can we move them somewhere else and add it to > e820 map? That would significantly complicate the code, and it wouldn't truly solve the issue as some data needs to be stored in the f-segment (eg, smbios anchor). >Although event then switching to real mode using triple fault > after migration to newer BIOS will not work properly. IMO, migrating to a new bios doesn't make sense - the bios is an application with state - one can't just replace the code. -Kevin