summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/drivers
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sw/z80/kernel/drivers/pio.c (renamed from sw/z80/kernel/pio.c)3
-rw-r--r--sw/z80/kernel/drivers/usart.c (renamed from sw/z80/kernel/usart.c)2
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/z80/kernel/pio.c b/sw/z80/kernel/drivers/pio.c
index 4b9caee..e29383f 100644
--- a/sw/z80/kernel/pio.c
+++ b/sw/z80/kernel/drivers/pio.c
@@ -1,4 +1,4 @@
-#include "pio.h"
+#include "drivers/pio.h"
static uint8_t *pio_port = (uint8_t *) ADDR_DEV_PIO;
static uint8_t *pio_ctrl = (uint8_t *) (ADDR_DEV_PIO + 2);
@@ -15,4 +15,5 @@ void _pio_command(int port, uint8_t cmd)
void pio_set_mode(int port, int mode)
{
+
}
diff --git a/sw/z80/kernel/usart.c b/sw/z80/kernel/drivers/usart.c
index 9ec6dbd..c54fe37 100644
--- a/sw/z80/kernel/usart.c
+++ b/sw/z80/kernel/drivers/usart.c
@@ -1,4 +1,4 @@
-#include "usart.h"
+#include "drivers/usart.h"
static struct _usart_device *_usart = (struct _usart_device *) ADDR_DEV_USART;