summaryrefslogtreecommitdiff
path: root/device/interrupt.h
blob: 8adc02d94aa047986c73ad52d8aaa08c096bf8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DEVICE_INTERRUPT_H
#define DEVICE_INTERRUPT_H

struct intr_entry;
boolean_t queue_intr (struct intr_entry *e);
kern_return_t insert_intr_entry (int line, ipc_port_t dest,
				 struct intr_entry **entry);

int install_user_intr_handler (unsigned int line,
			       unsigned long flags,
			       struct intr_entry *entry);

boolean_t intr_entry_notify (mach_msg_header_t *msg);
void intr_thread (void);

#endif	/* DEVICE_INTERRUPT_H */