mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 09:31:51 +00:00
Guard against corruption of top half of %esp during UNDI ISR
This commit is contained in:
parent
c1006ffdb7
commit
385b7a623d
@ -64,7 +64,10 @@ chain: /* Chain to next handler */
|
||||
lcall *undiisr_next_handler
|
||||
|
||||
exit: /* Restore registers and return */
|
||||
cli
|
||||
popal
|
||||
movzwl %sp, %esp
|
||||
addr32 movl -20(%esp), %esp /* %esp isn't restored by popal */
|
||||
popfl
|
||||
popw %gs
|
||||
popw %fs
|
||||
|
Loading…
Reference in New Issue
Block a user