Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64 add intr_string() stub for acpi_util.c:acpi_in...



details:   https://anonhg.NetBSD.org/src/rev/4b34f1c33da7
branches:  trunk
changeset: 358132:4b34f1c33da7
user:      scole <scole%NetBSD.org@localhost>
date:      Wed Dec 13 16:50:46 2017 +0000

description:
add intr_string() stub for acpi_util.c:acpi_intr_string() so kernel will still compile

diffstat:

 sys/arch/ia64/ia64/interrupt.c |  10 ++++++++--
 sys/arch/ia64/include/intr.h   |   6 +++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 4d836cb48a5e -r 4b34f1c33da7 sys/arch/ia64/ia64/interrupt.c
--- a/sys/arch/ia64/ia64/interrupt.c    Wed Dec 13 16:30:18 2017 +0000
+++ b/sys/arch/ia64/ia64/interrupt.c    Wed Dec 13 16:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: interrupt.c,v 1.7 2017/04/08 17:44:27 scole Exp $ */
+/* $NetBSD: interrupt.c,v 1.8 2017/12/13 16:50:46 scole Exp $ */
 
 /*-
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.7 2017/04/08 17:44:27 scole Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.8 2017/12/13 16:50:46 scole Exp $");
 
 #include "opt_ddb.h"
 
@@ -382,4 +382,10 @@
        } else if (always)
                db_printf("vector %u: unassigned\n", vector);
 }
+
+const char *
+intr_string(intr_handle_t ih, char *buf, size_t len)
+{
+       panic("XXX %s not implemented", __func__);
+}
 #endif
diff -r 4d836cb48a5e -r 4b34f1c33da7 sys/arch/ia64/include/intr.h
--- a/sys/arch/ia64/include/intr.h      Wed Dec 13 16:30:18 2017 +0000
+++ b/sys/arch/ia64/include/intr.h      Wed Dec 13 16:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.6 2017/04/08 18:02:21 scole Exp $   */
+/*     $NetBSD: intr.h,v 1.7 2017/12/13 16:50:46 scole Exp $   */
 
 /* XXX: cherry: To Be fixed when we switch on interrupts. */
 
@@ -67,6 +67,10 @@
 #define IA64_INTERRUPT_BLOCK \
        (struct ia64_interrupt_block *)IA64_PHYS_TO_RR6(ia64_lapic_address)
 
+/* XXX acpi */
+typedef uint64_t intr_handle_t;
+const char *intr_string(intr_handle_t, char *, size_t);
+
 void *intr_establish(int, int, int, int (*)(void *), void *);
 void intr_disestablish(void *);
 void ia64_handle_intr(void *);



Home | Main Index | Thread Index | Old Index