interrupt.h Source File
Back to the index.
Go to the documentation of this file.
74 #define INTERRUPT_ASSERT(istruct) (istruct).interrupt_assert(&(istruct))
75 #define INTERRUPT_DEASSERT(istruct) (istruct).interrupt_deassert(&(istruct))
77 #define INTERRUPT_CONNECT(name,istruct) { \
78 interrupt_handler_lookup(name, &(istruct)); \
79 interrupt_connect(&(istruct), 0); \
82 #define INTERRUPT_CONNECT_EXCLUSIVE(name,istruct) { \
83 interrupt_handler_lookup(name, &(istruct)); \
84 interrupt_connect(&(istruct), 1); \
void(* interrupt_deassert)(struct interrupt *)
void interrupt_connect(struct interrupt *i, int exclusive)
void(* interrupt_assert)(struct interrupt *)
void interrupt_handler_register(struct interrupt *templ)
void interrupt_disconnect(struct interrupt *i, int exclusive)
int interrupt_handler_lookup(const char *name, struct interrupt *templ)
void interrupt_handler_remove(const char *name)
Generated on Tue Mar 24 2020 14:04:48 for GXemul by
1.8.17