Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include/booke Add IPI/cpu_send_ipi to intrsw.
details: https://anonhg.NetBSD.org/src/rev/7c126636217d
branches: trunk
changeset: 761809:7c126636217d
user: matt <matt%NetBSD.org@localhost>
date: Tue Feb 08 06:28:56 2011 +0000
description:
Add IPI/cpu_send_ipi to intrsw.
diffstat:
sys/arch/powerpc/include/booke/intr.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 29f65ced48ad -r 7c126636217d sys/arch/powerpc/include/booke/intr.h
--- a/sys/arch/powerpc/include/booke/intr.h Tue Feb 08 06:22:29 2011 +0000
+++ b/sys/arch/powerpc/include/booke/intr.h Tue Feb 08 06:28:56 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.2 2011/01/18 01:02:54 matt Exp $ */
+/* $NetBSD: intr.h,v 1.3 2011/02/08 06:28:56 matt Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -64,6 +64,9 @@
#define IST_MAX (NIPL+10)
#endif
+#define IPI_DST_ALL -2
+#define IPI_DST_NOTME -1
+
#define __HAVE_FAST_SOFTINTS 1
#ifndef _LOCORE
@@ -75,6 +78,8 @@
const char *
intr_string(int, int);
+void cpu_send_ipi(cpuid_t, uintptr_t);
+
void spl0(void);
int splraise(int);
void splx(int);
@@ -109,6 +114,7 @@
void (*intrsw_spl0)(void);
void (*intrsw_splx)(int);
const char *(*intrsw_string)(int, int);
+ void (*intrsw_send_ipi)(cpuid_t, uintptr_t);
#ifdef __HAVE_FAST_SOFTINTS
void (*intrsw_softint_init_md)(struct lwp *, u_int, uintptr_t *);
void (*intrsw_softint_trigger)(uintptr_t);
Home |
Main Index |
Thread Index |
Old Index