shithub: riscv

Download patch

ref: af0488a8bcb5aeb7a1c263079cb13ec7419c19db
parent: eb4ec3ad97ca89c80dddb59cc921dfc34e0829a3
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Nov 4 14:39:20 EDT 2023

arm64: remove hz/mhz from conf, not needed.

--- a/sys/src/9/arm64/dat.h
+++ b/sys/src/9/arm64/dat.h
@@ -117,8 +117,6 @@
 	ulong	nimage;		/* number of page cache image headers */
 	ulong	nswap;		/* number of swap pages */
 	int	nswppo;		/* max # of pageouts per segment pass */
-	ulong	hz;		/* processor cycle freq */
-	ulong	mhz;
 	int	monitor;	/* flag */
 };
 
--- a/sys/src/9/arm64/fns.h
+++ b/sys/src/9/arm64/fns.h
@@ -69,8 +69,8 @@
 #define	VA(k)	((uintptr)(k))
 extern KMap *kmap(Page*);
 extern void kunmap(KMap*);
-extern void kmapram(uintptr, uintptr);
 extern uintptr mmukmap(uintptr, uintptr, usize);
+extern void kmapram(uintptr, uintptr);
 extern void* vmap(uvlong, vlong);
 extern void vunmap(void*, vlong);
 extern void mmu1init(void);