Changeset 7f8b581 in mainline for uspace/lib/libdrv/include/driver.h
- Timestamp:
- 2010-04-29T21:26:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2300b9d
- Parents:
- cfe7716
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libdrv/include/driver.h
rcfe7716 r7f8b581 37 37 38 38 #include <adt/list.h> 39 #include <ipc/ipc.h> 39 40 #include <ipc/devman.h> 40 41 #include <ipc/dev_iface.h> … … 165 166 // interrupts 166 167 167 static irq_cmd_t default_cmds[] = {168 {169 .cmd = CMD_ACCEPT170 }171 };172 173 static irq_code_t default_pseudocode = {174 sizeof(default_cmds) / sizeof(irq_cmd_t),175 default_cmds176 };177 178 168 typedef void interrupt_handler_t(device_t *dev, ipc_callid_t iid, ipc_call_t *icall); 179 169 … … 270 260 } 271 261 262 int register_interrupt_handler(device_t *dev, int irq, interrupt_handler_t *handler, irq_code_t *pseudocode); 263 int unregister_interrupt_handler(device_t *dev, int irq); 264 272 265 #endif 273 266
Note:
See TracChangeset
for help on using the changeset viewer.