core: Preserve IF through call16()
authorH. Peter Anvin <hpa@zytor.com>
Mon, 21 Jun 2010 17:03:03 +0000 (10:03 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 21 Jun 2010 17:03:03 +0000 (10:03 -0700)
commit4e7d836b8cdc0e785ac6e0a78b258c4e193d2222
treec0acaa9605394ce10dbdbea7e7f2be44d607ec07
parentee367a7d8215eea0b59a4f672b8fcfb5544c5f5a
core: Preserve IF through call16()

An intcall should always be invoked with interrupts off, but that is
not necessarily the case for a near or far call; in fact it is quite
the exception.  As such, do not filter IF in our register image, and
for our own internal call16() interface, propagate the protected-mode
IF value into real mode, just as we do for the pm_call interface.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/call16.c
core/callback.inc