ia64/xen-unstable
changeset 1374:3018764ad110
bitkeeper revision 1.891.1.14 (40a323c0nvrlljcyaqYaEcR8VMyfOQ)
Forcibly reenable interrupts during exit-to-guest epilogue code in Xen.
Forcibly reenable interrupts during exit-to-guest epilogue code in Xen.
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Thu May 13 07:29:04 2004 +0000 (2004-05-13) |
parents | b38d20334c58 |
children | 623355fbbab9 |
files | xen/arch/i386/entry.S |
line diff
1.1 --- a/xen/arch/i386/entry.S Wed May 12 16:24:54 2004 +0000 1.2 +++ b/xen/arch/i386/entry.S Thu May 13 07:29:04 2004 +0000 1.3 @@ -245,6 +245,10 @@ restore_all_guest: 1.4 movsl 1.5 movsl 1.6 movsl 1.7 + # Third, reenable interrupts. They will definitely be reenabled by IRET 1.8 + # in any case. They could be disabled here if we are returning from an 1.9 + # interrupt. We need interrupts enabled if we take a fault. 1.10 + sti 1.11 # Finally, restore guest registers -- faults will cause failsafe 1.12 popl %ebx 1.13 popl %ecx