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 Add hppa_cpu_ispa20_p
details: https://anonhg.NetBSD.org/src/rev/26cb0101bf70
branches: trunk
changeset: 753670:26cb0101bf70
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Apr 06 07:58:31 2010 +0000
description:
Add hppa_cpu_ispa20_p
diffstat:
sys/arch/hp700/include/cpu.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 2bf569a3002e -r 26cb0101bf70 sys/arch/hp700/include/cpu.h
--- a/sys/arch/hp700/include/cpu.h Tue Apr 06 07:47:48 2010 +0000
+++ b/sys/arch/hp700/include/cpu.h Tue Apr 06 07:58:31 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.44 2010/04/03 07:46:01 skrll Exp $ */
+/* $NetBSD: cpu.h,v 1.45 2010/04/06 07:58:31 skrll Exp $ */
/* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */
@@ -282,6 +282,13 @@
extern int (*cpu_desidhash)(void);
+static __inline bool
+hppa_cpu_ispa20_p(void)
+{
+
+ return (hppa_cpu_info->hci_features & HPPA_FTRS_W32B) != 0;
+}
+
void delay(u_int);
void hppa_init(paddr_t, void *);
void trap(int, struct trapframe *);
Home |
Main Index |
Thread Index |
Old Index