Changeset e4f8c77 in mainline for uspace/srv/hid/input/include/kbd_port.h
- Timestamp:
- 2011-07-13T22:39:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6910c8
- Parents:
- 5974661 (diff), 8ecef91 (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
r5974661 re4f8c77 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 ski_port; 46 59 47 60 #endif … … 49 62 /** 50 63 * @} 51 */ 52 64 */
Note:
See TracChangeset
for help on using the changeset viewer.