aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c3
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)
;