Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/linux/linux_sysvec.c
Show First 20 Lines • Show All 359 Lines • ▼ Show 20 Lines | /* glibc start.S registers function pointer in x0 with atexit. */ | ||||
regs->tf_sp = stack; | regs->tf_sp = stack; | ||||
#if 0 /* LINUXTODO: See if this is used. */ | #if 0 /* LINUXTODO: See if this is used. */ | ||||
regs->tf_lr = imgp->entry_addr; | regs->tf_lr = imgp->entry_addr; | ||||
#else | #else | ||||
regs->tf_lr = 0xffffffffffffffff; | regs->tf_lr = 0xffffffffffffffff; | ||||
#endif | #endif | ||||
regs->tf_elr = imgp->entry_addr; | regs->tf_elr = imgp->entry_addr; | ||||
td->td_pcb->pcb_tpidr_el0 = 0; | |||||
td->td_pcb->pcb_tpidrro_el0 = 0; | |||||
WRITE_SPECIALREG(tpidrro_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 | ||||
} | } | ||||
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) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 205 Lines • Show Last 20 Lines |