qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] extboot: properly set int 0x13 return value


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH] extboot: properly set int 0x13 return value
Date: Mon, 01 Dec 2008 14:20:43 -0600
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Glauber Costa wrote:
Callers of int 0x13 usually rely on the carry flag being
clear/set to indicate the status of the interrupt execution.

However, our current code clear or set the flags register,
which is totally useless. Whichever value it has, will
be overwritten by the flags value _before_ the interrupt, due to
the iret instruction.

This fixes a bug that prevents slackware (and possibly win2k, untested)
to boot.

Good catch!

Signed-off-by: Glauber Costa <address@hidden>


Acked-by: Anthony Liguori <address@hidden>

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]