Module Name:    src
Committed By:   skrll
Date:           Tue Apr  6 07:58:31 UTC 2010

Modified Files:
        src/sys/arch/hp700/include: cpu.h

Log Message:
Add hppa_cpu_ispa20_p


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/hp700/include/cpu.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/hp700/include/cpu.h
diff -u src/sys/arch/hp700/include/cpu.h:1.44 src/sys/arch/hp700/include/cpu.h:1.45
--- src/sys/arch/hp700/include/cpu.h:1.44	Sat Apr  3 07:46:01 2010
+++ src/sys/arch/hp700/include/cpu.h	Tue Apr  6 07:58:31 2010
@@ -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 *);

Reply via email to