[SeaBIOS] [PATCH 00/11] Relocate init code to high memory
Kevin O'Connor
kevin at koconnor.net
Thu Sep 16 14:54:21 CEST 2010
On Thu, Sep 16, 2010 at 02:40:05PM +0200, Gleb Natapov wrote:
> On Thu, Sep 16, 2010 at 08:38:31AM -0400, Kevin O'Connor wrote:
> > On Thu, Sep 16, 2010 at 08:35:16AM +0200, Gleb Natapov wrote:
> > > On Wed, Sep 15, 2010 at 10:31:36PM -0400, Kevin O'Connor wrote:
> > > > This patch series enables SeaBIOS to relocate itself out of the
> > > > e-segment, which enables that space to be used by optionroms.
> > > >
> > > How resume from S3 is affected by this change?
> >
> > It shouldn't be. The resume detection and handling code
> > (src/resume.c) is not relocated. It will detect the resume and handle
> > it as it did before.
> >
> Before code relocation? Otherwise relocation can clobber OS memory.
I don't understand. The resume code stays in the f-segment. When it
is called it doesn't relocate itself, and doesn't reference the
relocated memory.
-Kevin
More information about the SeaBIOS
mailing list