Changeset 26e7d6d in mainline for uspace/srv/hid/input/port/ns16550.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (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 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/ns16550.c
r3842a955 r26e7d6d 38 38 #include <ipc/irc.h> 39 39 #include <async.h> 40 #include <async_obsolete.h>41 40 #include <sysinfo.h> 42 41 #include <input.h> … … 156 155 static void ns16550_irq_handler(ipc_callid_t iid, ipc_call_t *call) 157 156 { 158 int scan_code = IPC_GET_ARG2(*call); 159 kbd_push_scancode(kbd_dev, scan_code); 157 kbd_push_data(kbd_dev, IPC_GET_ARG2(*call)); 160 158 161 if (irc_service) 162 async_obsolete_msg_1(irc_phone, IRC_CLEAR_INTERRUPT, 163 IPC_GET_IMETHOD(*call)); 159 if (irc_service) { 160 async_exch_t *exch = async_exchange_begin(irc_sess); 161 async_msg_1(exch, IRC_CLEAR_INTERRUPT, IPC_GET_IMETHOD(*call)); 162 async_exchange_end(exch); 163 } 164 164 } 165 165
Note:
See TracChangeset
for help on using the changeset viewer.