[syslinux] [PATCH] new *br: Show handoff data

Michal Soltys soltys at ziu.info
Fri Nov 26 15:12:11 PST 2010


On 10-11-26 20:56, Gene Cumm wrote:
>
> None are destroyed?  I'd assume it explicitly moves the contents of
> every register (minus CS, IP, of course) to a static area in memory
> before doing anything?

More or less. Just a few core ones, then some segment pushes and nice 
fat pushad to restore later.

> Primarily, I was looking at using this code when it's suspected that
> the BIOS or existing MBR is not following the normal rules.  As such,
> I'd think it must stay under 420 bytes of code and pre-initialized
> data as the hand-off data should be considered corrupt.
>

Indeed, if that's the case.

The one I use only detects (primitive magic value check per sector) if 
it got loaded right.




More information about the Syslinux mailing list