[gPXE-devel] [PATCH] [comboot] Propagate carry flag from COMBOOT API

Stefan Hajnoczi stefanha at gmail.com
Tue May 4 01:31:52 EDT 2010


On Mon, May 3, 2010 at 11:18 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> NEVER EVER[*] use "lret $2" to return from an interrupt handler!!!!  It
> means all flags are dropped, **INCLUDING IF**!
>
> I fixed this bug in gPXE once before already (in another spot).  It
> doesn't really amuse me to see more places do this.

You are right, IF is going to stay cleared :(.  We can use Geoff's
original patch with setc.

Stefan


More information about the gPXE-devel mailing list