Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/include hp300/intr.h: Put most of this under ...
details: https://anonhg.NetBSD.org/src/rev/9e63c3f466fd
branches: trunk
changeset: 377442:9e63c3f466fd
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 11 17:54:54 2023 +0000
description:
hp300/intr.h: Put most of this under #ifdef _KERNEL.
Only ipl_cookie_t really needs to be exposed now, for crash(8).
diffstat:
sys/arch/hp300/include/intr.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 9672dcaef51e -r 9e63c3f466fd sys/arch/hp300/include/intr.h
--- a/sys/arch/hp300/include/intr.h Tue Jul 11 17:33:45 2023 +0000
+++ b/sys/arch/hp300/include/intr.h Tue Jul 11 17:54:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.35 2023/07/11 10:42:26 riastradh Exp $ */
+/* $NetBSD: intr.h,v 1.36 2023/07/11 17:54:54 riastradh Exp $ */
/*-
* Copyright (c) 1996, 1997, 1999 The NetBSD Foundation, Inc.
@@ -82,6 +82,8 @@ typedef struct {
uint16_t _psl;
} ipl_cookie_t;
+#ifdef _KERNEL
+
static inline ipl_cookie_t
makeiplcookie(ipl_t ipl)
{
@@ -137,4 +139,6 @@ void *intr_establish(int (*)(void *), vo
void intr_disestablish(void *);
void intr_dispatch(int);
+#endif /* _KERNEL */
+
#endif /* _HP300_INTR_H_ */
Home |
Main Index |
Thread Index |
Old Index