mirror of https://github.com/ipxe/ipxe.git
Guard against corruption of top half of %esp during UNDI ISR
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