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
|
lcall *undiisr_next_handler
|
||||||
|
|
||||||
exit: /* Restore registers and return */
|
exit: /* Restore registers and return */
|
||||||
|
cli
|
||||||
popal
|
popal
|
||||||
|
movzwl %sp, %esp
|
||||||
|
addr32 movl -20(%esp), %esp /* %esp isn't restored by popal */
|
||||||
popfl
|
popfl
|
||||||
popw %gs
|
popw %gs
|
||||||
popw %fs
|
popw %fs
|
||||||
|
|
Loading…
Reference in New Issue