Module Name: src Committed By: skrll Date: Mon Apr 26 15:25:24 UTC 2010
Modified Files: src/sys/arch/hp700/include: cpu.h Log Message: Provide hppa_cpu_hastlbu_p To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 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.45 src/sys/arch/hp700/include/cpu.h:1.46 --- src/sys/arch/hp700/include/cpu.h:1.45 Tue Apr 6 07:58:31 2010 +++ src/sys/arch/hp700/include/cpu.h Mon Apr 26 15:25:24 2010 @@ -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 *);