Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/syscall.c
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | cpu_fetch_syscall_args(struct thread *td) | ||||
return (error); | return (error); | ||||
} | } | ||||
#include "../../kern/subr_syscall.c" | #include "../../kern/subr_syscall.c" | ||||
static void | static void | ||||
syscall(struct thread *td, struct trapframe *frame) | syscall(struct thread *td, struct trapframe *frame) | ||||
{ | { | ||||
int error; | |||||
td->td_sa.nap = 4; | td->td_sa.nap = 4; | ||||
kib: Remove this blank line as well. | |||||
error = syscallenter(td); | syscallenter(td); | ||||
KASSERT(error != 0 || td->td_ar == NULL, | syscallret(td); | ||||
("returning from syscall with td_ar set!")); | |||||
syscallret(td, error); | |||||
} | } | ||||
void | void | ||||
swi_handler(struct trapframe *frame) | swi_handler(struct trapframe *frame) | ||||
{ | { | ||||
struct thread *td = curthread; | struct thread *td = curthread; | ||||
td->td_frame = frame; | td->td_frame = frame; | ||||
Show All 17 Lines |
Remove this blank line as well.