git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI 16x50 UART Controller, O2 Enablement (#39)
[lunaix-os.git]
/
lunaix-os
/
kernel
/
kinit.c
diff --git
a/lunaix-os/kernel/kinit.c
b/lunaix-os/kernel/kinit.c
index 685c3d0e7fd3ca943c06300e6393dc73a5599f10..ca28001f8bc66b255604297d727267455743ea3d 100644
(file)
--- a/
lunaix-os/kernel/kinit.c
+++ b/
lunaix-os/kernel/kinit.c
@@
-43,7
+43,7
@@
kernel_bootstrap(struct boot_handoff* bhctx)
/* Begin kernel bootstrapping sequence */
boot_begin(bhctx);
- tty_init(ioremap(0xB8000, PAGE_SIZE));
+ tty_init(
(void*)
ioremap(0xB8000, PAGE_SIZE));
/* Setup kernel memory layout and services */
kmem_init(bhctx);