ia64/xen-unstable

changeset 10669:9ec05cd1e873

[IA64] add IA64_MCA_CPU_INIT_STACK_OFFSET

add IA64_MCA_CPU_INIT_STACK_OFFSET which is used in
MINSTATE_START_SAVE_MIN_PHYS

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Thu Jul 06 09:51:27 2006 -0600 (2006-07-06)
parents f24993f27cc4
children b58e767fafb3
files xen/arch/ia64/asm-offsets.c
line diff
     1.1 --- a/xen/arch/ia64/asm-offsets.c	Thu Jul 06 08:30:17 2006 -0600
     1.2 +++ b/xen/arch/ia64/asm-offsets.c	Thu Jul 06 09:51:27 2006 -0600
     1.3 @@ -8,6 +8,7 @@
     1.4  #include <xen/sched.h>
     1.5  #include <asm/processor.h>
     1.6  #include <asm/ptrace.h>
     1.7 +#include <asm/mca.h>
     1.8  #include <public/xen.h>
     1.9  #include <asm/tlb.h>
    1.10  #include <asm/regs.h>
    1.11 @@ -33,6 +34,9 @@ void foo(void)
    1.12  	DEFINE(SHARED_INFO_SIZE, sizeof (struct shared_info));
    1.13  
    1.14  	BLANK();
    1.15 +	DEFINE(IA64_MCA_CPU_INIT_STACK_OFFSET, offsetof (struct ia64_mca_cpu, init_stack));
    1.16 +
    1.17 +	BLANK();
    1.18  #ifdef   VTI_DEBUG
    1.19  	DEFINE(IVT_CUR_OFS, offsetof(struct vcpu, arch.arch_vmx.ivt_current));
    1.20  	DEFINE(IVT_DBG_OFS, offsetof(struct vcpu, arch.arch_vmx.ivt_debug));