summaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prototypes.h')
-rw-r--r--src/prototypes.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/prototypes.h b/src/prototypes.h
index 9b4d2c9..0e971df 100644
--- a/src/prototypes.h
+++ b/src/prototypes.h
@@ -28,5 +28,16 @@ extern const struct usb_endpoint_descriptor tablet_endpoint;
extern const struct usb_interface_descriptor tablet_iface;
extern void tablet_get_descriptor(uint8_t **buf, uint16_t *len);
extern void tablet_test(void);
-/* uart.c */
-extern void uart_init(void);
+/* usart.c */
+extern void usart1_isr(void);
+extern int _write(int file, char *ptr, int len);
+extern void usart_queue(uint8_t d);
+extern void usart_init(void);
+/* kvm.c */
+extern void kvm_dispatch(void);
+extern void kvm_recv(uint8_t d);
+/* ring.c */
+extern void ring_init(ring_t *r, uint8_t *buf, size_t len);
+extern int ring_write_byte(ring_t *r, uint8_t c);
+extern int ring_read_byte(ring_t *r, uint8_t *c);
+extern int ring_write(ring_t *r, uint8_t *buf, size_t len);