Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/include Provide hppa_cpu_hastlbu_p
details: https://anonhg.NetBSD.org/src/rev/7d117687ff63
branches: trunk
changeset: 754292:7d117687ff63
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Apr 26 15:25:24 2010 +0000
description:
Provide hppa_cpu_hastlbu_p
diffstat:
sys/arch/hp700/include/cpu.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r d6d25148fb98 -r 7d117687ff63 sys/arch/hp700/include/cpu.h
--- a/sys/arch/hp700/include/cpu.h Mon Apr 26 15:22:38 2010 +0000
+++ b/sys/arch/hp700/include/cpu.h Mon Apr 26 15:25:24 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.45 2010/04/06 07:58:31 skrll Exp $ */
+/* $NetBSD: cpu.h,v 1.46 2010/04/26 15:25:24 skrll Exp $ */
/* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */
@@ -289,6 +289,13 @@
return (hppa_cpu_info->hci_features & HPPA_FTRS_W32B) != 0;
}
+static __inline bool
+hppa_cpu_hastlbu_p(void)
+{
+
+ return (hppa_cpu_info->hci_features & HPPA_FTRS_TLBU) != 0;
+}
+
void delay(u_int);
void hppa_init(paddr_t, void *);
void trap(int, struct trapframe *);
Home |
Main Index |
Thread Index |
Old Index