Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/riscv/include No more fatc (replaced by sfence.vm i...
details: https://anonhg.NetBSD.org/src/rev/8383ae39c01c
branches: trunk
changeset: 337041:8383ae39c01c
user: matt <matt%NetBSD.org@localhost>
date: Tue Mar 31 01:14:02 2015 +0000
description:
No more fatc (replaced by sfence.vm instruction).
diffstat:
sys/arch/riscv/include/sysreg.h | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diffs (24 lines):
diff -r 51df93d74485 -r 8383ae39c01c sys/arch/riscv/include/sysreg.h
--- a/sys/arch/riscv/include/sysreg.h Tue Mar 31 01:12:47 2015 +0000
+++ b/sys/arch/riscv/include/sysreg.h Tue Mar 31 01:14:02 2015 +0000
@@ -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 @@
__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_ */
Home |
Main Index |
Thread Index |
Old Index