http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1006ff
)
Guard against corruption of top half of %esp during UNDI ISR
author
Michael Brown
<mcb30@etherboot.org>
Wed, 13 Feb 2008 14:58:20 +0000
(14:58 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 13 Feb 2008 14:58:20 +0000
(14:58 +0000)
src/arch/i386/drivers/net/undiisr.S
patch
|
blob
|
history
diff --git
a/src/arch/i386/drivers/net/undiisr.S
b/src/arch/i386/drivers/net/undiisr.S
index
f1c9eb1
..
a6c6c38
100644
(file)
--- a/
src/arch/i386/drivers/net/undiisr.S
+++ b/
src/arch/i386/drivers/net/undiisr.S
@@
-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