diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-10-31 15:39:51 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-10-31 21:59:49 +0200 |
commit | cbd3cdf7cb34529e269bb27c654765a0c9c21799 (patch) | |
tree | 4ee555d5cb575af003e10e597666b4a7b17b17a7 /src/kernel.c | |
parent | makefile: auto-generate OBJS from SRCS (diff) | |
download | kernel-cbd3cdf7cb34529e269bb27c654765a0c9c21799.tar.xz |
add ps2_keyboard driver
Diffstat (limited to 'src/kernel.c')
-rw-r--r-- | src/kernel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c index a9fc126..41025d7 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -25,6 +25,7 @@ void kmain() { printf("CPU: %s family %u model %u stepping %u\n", vendor, family(v), model(v), v.stepping); printf("hello %s world\n", "kernel"); + printf("Hello %c\n", 'C'); printf("we are number %d\n", 1); printf("a negative %d as hex %x\n", -1, -1); printf("hex 255=0x%x\n", 255); @@ -35,7 +36,7 @@ void kmain() { char *c = (char *)0xc0700000; if (*c == 0) printf("c is 0\r\n"); - asm volatile("int $0x80"); + // asm volatile("int $0x80"); while (1) ; |