mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-29 12:49:49 +00:00
undiisr.S: save/restore upper half of %eflags
Since we don't know what the UNDI code does, it is safest to save/restore %eflags even though the lower half of %eflags is automatically saved by the interrupt itself.
This commit is contained in:
parent
621c2886aa
commit
9aec835541
@ -23,6 +23,7 @@ undiisr:
|
||||
pushw %es
|
||||
pushw %fs
|
||||
pushw %gs
|
||||
pushfl
|
||||
pushal
|
||||
|
||||
/* Set up our segment registers */
|
||||
@ -64,6 +65,7 @@ chain: /* Chain to next handler */
|
||||
|
||||
exit: /* Restore registers and return */
|
||||
popal
|
||||
popfl
|
||||
popw %gs
|
||||
popw %fs
|
||||
popw %es
|
||||
|
Loading…
Reference in New Issue
Block a user