diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-15 10:33:02 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-15 10:33:02 -0700 |
commit | 3f2c5c69f6ad7968818c9cee8c337e4200587caf (patch) | |
tree | 2b10ea7d9f0b9fc3b13e614f47ae2b85b5322e64 /core/ui.inc | |
parent | 4519c2a7adde441ef01bdd66864269419d703af8 (diff) | |
download | syslinux-3f2c5c69f6ad7968818c9cee8c337e4200587caf.tar.gz |
core: make the intcall/farcall/cfarcall routines reentrant
Make the intcall/farcall/cfarcall routines reentrant, by dropping the
use of RealModeEAX and by saving/restoring Com32SysSP on the PM stack.
Furthermore, drop the saving and restoring of EAX, EDX, ECX; trying to
save all registers complicates the code, and those registers will be
assumed clobbered by the caller anyway. Might as well save a little
bit of stack space, too.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/ui.inc')
0 files changed, 0 insertions, 0 deletions