Home
last modified time | relevance | path

Searched refs:tf_special (Results 1 – 17 of 17) sorted by relevance

/trueos/sys/ia64/ia64/
HDtrap.c258 printf(" cr.iip = 0x%lx\n", tf->tf_special.iip); in printtrap()
259 printf(" cr.ipsr = 0x%lx (", tf->tf_special.psr); in printtrap()
260 printpsr(tf->tf_special.psr); in printtrap()
262 printf(" cr.isr = 0x%lx (", tf->tf_special.isr); in printtrap()
263 printisr(tf->tf_special.isr); in printtrap()
265 printf(" cr.ifa = 0x%lx\n", tf->tf_special.ifa); in printtrap()
266 if (tf->tf_special.psr & IA64_PSR_IS) { in printtrap()
293 if (!asm_decode(tf->tf_special.iip, &bundle)) in trap_decode_break()
296 slot = ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_0) ? 0 : in trap_decode_break()
297 ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_1) ? 1 : 2; in trap_decode_break()
[all …]
HDvm_machdep.c183 tf->tf_special.ndirty = 0; in cpu_set_upcall()
184 tf->tf_special.bspstore &= ~0x1ffUL; in cpu_set_upcall()
213 ndirty = tf->tf_special.ndirty + (tf->tf_special.bspstore & 0x1ffUL); in cpu_set_upcall_kse()
221 bzero(&tf->tf_special, sizeof(tf->tf_special)); in cpu_set_upcall_kse()
222 tf->tf_special.iip = fuword(&fd->func); in cpu_set_upcall_kse()
223 tf->tf_special.gp = fuword(&fd->gp); in cpu_set_upcall_kse()
224 tf->tf_special.sp = (sp + stack->ss_size - 16) & ~15; in cpu_set_upcall_kse()
225 tf->tf_special.rsc = 0xf; in cpu_set_upcall_kse()
226 tf->tf_special.fpsr = IA64_FPSR_DEFAULT; in cpu_set_upcall_kse()
227 tf->tf_special.psr = IA64_PSR_IC | IA64_PSR_I | IA64_PSR_IT | in cpu_set_upcall_kse()
[all …]
HDemulate.c46 if (!asm_decode(tf->tf_special.iip, &bundle)) in ia64_emulate()
49 slot = ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_0) ? 0 : in ia64_emulate()
50 ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_1) ? 1 : 2; in ia64_emulate()
62 if (!(tf->tf_special.pr & (1UL << i->i_oper[0].o_value))) { in ia64_emulate()
63 tf->tf_special.psr &= ~IA64_PSR_RI; in ia64_emulate()
64 tf->tf_special.iip += 16; in ia64_emulate()
72 tf->tf_special.psr &= ~IA64_PSR_RI; in ia64_emulate()
73 tf->tf_special.iip += i->i_oper[1].o_value; in ia64_emulate()
HDdb_machdep.c83 {"cr.ifs", DB_OFFSET(tf_special.cfm), db_frame},
84 {"cr.ifa", DB_OFFSET(tf_special.ifa), db_frame},
85 {"ar.bspstore", DB_OFFSET(tf_special.bspstore), db_frame},
86 {"ndirty", DB_OFFSET(tf_special.ndirty), db_frame},
87 {"rp", DB_OFFSET(tf_special.rp), db_frame},
88 {"ar.pfs", DB_OFFSET(tf_special.pfs), db_frame},
89 {"psr", DB_OFFSET(tf_special.psr), db_frame},
90 {"cr.isr", DB_OFFSET(tf_special.isr), db_frame},
91 {"pr", DB_OFFSET(tf_special.pr), db_frame},
92 {"ar.rsc", DB_OFFSET(tf_special.rsc), db_frame},
[all …]
HDmachdep.c462 old->td_frame->tf_special.psr |= IA64_PSR_DFH; in cpu_switch()
484 new->td_frame->tf_special.psr &= ~IA64_PSR_DFH; in cpu_switch()
577 kdb_frame->tf_special.ifa == IA64_FIXED_BREAK) in kdb_cpu_trap()
578 kdb_frame->tf_special.psr += IA64_PSR_RI_1; in kdb_cpu_trap()
1014 sp = tf->tf_special.sp; in sendsig()
1052 sf.sf_si.si_addr = (void*)tf->tf_special.ifa; in sendsig()
1073 tf->tf_special.psr &= ~IA64_PSR_RI; in sendsig()
1074 tf->tf_special.iip = ia64_get_k5() + in sendsig()
1077 tf->tf_special.iip = ia64_get_k5() + in sendsig()
1089 tf->tf_special.sp = (u_int64_t)sfp - 16; in sendsig()
[all …]
HDunaligned.c262 slot = ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_0) ? 0 : in unaligned_fixup()
263 ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_1) ? 1 : 2; in unaligned_fixup()
268 tf->tf_special.ifa, tf->tf_special.iip + slot); in unaligned_fixup()
281 if ((tf->tf_special.psr & IA64_PSR_AC) && !ia64_unaligned_test) in unaligned_fixup()
284 if (!asm_decode(tf->tf_special.iip, &bundle)) in unaligned_fixup()
289 error = fixup(bundle.b_inst + slot, &context, tf->tf_special.ifa); in unaligned_fixup()
292 asm_print_inst(&bundle, slot, tf->tf_special.iip); in unaligned_fixup()
301 tf->tf_special.psr &= ~IA64_PSR_RI; in unaligned_fixup()
302 tf->tf_special.iip += 16; in unaligned_fixup()
304 tf->tf_special.psr += IA64_PSR_RI_1; in unaligned_fixup()
HDunwind.c167 val = tf->tf_special.pfs; in unw_copyin_from_frame()
169 val = tf->tf_special.pr; in unw_copyin_from_frame()
171 val = tf->tf_special.rnat; in unw_copyin_from_frame()
173 val = tf->tf_special.unat; in unw_copyin_from_frame()
177 val = tf->tf_special.gp; in unw_copyin_from_frame()
179 val = tf->tf_special.sp; in unw_copyin_from_frame()
181 val = tf->tf_special.tp; in unw_copyin_from_frame()
193 val = tf->tf_special.rp; in unw_copyin_from_frame()
327 bsp = tf->tf_special.bspstore + tf->tf_special.ndirty; in unw_create_from_frame()
328 bsp = ia64_bsp_adjust(bsp, -IA64_CFM_SOF(tf->tf_special.cfm)); in unw_create_from_frame()
[all …]
HDptrace_machdep.c48 if (data >= 0 && data < (tf->tf_special.ndirty >> 3)) { in cpu_ptrace()
50 (tf->tf_special.bspstore & 0x1ffUL)); in cpu_ptrace()
55 if (data >= 0 && data < (tf->tf_special.ndirty >> 3)) { in cpu_ptrace()
57 (tf->tf_special.bspstore & 0x1ffUL)); in cpu_ptrace()
HDhighfp.c76 td->td_frame->tf_special.psr |= IA64_PSR_DFH; in ia64_highfp_drop()
108 td1->td_frame->tf_special.psr |= IA64_PSR_DFH; in ia64_highfp_enable()
120 tf->tf_special.psr &= ~IA64_PSR_MFH; in ia64_highfp_enable()
122 tf->tf_special.psr &= ~IA64_PSR_DFH; in ia64_highfp_enable()
149 td->td_frame->tf_special.psr |= IA64_PSR_DFH; in ia64_highfp_save()
170 td->td_frame->tf_special.psr |= IA64_PSR_DFH; in ia64_highfp_save_ipi()
HDgdb_machdep.c170 if (slot >= (kdb_frame->tf_special.ndirty >> 3)) { in gdb_cpu_query()
179 bspstore = kdb_frame->tf_special.bspstore; in gdb_cpu_query()
HDelf_machdep.c126 ia64_flush_dirty(td, &td->td_frame->tf_special); in elf64_dump_thread()
/trueos/sys/ia64/ia32/
HDia32_trap.c73 tf->tf_special.iip -= 2; in ia32_set_syscall_retval()
105 params = (caddr_t)(tf->tf_special.sp & ((1L<<32)-1)) + in ia32_fetch_syscall_args()
171 ksi.ksi_addr = (void *)tf->tf_special.iip; in ia32_syscall()
206 switch ((tf->tf_special.isr >> 16) & 0xffff) { in ia32_trap()
230 ucode = (tf->tf_special.isr & 0xffff) + BUS_SEGM_FAULT; in ia32_trap()
238 ucode = tf->tf_special.ifa; /* VA */ in ia32_trap()
257 if (((tf->tf_special.isr >> 16) & 0xffff) == 0x80) { in ia32_trap()
261 ucode = (tf->tf_special.isr >> 16) & 0xffff; in ia32_trap()
HDia32_signal.c150 tf->tf_special.ndirty = 0; in ia32_setregs()
152 tf->tf_special.psr |= IA64_PSR_IS; in ia32_setregs()
153 tf->tf_special.sp = stack; in ia32_setregs()
156 tf->tf_special.bspstore = (sv->sv_psstrings - sz_ia32_sigcode - in ia32_setregs()
/trueos/sys/ia64/include/
HDcpu.h47 #define TRAPF_PC(tf) ((tf)->tf_special.iip)
48 #define TRAPF_CPL(tf) ((tf)->tf_special.psr & IA64_PSR_CPL)
65 #define cpu_getstack(td) ((td)->td_frame->tf_special.sp)
HDkdb.h43 kdb_frame->tf_special.psr &= ~IA64_PSR_SS; in kdb_cpu_clear_singlestep()
49 kdb_frame->tf_special.psr |= IA64_PSR_SS; in kdb_cpu_set_singlestep()
HDframe.h43 struct _special tf_special; member
/trueos/gnu/usr.bin/gdb/kgdb/
HDtrgt_ia64.c169 #define SPECIAL(x) offsetof(struct trapframe, tf_special) \