Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/include/kbd_port.h
- Timestamp:
- 2011-06-11T19:48:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56ad818
- Parents:
- 774fc85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/include/kbd_port.h
r774fc85 rb1bdc7a4 1 1 /* 2 * Copyright (c) 20 09Jiri Svoboda2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 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 typedef struct { 43 int (*init)(void); 44 void (*yield)(void); 45 void (*reclaim)(void); 46 void (*write)(uint8_t); 47 } kbd_port_ops_t; 48 49 extern kbd_port_ops_t adb_port; 50 extern kbd_port_ops_t chardev_port; 51 extern kbd_port_ops_t dummy_port; 52 extern kbd_port_ops_t gxemul_port; 53 extern kbd_port_ops_t msim_port; 54 extern kbd_port_ops_t niagara_port; 55 extern kbd_port_ops_t ns16550_port; 56 extern kbd_port_ops_t pl050_port; 57 extern kbd_port_ops_t sgcn_port; 58 extern kbd_port_ops_t ski_port; 59 extern kbd_port_ops_t sun_port; 60 extern kbd_port_ops_t z8530_port; 46 61 47 62 #endif
Note:
See TracChangeset
for help on using the changeset viewer.