Home
last modified time | relevance | path

Searched refs:ia64_psr (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/arch/ia64/kernel/
Dbrl_emu.c76 if (ia64_psr(regs)->ri != 1) return rv; in ia64_emulate_brl()
105 ia64_psr(regs)->ri = 0; in ia64_emulate_brl()
121 ia64_psr(regs)->ri = 0; in ia64_emulate_brl()
161 cpl = ia64_psr(regs)->cpl; in ia64_emulate_brl()
187 ia64_psr(regs)->ri = 0; in ia64_emulate_brl()
189 if (ia64_psr(regs)->it == 0) in ia64_emulate_brl()
206 } else if (ia64_psr(regs)->tb) { in ia64_emulate_brl()
219 } else if (ia64_psr(regs)->ss) { in ia64_emulate_brl()
Dtraps.c102 siginfo.si_addr = (void __user *) (regs->cr_iip + ia64_psr(regs)->ri); in ia64_bad_break()
196 struct ia64_psr *psr = ia64_psr(regs); in disabled_fph_fault()
294 if (!fp_fault && (ia64_psr(regs)->ri == 0)) in handle_fpu_swa()
327 current->comm, task_pid_nr(current), regs->cr_iip + ia64_psr(regs)->ri, isr); in handle_fpu_swa()
349 siginfo.si_addr = (void __user *) (regs->cr_iip + ia64_psr(regs)->ri); in handle_fpu_swa()
373 siginfo.si_addr = (void __user *) (regs->cr_iip + ia64_psr(regs)->ri); in handle_fpu_swa()
421 si.si_addr = (void __user *) (regs.cr_iip + ia64_psr(&regs)->ri); in ia64_illegal_op_fault()
451 ia64_psr(&regs)->ed = 1; in ia64_fault()
455 iip = regs.cr_iip + ia64_psr(&regs)->ri; in ia64_fault()
467 regs.cr_iip + ia64_psr(&regs)->ri, regs.pr); in ia64_fault()
[all …]
Dkprobes.c752 ia64_psr(regs)->ss = 0; in resume_execution()
769 ia64_psr(regs)->ri = slot; in prepare_ss()
772 ia64_psr(regs)->ss = 1; in prepare_ss()
777 unsigned int slot = ia64_psr(regs)->ri; in is_ia64_break_inst()
807 ia64_psr(regs)->ss = 0; in pre_kprobes_handler()
876 ia64_psr(regs)->ri = p->ainsn.slot; in pre_kprobes_handler()
879 ia64_psr(regs)->ss = 0; in pre_kprobes_handler()
939 ia64_psr(regs)->ri = ((unsigned long)cur->addr) & 0xf; in kprobe_fault_handler()
1073 ia64_psr(regs)->ri = addr & 0xf; in setjmp_pre_handler()
Dsignal.c83 ia64_psr(&scr->pt)->ri = ip & 0x3; in restore_sigcontext()
99 struct ia64_psr *psr = ia64_psr(&scr->pt); in restore_sigcontext()
281 err |= __put_user(scr->pt.cr_iip + ia64_psr(&scr->pt)->ri, &sc->sc_ip); in setup_sigcontext()
398 ia64_psr(&scr->pt)->ri = 0; /* start executing in first slot */ in setup_frame()
399 ia64_psr(&scr->pt)->be = 0; /* force little-endian byte-order */ in setup_frame()
Dmca_drv.c499 struct ia64_psr *psr1, *psr2; in recover_from_read_error()
524 psr1 =(struct ia64_psr *)&(peidx_minstate_area(peidx)->pmsa_ipsr); in recover_from_read_error()
525 psr2 =(struct ia64_psr *)&(peidx_minstate_area(peidx)->pmsa_xpsr); in recover_from_read_error()
549 psr2 = (struct ia64_psr *)&pmsa->pmsa_ipsr; in recover_from_read_error()
Dptrace.c154 unsigned long w0, ri = ia64_psr(regs)->ri + 1; in ia64_increment_ip()
171 ia64_psr(regs)->ri = ri; in ia64_increment_ip()
177 unsigned long w0, ri = ia64_psr(regs)->ri - 1; in ia64_decrement_ip()
179 if (ia64_psr(regs)->ri == 0) { in ia64_decrement_ip()
192 ia64_psr(regs)->ri = ri; in ia64_decrement_ip()
709 struct ia64_psr *psr = ia64_psr(task_pt_regs(task)); in ia64_flush_fph()
735 struct ia64_psr *psr = ia64_psr(task_pt_regs(task)); in ia64_sync_fph()
1142 struct ia64_psr *child_psr = ia64_psr(task_pt_regs(child)); in user_enable_single_step()
1151 struct ia64_psr *child_psr = ia64_psr(task_pt_regs(child)); in user_enable_block_step()
1160 struct ia64_psr *child_psr = ia64_psr(task_pt_regs(child)); in user_disable_single_step()
Dprocess.c109 unsigned long ip = regs->cr_iip + ia64_psr(regs)->ri; in show_regs()
178 if (!ia64_psr(&scr->pt)->lp) in do_notify_resume_user()
179 ia64_psr(&scr->pt)->lp = 1; in do_notify_resume_user()
563 dst[42] = ip + ia64_psr(pt)->ri; in do_copy_task_regs()
Dperfmon.c4034 ia64_psr(regs)->pp = 0; in pfm_stop()
4049 ia64_psr(regs)->up = 0; in pfm_stop()
4056 ia64_psr(tregs)->up = 0; in pfm_stop()
4099 ia64_psr(regs)->pp = 1; in pfm_start()
4130 ia64_psr(regs)->up = 1; in pfm_start()
4144 ia64_psr(tregs)->up = 1; in pfm_start()
4363 ia64_psr(regs)->sp = 0; in pfm_context_load()
4412 ia64_psr(regs)->up = ia64_psr(regs)->pp = 0; in pfm_context_load()
4536 ia64_psr(regs)->sp = 1; in pfm_context_unload()
4638 BUG_ON(ia64_psr(regs)->up); in pfm_exit_thread()
[all …]
Dunaligned.c1294 struct ia64_psr *ipsr = ia64_psr(regs); in ia64_handle_unaligned()
1306 if (ia64_psr(regs)->be) { in ia64_handle_unaligned()
1319 eh = search_exception_tables(regs->cr_iip + ia64_psr(regs)->ri); in ia64_handle_unaligned()
Dmca.c903 if (ia64_psr(regs)->ic) { in finish_pt_regs()
930 if (ia64_psr(regs)->bn) in finish_pt_regs()
998 if (ia64_psr(regs)->dt == 0) { in ia64_mca_modify_original_stack()
1010 if (ia64_psr(regs)->rt == 0) { in ia64_mca_modify_original_stack()
/linux-2.6.39/arch/ia64/include/asm/
Dptrace.h241 # define instruction_pointer(regs) ((regs)->cr_iip + ia64_psr(regs)->ri)
262 # define ia64_psr(regs) ((struct ia64_psr *) &(regs)->cr_ipsr) macro
263 # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0)
Dsystem.h159 ia64_psr(task_pt_regs(next))->dfh = !ia64_is_local_fpu_owner(next); \
171 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \
172 ia64_psr(task_pt_regs(prev))->mfh = 0; \
Dprocessor.h84 struct ia64_psr { struct
370 _regs->cr_iip + ia64_psr(_regs)->ri; \
Duaccess.h359 e = search_exception_tables(regs->cr_iip + ia64_psr(regs)->ri); in ia64_done_with_exception()
/linux-2.6.39/arch/ia64/kvm/
Dvcpu.c128 static int mm_switch_action(struct ia64_psr opsr, struct ia64_psr npsr) in mm_switch_action()
133 void switch_mm_mode(struct kvm_vcpu *vcpu, struct ia64_psr old_psr, in switch_mm_mode()
134 struct ia64_psr new_psr) in switch_mm_mode()
184 void check_mm_mode_switch(struct kvm_vcpu *vcpu, struct ia64_psr old_psr, in check_mm_mode_switch()
185 struct ia64_psr new_psr) in check_mm_mode_switch()
1080 struct ia64_psr vpsr; in vcpu_tpa()
1087 vpsr = *(struct ia64_psr *)&VCPU(vcpu, vpsr); in vcpu_tpa()
1631 struct ia64_psr old_psr, new_psr; in vcpu_set_psr()
1633 old_psr = *(struct ia64_psr *)&VCPU(vcpu, vpsr); in vcpu_set_psr()
1658 new_psr = *(struct ia64_psr *)&VCPU(vcpu, vpsr); in vcpu_set_psr()
[all …]
Dprocess.c497 if (!fp_fault && (ia64_psr(regs)->ri == 0)) in vmm_handle_fpu_swa()
657 if (ia64_psr(regs)->cpl == 0) { in kvm_ia64_handle_break()
727 struct ia64_psr vpsr; in vhpi_detection()
729 vpsr = *(struct ia64_psr *)&VCPU(vcpu, vpsr); in vhpi_detection()
Dvtlb.c95 struct ia64_psr vpsr; in vhpt_enabled()
97 vpsr = *(struct ia64_psr *)&VCPU(vcpu, vpsr); in vhpt_enabled()
Dmmio.c185 slot = ((struct ia64_psr *)&(regs->cr_ipsr))->ri; in emulate_io_inst()
/linux-2.6.39/arch/ia64/include/asm/xen/
Devents.h36 return !(ia64_psr(regs)->i); in xen_irqs_disabled()
/linux-2.6.39/arch/ia64/mm/
Dfault.c218 ia64_psr(regs)->ed = 1; in ia64_do_page_fault()
241 ia64_psr(regs)->ed = 1; in ia64_do_page_fault()
Dextable.c114 ia64_psr(regs)->ri = fix & 0x3; /* set continuation slot number */ in ia64_handle_exception()