summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/ipc_kobject.c8
-rw-r--r--kern/ipc_kobject.h5
2 files changed, 11 insertions, 2 deletions
diff --git a/kern/ipc_kobject.c b/kern/ipc_kobject.c
index c65458b..97c632a 100644
--- a/kern/ipc_kobject.c
+++ b/kern/ipc_kobject.c
@@ -48,6 +48,7 @@
#include <vm/vm_object.h>
#include <vm/memory_object_proxy.h>
#include <device/ds_routines.h>
+#include <device/interrupt.h>
#include <kern/mach.server.h>
#include <ipc/mach_port.server.h>
@@ -326,6 +327,10 @@ ipc_kobject_destroy(
vm_object_pager_wakeup(port);
break;
+ case IKOT_INTR_ENTRY:
+ /* Do nothing. */
+ break;
+
default:
#if MACH_ASSERT
printf("ipc_kobject_destroy: port 0x%p, kobj 0x%lx, type %d\n",
@@ -368,6 +373,9 @@ ipc_kobject_notify(request_header, reply_header)
case IKOT_PAGER_PROXY:
return memory_object_proxy_notify(request_header);
+ case IKOT_INTR_ENTRY:
+ return intr_entry_notify(request_header);
+
default:
return FALSE;
}
diff --git a/kern/ipc_kobject.h b/kern/ipc_kobject.h
index 606a66a..6aefea7 100644
--- a/kern/ipc_kobject.h
+++ b/kern/ipc_kobject.h
@@ -77,9 +77,10 @@ typedef unsigned int ipc_kobject_type_t;
#define IKOT_CLOCK 25
#define IKOT_CLOCK_CTRL 26
#define IKOT_PAGER_PROXY 27
+#define IKOT_INTR_ENTRY 28
/* << new entries here */
-#define IKOT_UNKNOWN 28 /* magic catchall */
-#define IKOT_MAX_TYPE 29 /* # of IKOT_ types */
+#define IKOT_UNKNOWN 29 /* magic catchall */
+#define IKOT_MAX_TYPE 30 /* # of IKOT_ types */
/* Please keep ipc/ipc_object.c:ikot_print_array up to date */
#define is_ipc_kobject(ikot) (ikot != IKOT_NONE)