Changeset f1fae414 in mainline for uspace/srv/hid/input/include/kbd_port.h
- Timestamp:
- 2011-06-22T01:34:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d7e82c1, cac458f
- Parents:
- 72ec8cc (diff), bf172825 (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/include/kbd_port.h
r72ec8cc rf1fae414 1 1 /* 2 * Copyright (c) 20 09Jiri Svoboda2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kbdgen generic30 * @brief HelenOS generic uspace keyboard handler.31 * @ingroup kbd29 /** @addtogroup inputgen generic 30 * @brief Keyboard port driver interface. 31 * @ingroup input 32 32 * @{ 33 */ 33 */ 34 34 /** @file 35 35 */ … … 40 40 #include <sys/types.h> 41 41 42 extern int kbd_port_init(void); 43 extern void kbd_port_yield(void); 44 extern void kbd_port_reclaim(void); 45 extern void kbd_port_write(uint8_t); 42 struct kbd_dev; 43 44 typedef struct kbd_port_ops { 45 int (*init)(struct kbd_dev *); 46 void (*yield)(void); 47 void (*reclaim)(void); 48 void (*write)(uint8_t); 49 } kbd_port_ops_t; 50 51 extern kbd_port_ops_t adb_port; 52 extern kbd_port_ops_t chardev_port; 53 extern kbd_port_ops_t gxemul_port; 54 extern kbd_port_ops_t msim_port; 55 extern kbd_port_ops_t niagara_port; 56 extern kbd_port_ops_t ns16550_port; 57 extern kbd_port_ops_t pl050_port; 58 extern kbd_port_ops_t sgcn_port; 59 extern kbd_port_ops_t ski_port; 60 extern kbd_port_ops_t z8530_port; 46 61 47 62 #endif … … 49 64 /** 50 65 * @} 51 */ 52 66 */
Note:
See TracChangeset
for help on using the changeset viewer.