ia64/xen-unstable

changeset 13064:cf23494af72c

[IA64] Reflect general exceptions

General exceptions in the domU with isr.code > 0x20 are now reflected
to the domU.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
author awilliam@xenbuild2.aw
date Mon Dec 18 09:48:23 2006 -0700 (2006-12-18)
parents 41d9f00140c5
children 893b786cc66a
files xen/arch/ia64/xen/faults.c xen/arch/ia64/xen/ivt.S
line diff
     1.1 --- a/xen/arch/ia64/xen/faults.c	Fri Dec 15 10:49:11 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/faults.c	Mon Dec 18 09:48:23 2006 -0700
     1.3 @@ -605,6 +605,9 @@ ia64_handle_reflection(unsigned long ifa
     1.4  		check_lazy_cover = 1;
     1.5  		vector = IA64_DATA_ACCESS_RIGHTS_VECTOR;
     1.6  		break;
     1.7 +	case 24:
     1.8 +		vector = IA64_GENEX_VECTOR;
     1.9 +		break;
    1.10  	case 25:
    1.11  		vector = IA64_DISABLED_FPREG_VECTOR;
    1.12  		break;
     2.1 --- a/xen/arch/ia64/xen/ivt.S	Fri Dec 15 10:49:11 2006 -0700
     2.2 +++ b/xen/arch/ia64/xen/ivt.S	Mon Dec 18 09:48:23 2006 -0700
     2.3 @@ -1737,6 +1737,8 @@ ENTRY(general_exception)
     2.4  #ifdef XEN
     2.5  	cmp4.ge p6,p0=0x20,r16
     2.6  (p6)	br.sptk.many dispatch_privop_fault
     2.7 +	;;
     2.8 +	FAULT_OR_REFLECT(24)
     2.9  #else
    2.10  	cmp4.eq p6,p0=0,r16
    2.11  (p6)	br.sptk.many dispatch_illegal_op_fault