Add hppa_cpu_ispa20_p

This commit is contained in:
skrll 2010-04-06 07:58:31 +00:00
parent 4c773d30e5
commit 4bfaa8385e
1 changed files with 8 additions and 1 deletions

View File

@ -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 @@ kvtop(const void *va)
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 *);