ia64/xen-unstable

changeset 12386:51be39239c47

[IA64] fix vmx handler fault

This patch fixes the vmx fault handler to set the fault vector
number in r19. The r19 is used to display a fault message in
dispatch_to_fault_handler().

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Fri Nov 10 11:19:51 2006 -0700 (2006-11-10)
parents 6f3b4d6b04f5
children 4816a891b3d6
files xen/arch/ia64/vmx/vmx_ivt.S
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_ivt.S	Fri Nov 10 11:14:51 2006 -0700
     1.2 +++ b/xen/arch/ia64/vmx/vmx_ivt.S	Fri Nov 10 11:19:51 2006 -0700
     1.3 @@ -95,6 +95,7 @@
     1.4  
     1.5  #define VMX_FAULT(n)    \
     1.6  vmx_fault_##n:;          \
     1.7 +    mov r19=n;;          \
     1.8      br.sptk.many dispatch_to_fault_handler;         \
     1.9      ;;                  \
    1.10  
    1.11 @@ -106,7 +107,7 @@ vmx_fault_##n:;          \
    1.12      ;;      \
    1.13      tbit.z p6,p7=r29,IA64_PSR_VM_BIT;       \
    1.14  (p7)br.sptk.many vmx_dispatch_reflection;        \
    1.15 -    VMX_FAULT(n);            \
    1.16 +    br.sptk.many dispatch_to_fault_handler;      \
    1.17  
    1.18  
    1.19  GLOBAL_ENTRY(vmx_panic)