Re: [PATCH] THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit (ping)

H. Peter Anvin
2006-08-28T07:31:54Z

Alon Bar-Lev wrote:
>
> Better patch.
> I've noticed that this code sets esi but then reference using si... So
> fixed to
> use esi (It worked so far since we are in low area... But I think using
> the same
> register type is cleaner...)
>

Totally pointless since we're in 16-bit mode (as is the "incl %esi")...
I guess it's "better" in the sense that if we run out of that we'll
crash due to a segment overrun... maybe (some BIOSes leave us
unknowningly in big real mode...)

-hpa