Module Name:    src
Committed By:   matt
Date:           Tue Mar 31 01:14:02 UTC 2015

Modified Files:
        src/sys/arch/riscv/include: sysreg.h

Log Message:
No more fatc (replaced by sfence.vm instruction).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/include/sysreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/riscv/include/sysreg.h
diff -u src/sys/arch/riscv/include/sysreg.h:1.2 src/sys/arch/riscv/include/sysreg.h:1.3
--- src/sys/arch/riscv/include/sysreg.h:1.2	Sat Mar 28 16:13:56 2015
+++ src/sys/arch/riscv/include/sysreg.h	Tue Mar 31 01:14:02 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: sysreg.h,v 1.2 2015/03/28 16:13:56 matt Exp $ */
+/* $NetBSD: sysreg.h,v 1.3 2015/03/31 01:14:02 matt Exp $ */
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -217,14 +217,4 @@ riscvreg_asid_write(uint32_t __asid)
 	__asm __volatile("csrw\tsasid, %0" :: "r"(__asid));
 }
 
-#if 0
-static inline uintptr_t
-riscvreg_fatc_read(void)
-{
-	uint32_t __fatc;
-	__asm __volatile("csrr\t%0, fatc" : "=r"(__fatc));
-	return __fatc;
-}
-#endif
-
 #endif /* _RISCV_SYSREG_H_ */

Reply via email to