diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-30 21:29:08 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-05 19:18:09 -0600 |
commit | 4da8e81989f6ed86628d6497397b22e0cd8daf53 (patch) | |
tree | 28b196bf4e54fca41b514f13f533afcf9d3aed3c /cmd/sbc_harness/usb_keyboard.h | |
parent | 83219ac2d9dced37578297dc9a01612b234e6b33 (diff) |
libcr_ipc: Redo
Diffstat (limited to 'cmd/sbc_harness/usb_keyboard.h')
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/sbc_harness/usb_keyboard.h b/cmd/sbc_harness/usb_keyboard.h index 8eba062..d946ff6 100644 --- a/cmd/sbc_harness/usb_keyboard.h +++ b/cmd/sbc_harness/usb_keyboard.h @@ -7,9 +7,12 @@ #ifndef _USB_KEYBOARD_H_ #define _USB_KEYBOARD_H_ -#include <libcr_ipc/rpc.h> +#include <stdint.h> /* for uint32_t */ -typedef cr_rpc_t(uint32_t, int) usb_keyboard_rpc_t; +#include <libcr/coroutine.h> /* for COROUTINE */ +#include <libcr_ipc/rpc.h> /* for CR_RPC_DECLARE */ + +CR_RPC_DECLARE(usb_keyboard_rpc, uint32_t, int) void usb_keyboard_init(void); COROUTINE usb_keyboard_cr(void *arg); |