shithub: riscv

Download patch

ref: 1aa8352b43390f548da154b82b0b50e295d9c03f
parent: 2099e63a2fc4a1f7c5167ffbfe6d9d27cd5656d1
author: moody <moody@sakuya>
date: Sat May 24 17:51:45 EDT 2025

riscv64: update to syscall and note handling refactor

Not all implemented but fixes compilation

--- a/sys/src/9/riscv64/fns.h
+++ b/sys/src/9/riscv64/fns.h
@@ -108,7 +108,6 @@
 extern void procrestore(Proc *);
 extern void trap(Ureg*);
 extern void syscall(Ureg*);
-extern void noted(Ureg*, ulong);
 extern void faultarm64(Ureg*);
 extern void dumpstack(void);
 extern void dumpregs(Ureg*);
--- a/sys/src/9/riscv64/trap.c
+++ b/sys/src/9/riscv64/trap.c
@@ -4,7 +4,6 @@
 #include "dat.h"
 #include "fns.h"
 #include "../port/error.h"
-#include "../port/systab.h"
 
 #include <tos.h>
 #include "ureg.h"
--