ia64/xen-unstable

changeset 3171:6a5ee3eb47ac

bitkeeper revision 1.1159.187.23 (41a89e22M2fDCeiojlBqp-8YIh3N9w)

Small vm86 fix. vm86 mode still crashes Linux.
author kaf24@scramble.cl.cam.ac.uk
date Sat Nov 27 15:32:50 2004 +0000 (2004-11-27)
parents 861d3cdc1dc5
children 456cf7ce1617 d6a4c4fad37e
files linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S
line diff
     1.1 --- a/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S	Sat Nov 27 15:03:05 2004 +0000
     1.2 +++ b/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/entry.S	Sat Nov 27 15:32:50 2004 +0000
     1.3 @@ -319,8 +319,9 @@ restore_all:
     1.4  	RESTORE_ALL
     1.5  
     1.6  resume_vm86:
     1.7 +	XEN_UNBLOCK_EVENTS(%esi)
     1.8  	RESTORE_REGS
     1.9 -	pushl %eax,(%esp)
    1.10 +	movl %eax,(%esp)
    1.11  	movl $__HYPERVISOR_switch_vm86,%eax
    1.12  	int $0x82			# Atomically enables events delivery
    1.13  	ud2