Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/linux/linux_sysvec.c
Show First 20 Lines • Show All 367 Lines • ▼ Show 20 Lines | #endif | ||||
td->td_pcb->pcb_tpidr_el0 = 0; | td->td_pcb->pcb_tpidr_el0 = 0; | ||||
td->td_pcb->pcb_tpidrro_el0 = 0; | td->td_pcb->pcb_tpidrro_el0 = 0; | ||||
WRITE_SPECIALREG(tpidrro_el0, 0); | WRITE_SPECIALREG(tpidrro_el0, 0); | ||||
WRITE_SPECIALREG(tpidr_el0, 0); | WRITE_SPECIALREG(tpidr_el0, 0); | ||||
#ifdef VFP | #ifdef VFP | ||||
vfp_reset_state(td, td->td_pcb); | vfp_reset_state(td, td->td_pcb); | ||||
#endif | #endif | ||||
/* | |||||
* Clear debug register state. It is not applicable to the new process. | |||||
*/ | |||||
bzero(&pcb->pcb_dbg_regs, sizeof(pcb->pcb_dbg_regs)); | |||||
} | } | ||||
int | int | ||||
linux_rt_sigreturn(struct thread *td, struct linux_rt_sigreturn_args *args) | linux_rt_sigreturn(struct thread *td, struct linux_rt_sigreturn_args *args) | ||||
{ | { | ||||
/* LINUXTODO: implement */ | /* LINUXTODO: implement */ | ||||
LIN_SDT_PROBE0(sysvec, linux_rt_sigreturn, todo); | LIN_SDT_PROBE0(sysvec, linux_rt_sigreturn, todo); | ||||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |