Home
last modified time | relevance | path

Searched refs:gp_regs (Results 1 – 25 of 32) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/powerpc/signal/
Dsigfuz.c119 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler()
122 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
125 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
132 ucp->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler()
135 ucp->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
138 ucp->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
153 ucp->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/
Dmce.c160 gp_regs_t *gp_regs = get_gpregs_ctx(cm_get_context(NON_SECURE)); in mce_command_handler() local
165 assert(gp_regs != NULL); in mce_command_handler()
184 arg3 = read_ctx_reg(gp_regs, CTX_GPREG_X4); in mce_command_handler()
185 arg4 = read_ctx_reg(gp_regs, CTX_GPREG_X5); in mce_command_handler()
186 arg5 = read_ctx_reg(gp_regs, CTX_GPREG_X6); in mce_command_handler()
192 write_ctx_reg(gp_regs, CTX_GPREG_X4, (0ULL)); in mce_command_handler()
193 write_ctx_reg(gp_regs, CTX_GPREG_X5, (0ULL)); in mce_command_handler()
194 write_ctx_reg(gp_regs, CTX_GPREG_X6, (0ULL)); in mce_command_handler()
207 write_ctx_reg(gp_regs, CTX_GPREG_X1, (ret64)); in mce_command_handler()
208 write_ctx_reg(gp_regs, CTX_GPREG_X2, (ret64)); in mce_command_handler()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/ia64/
Dffi.c57 UINT64 gp_regs[8]; /* Contents of 8 gp arg registers. */ member
232 cif->bytes += offsetof(struct ia64_args, gp_regs[0]); in ffi_prep_cif_machdep()
299 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
302 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
305 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
308 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
311 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
314 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
322 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
[all …]
/external/libffi/src/ia64/
Dffi.c57 UINT64 gp_regs[8]; /* Contents of 8 gp arg registers. */ member
232 cif->bytes += offsetof(struct ia64_args, gp_regs[0]); in ffi_prep_cif_machdep_core()
315 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
321 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
324 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
327 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
330 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
334 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
338 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
[all …]
/external/arm-trusted-firmware/services/spd/tlkd/
Dtlkd_pm.c42 gp_regs_t *gp_regs; in cpu_suspend_handler() local
54 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_suspend_handler()
55 write_ctx_reg(gp_regs, CTX_GPREG_X0, TLK_SYSTEM_SUSPEND); in cpu_suspend_handler()
74 gp_regs_t *gp_regs; in cpu_resume_handler() local
87 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in cpu_resume_handler()
88 write_ctx_reg(gp_regs, CTX_GPREG_X0, TLK_SYSTEM_RESUME); in cpu_resume_handler()
Dtlkd_main.c208 gp_regs_t *gp_regs; in tlkd_smc_handler() local
330 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); in tlkd_smc_handler()
331 write_ctx_reg(gp_regs, CTX_GPREG_X4, (uint32_t)x2); in tlkd_smc_handler()
332 write_ctx_reg(gp_regs, CTX_GPREG_X5, (uint32_t)(x2 >> 32)); in tlkd_smc_handler()
333 write_ctx_reg(gp_regs, CTX_GPREG_X6, (uint32_t)x3); in tlkd_smc_handler()
334 write_ctx_reg(gp_regs, CTX_GPREG_X7, (uint32_t)(x3 >> 32)); in tlkd_smc_handler()
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-trap.c67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler()
123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler()
141 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
171 ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
Dtm-signal-context-chk-gpr.c57 fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); in signal_usr1()
61 R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); in signal_usr1()
67 fail = (tm_ucp->uc_mcontext.gp_regs[R14 + i] != gprs[NV_GPR_REGS + i]); in signal_usr1()
71 R14 + i, tm_ucp->uc_mcontext.gp_regs[R14 + i], gprs[NV_GPR_REGS + i]); in signal_usr1()
Dtm-signal-msr-resv.c41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1()
/external/llvm-project/lldb/tools/darwin-threads/
Dexamine-threads.c201 x86_thread_state_t gp_regs; in get_current_pc() local
203 kr = thread_get_state(thread, x86_THREAD_STATE, (thread_state_t)&gp_regs, in get_current_pc()
210 if (gp_regs.tsh.flavor == x86_THREAD_STATE64) { in get_current_pc()
212 return gp_regs.uts.ts64.__rip; in get_current_pc()
215 return gp_regs.uts.ts32.__eip; in get_current_pc()
220 arm_thread_state_t gp_regs; in get_current_pc() local
222 kr = thread_get_state(thread, ARM_THREAD_STATE, (thread_state_t)&gp_regs, in get_current_pc()
229 return gp_regs.__pc; in get_current_pc()
233 arm_thread_state64_t gp_regs; in get_current_pc() local
235 kr = thread_get_state(thread, ARM_THREAD_STATE64, (thread_state_t)&gp_regs, in get_current_pc()
[all …]
/external/google-breakpad/src/client/linux/dump_writer_common/
Dthread_info.cc275 void ThreadInfo::GetGeneralPurposeRegisters(void** gp_regs, size_t* size) { in GetGeneralPurposeRegisters() argument
276 assert(gp_regs || size); in GetGeneralPurposeRegisters()
278 if (gp_regs) in GetGeneralPurposeRegisters()
279 *gp_regs = mcontext.gregs; in GetGeneralPurposeRegisters()
283 if (gp_regs) in GetGeneralPurposeRegisters()
284 *gp_regs = &regs; in GetGeneralPurposeRegisters()
Dthread_info.h83 void GetGeneralPurposeRegisters(void** gp_regs, size_t* size);
/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dutils.h105 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
106 #define UCONTEXT_MSR(UC) (UC)->uc_mcontext.gp_regs[PT_MSR]
/external/arm-trusted-firmware/lib/el3_runtime/aarch64/
Dcontext_mgmt.c70 gp_regs_t *gp_regs; in cm_setup_context() local
307 gp_regs = get_gpregs_ctx(ctx); in cm_setup_context()
308 memcpy(gp_regs, (void *)&ep->args, sizeof(aapcs64_params_t)); in cm_setup_context()
/external/arm-trusted-firmware/bl31/aarch64/
Dcrash_reporting.S34 gp_regs: label
221 adr x6, gp_regs
369 adr x6, gp_regs
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/
Dcopy_first_unaligned.c22 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
Dalignment_handler.c67 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()
/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c14 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
/external/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc53 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter()
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc53 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter()
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc57 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter()
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Dexamine_stack.cc57 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc57 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter()
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc65 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter()
/external/arm-trusted-firmware/include/lib/el3_runtime/aarch64/
Dcontext.h365 DEFINE_REG_STRUCT(gp_regs, CTX_GPREG_ALL);

12