Lines Matching full:mca
4 * Purpose: assembly portion of the IA64 MCA handling
22 * Added per cpu MCA/INIT stack save areas.
25 * Use per cpu MCA/INIT stacks for all data.
33 #include <asm/mca.h>
142 mov r3=IA64_MCA_CPU_MCA_STACK_OFFSET // use the MCA stack
144 mov r19=1 // All MCA events are treated as monarch (for now)
149 // Using MCA stack, struct ia64_sal_os_state, variable proc_state_param
234 // switch to per cpu MCA stack
235 mov r3=IA64_MCA_CPU_MCA_STACK_OFFSET // use the MCA stack
241 mov r3=IA64_MCA_CPU_MCA_STACK_OFFSET // use the MCA stack
255 // data. To get a clean termination when backtracing the C MCA/INIT
284 alloc r14=ar.pfs,0,0,0,0 // remove the MCA handler frame
285 mov r3=IA64_MCA_CPU_MCA_STACK_OFFSET // use the MCA stack
290 mov r3=IA64_MCA_CPU_MCA_STACK_OFFSET // use the MCA stack
364 // data. To get a clean termination when backtracing the C MCA/INIT
425 // struct ia64_sal_os_state in mca.h.
431 // value of cold boot (MCA) or warm boot (INIT) and return to the same
440 // r11 MCA - rendevzous state, INIT - reason code
452 // MCA/INIT occurred.
464 add temp1=temp2, regs // struct ia64_sal_os_state on MCA or INIT stack
465 add temp2=temp2, ms // struct ia64_sal_os_state+8 on MCA or INIT stack
706 // ia64_sal_os_state in mca.h.
904 // Switch to the MCA/INIT stack.
910 // to use the MCA/INIT stack.
923 add temp2=temp2, temp1 // struct ia64_sal_os_state.pal_min_state on MCA or INIT stack
924 add regs=regs, temp1 // struct pt_regs on MCA or INIT stack
937 mov ar.bspstore=temp4 // switch RBS to MCA/INIT stack
958 // On entry RBS is on the MCA/INIT stack, this routine switches RBS
966 // MCA/INIT stack in ia64_pt_regs_save(). Restore the dirty registers
984 add regs=regs, temp2 // struct pt_regs on MCA or INIT stack
1013 // MCA/INIT stack.
1025 add r12=temp1, temp3 // kernel stack pointer on MCA/INIT stack
1026 add r13=temp1, r3 // set current to start of MCA/INIT stack
1027 add r20=temp1, r3 // physical start of MCA/INIT stack
1034 /* Wire IA64_TR_CURRENT_STACK to the MCA/INIT handler stack. To avoid
1050 shr.u r16=r20,IA64_GRANULE_SHIFT // r20 = physical start of MCA/INIT stack
1080 // Support function for mca.c, it is here to avoid using inline asm. Given the
1101 // Set psr.mc bit to mask MCA/INIT.