Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/port/gxemul.c
- 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/port/gxemul.c
r774fc85 rb1bdc7a4 42 42 #include <errno.h> 43 43 44 static int gxemul_port_init(void); 45 static void gxemul_port_yield(void); 46 static void gxemul_port_reclaim(void); 47 static void gxemul_port_write(uint8_t data); 48 49 kbd_port_ops_t gxemul_port = { 50 .init = gxemul_port_init, 51 .yield = gxemul_port_yield, 52 .reclaim = gxemul_port_reclaim, 53 .write = gxemul_port_write 54 }; 55 44 56 static irq_cmd_t gxemul_cmds[] = { 45 57 { … … 61 73 62 74 /** Initializes keyboard handler. */ 63 int kbd_port_init(void)75 static int gxemul_port_init(void) 64 76 { 65 77 sysarg_t addr; … … 77 89 } 78 90 79 void kbd_port_yield(void)91 static void gxemul_port_yield(void) 80 92 { 81 93 } 82 94 83 void kbd_port_reclaim(void)95 static void gxemul_port_reclaim(void) 84 96 { 85 97 } 86 98 87 void kbd_port_write(uint8_t data)99 static void gxemul_port_write(uint8_t data) 88 100 { 89 101 (void) data;
Note:
See TracChangeset
for help on using the changeset viewer.