Changeset 8e7c9fe in mainline for uspace/lib/drv/include
- Timestamp:
- 2014-09-12T03:45:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/drv/include
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/driver.h
r3eb0c85 r8e7c9fe 111 111 } driver_t; 112 112 113 /** XXX Only to transition network drivers */114 #ifdef _DDF_DATA_IMPLANT115 extern void ddf_fun_data_implant(ddf_fun_t *, void *);116 #endif117 118 113 extern int ddf_driver_main(const driver_t *); 119 114 -
uspace/lib/drv/include/ddf/interrupt.h
r3eb0c85 r8e7c9fe 49 49 */ 50 50 51 typedef void interrupt_handler_t( ddf_dev_t *, ipc_callid_t, ipc_call_t *);51 typedef void interrupt_handler_t(ipc_callid_t, ipc_call_t *, ddf_dev_t *); 52 52 53 typedef struct interrupt_context {54 int id;55 ddf_dev_t *dev;56 int irq;57 interrupt_handler_t *handler;58 link_t link;59 } interrupt_context_t;60 61 typedef struct interrupt_context_list {62 int curr_id;63 list_t contexts;64 fibril_mutex_t mutex;65 } interrupt_context_list_t;66 67 extern void interrupt_init(void);68 53 extern int register_interrupt_handler(ddf_dev_t *, int, interrupt_handler_t *, 69 54 const irq_code_t *); -
uspace/lib/drv/include/ops/led_dev.h
r3eb0c85 r8e7c9fe 1 1 /* 2 * Copyright (c) 201 1 Petr Koupy2 * Copyright (c) 2014 Martin Decky 3 3 * All rights reserved. 4 4 * … … 33 33 */ 34 34 35 #ifndef LIBDRV_OPS_ GRAPH_DEV_H_36 #define LIBDRV_OPS_ GRAPH_DEV_H_35 #ifndef LIBDRV_OPS_LED_DEV_H_ 36 #define LIBDRV_OPS_LED_DEV_H_ 37 37 38 #include < async.h>38 #include <io/pixel.h> 39 39 #include "../ddf/driver.h" 40 40 41 typedef void (*connect_func)(void *, ipc_callid_t , ipc_call_t *, void *);42 43 41 typedef struct { 44 connect_func connect;45 } graph_dev_ops_t;42 int (*color_set)(ddf_fun_t *, pixel_t); 43 } led_dev_ops_t; 46 44 47 45 #endif -
uspace/lib/drv/include/pci_dev_iface.h
r3eb0c85 r8e7c9fe 40 40 #include "ddf/driver.h" 41 41 42 #define PCI_VENDOR_ID 0x00 42 43 #define PCI_DEVICE_ID 0x02 43 44
Note:
See TracChangeset
for help on using the changeset viewer.