mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
Guard against corruption of top half of %esp during UNDI ISR
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user