2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-22 17:41:55 +00:00

Guard against corruption of top half of %esp during UNDI ISR

This commit is contained in:
Michael Brown 2008-02-13 14:58:20 +00:00
parent c1006ffdb7
commit 385b7a623d

View File

@ -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