ia64/xen-unstable

changeset 4350:88a61978099e

bitkeeper revision 1.1236.1.139 (4244ed8av78xbyCpls2_iCEIZlMdFQ)

Fix failsafe handling on x86/32 (failsafe callback address was not
read correctly causing crash when booting 2.4 guests).
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Mar 26 00:58:38 2005 +0000 (2005-03-26)
parents baa05afd394f
children e7eebc26a06f
files xen/arch/x86/x86_32/entry.S
line diff
     1.1 --- a/xen/arch/x86/x86_32/entry.S	Fri Mar 25 23:44:15 2005 +0000
     1.2 +++ b/xen/arch/x86/x86_32/entry.S	Sat Mar 26 00:58:38 2005 +0000
     1.3 @@ -218,6 +218,7 @@ failsafe_callback:
     1.4          GET_CURRENT(%ebx)
     1.5          leal  EDOMAIN_trap_bounce(%ebx),%edx
     1.6          movl  EDOMAIN_failsafe_addr(%ebx),%eax
     1.7 +        movl  %eax,TRAPBOUNCE_eip(%edx)
     1.8          movl  EDOMAIN_failsafe_sel(%ebx),%eax
     1.9          movw  %ax,TRAPBOUNCE_cs(%edx)
    1.10          movw  $TBF_FAILSAFE,TRAPBOUNCE_flags(%edx)