artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6a7cb0
)
code is obvious, comments not required
author
deraadt
<deraadt@openbsd.org>
Mon, 21 Jun 2021 14:39:30 +0000
(14:39 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 21 Jun 2021 14:39:30 +0000
(14:39 +0000)
sys/arch/riscv64/riscv64/syscall.c
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/riscv64/syscall.c
b/sys/arch/riscv64/riscv64/syscall.c
index
8fb24ba
..
615d2c9
100644
(file)
--- a/
sys/arch/riscv64/riscv64/syscall.c
+++ b/
sys/arch/riscv64/riscv64/syscall.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: syscall.c,v 1.
9 2021/05/20 04:22:33 drahn Exp $
*/
+/* $OpenBSD: syscall.c,v 1.
10 2021/06/21 14:39:30 deraadt Exp $
*/
/*
* Copyright (c) 2020 Brian Bamsch <bbamsch@google.com>
@@
-52,8
+52,8
@@
svc_handler(trapframe_t *frame)
if (__predict_true(frame->tf_scause & EXCP_INTR))
intr_enable();
- ap = &frame->tf_a[0];
// Pointer to first arg
- code = frame->tf_t[0];
// Syscall code
+ ap = &frame->tf_a[0];
+ code = frame->tf_t[0];
callp = p->p_p->ps_emul->e_sysent;
switch (code) {