david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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
1 changed files with 3 additions and 0 deletions

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