From c4f8ef91f18d854a4ede7a94e95b2eab898d6963 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:40:19 -0400 Subject: working usermode objdir iteration --- device/uart.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'device/uart.c') diff --git a/device/uart.c b/device/uart.c index 6728ab1..5c65207 100644 --- a/device/uart.c +++ b/device/uart.c @@ -1,10 +1,11 @@ #include "device/uart.h" #include "device/portio_uart.h" +#include "object.h" void -uart_write(objdir_t *dir, uint64_t entryi, const char *s, size_t w) +uart_write(objdir_t *dir, path_byte_t *path, const char *s, size_t w) { - objdir_entry_t *entry = objdir_seek(dir, entryi); + objdir_entry_t *entry = objdir_seek(dir, path, 1); if(entry == NULL || entry->type != KO_DEV_UART) return; #ifdef ENABLE_PORTIO_UART -- cgit v1.2.1