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

Gene Cumm gene.cumm at gmail.com
Fri Nov 26 15:29:08 PST 2010


On Fri, Nov 26, 2010 at 18:12, Michal Soltys <soltys at ziu.info> wrote:
> 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.

Another big difference: I'd like to keep it 8086 compatible (although
I need some way to check).  I think the only places I question are
some addressing modes and source/destination combinations.

>> 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.

Someone was having difficulty with an MBR and I thought it might be
possible to use it to test some LOCALBOOT issues also.

-- 
-Gene




More information about the Syslinux mailing list