Changeset View
Changeset View
Standalone View
Standalone View
head/sys/riscv/riscv/machdep.c
Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Lines | |||||
ptrace_clear_single_step(struct thread *td) | ptrace_clear_single_step(struct thread *td) | ||||
{ | { | ||||
/* TODO; */ | /* TODO; */ | ||||
return (EOPNOTSUPP); | return (EOPNOTSUPP); | ||||
} | } | ||||
void | void | ||||
exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) | exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) | ||||
{ | { | ||||
struct trapframe *tf; | struct trapframe *tf; | ||||
struct pcb *pcb; | struct pcb *pcb; | ||||
tf = td->td_frame; | tf = td->td_frame; | ||||
pcb = td->td_pcb; | pcb = td->td_pcb; | ||||
memset(tf, 0, sizeof(struct trapframe)); | memset(tf, 0, sizeof(struct trapframe)); | ||||
▲ Show 20 Lines • Show All 627 Lines • Show Last 20 Lines |