Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys add #define __HAVE_MD_SOFTINT_TRIGGER to <vax/types.h>
details: https://anonhg.NetBSD.org/src/rev/15cd8ff7a719
branches: trunk
changeset: 789595:15cd8ff7a719
user: matt <matt%NetBSD.org@localhost>
date: Sun Aug 25 03:08:56 2013 +0000
description:
add #define __HAVE_MD_SOFTINT_TRIGGER to <vax/types.h>
Only define a function prototype for softint_trigger
if __HAVE_MD_SOFTINT_TRIGGER is undefined.
diffstat:
sys/arch/vax/include/types.h | 3 ++-
sys/sys/intr.h | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 47f0e1787395 -r 15cd8ff7a719 sys/arch/vax/include/types.h
--- a/sys/arch/vax/include/types.h Sat Aug 24 15:42:29 2013 +0000
+++ b/sys/arch/vax/include/types.h Sun Aug 25 03:08:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.46 2012/07/02 22:42:18 abs Exp $ */
+/* $NetBSD: types.h,v 1.47 2013/08/25 03:08:56 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -75,6 +75,7 @@
#define __HAVE_DEVICE_REGISTER
#define __HAVE_SYSCALL_INTERN
#define __HAVE_FAST_SOFTINTS
+#define __HAVE_MD_SOFTINT_TRIGGER
#define __HAVE_CPU_DATA_FIRST
#define __HAVE_MM_MD_READWRITE
#define __HAVE_MM_MD_DIRECT_MAPPED_PHYS
diff -r 47f0e1787395 -r 15cd8ff7a719 sys/sys/intr.h
--- a/sys/sys/intr.h Sat Aug 24 15:42:29 2013 +0000
+++ b/sys/sys/intr.h Sun Aug 25 03:08:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.15 2013/08/19 03:05:17 matt Exp $ */
+/* $NetBSD: intr.h,v 1.16 2013/08/25 03:08:56 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -51,7 +51,9 @@
/* MD-MI interface. */
void softint_init_md(lwp_t *, u_int, uintptr_t *);
+#ifndef __HAVE_MD_SOFTINT_TRIGGER
void softint_trigger(uintptr_t);
+#endif
void softint_dispatch(lwp_t *, int);
/* Flags for softint_establish(). */
Home |
Main Index |
Thread Index |
Old Index