aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-16 22:28:33 -0700
committerChristian Cunningham <cc@localhost>2022-03-16 22:28:33 -0700
commita9f63b8cdb930d079cc69d492fe44dc8224c1e03 (patch)
treec97c9f84f5caa2b0cc77850c21f33b9f5cefaecb /src/lib
parenta3732c11ad3bcd2c01a36d0a82a6f310fe8557af (diff)
More comments
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/kmem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/kmem.c b/src/lib/kmem.c
index 0419662..9861f12 100644
--- a/src/lib/kmem.c
+++ b/src/lib/kmem.c
@@ -2,6 +2,7 @@
#include <drivers/uart.h>
#include <lib/kmem.h>
+// Output longs at address
void kmemshow32(void* data, unsigned long length)
{
unsigned long* ptr = data;
@@ -14,6 +15,7 @@ void kmemshow32(void* data, unsigned long length)
uart_char('\n');
}
+// Output bytes at address
void kmemshow(void* data, unsigned long length)
{
unsigned char* ptr = data;