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 --- lib/printpath.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/printpath.c (limited to 'lib/printpath.c') diff --git a/lib/printpath.c b/lib/printpath.c new file mode 100644 index 0000000..5235572 --- /dev/null +++ b/lib/printpath.c @@ -0,0 +1,9 @@ +#include "print.h" +#include "object.h" + +void +kprint_objpath(path_byte_t *path, int len) +{ + kprintf("%x", *path); + for(int i = 1; i < len; i++) kprintf(":%x", path[i]); +} -- cgit v1.2.1