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
feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git]
/
lunaix-os
/
arch
/
i386
/
hal
/
apic.c
diff --git
a/lunaix-os/arch/i386/hal/apic.c
b/lunaix-os/arch/i386/hal/apic.c
index 4323ac8051ab8b10852b9163306b346d64d5fb9f..458bf03baf08eed03683c2f833983a25c5d38fd6 100644
(file)
--- a/
lunaix-os/arch/i386/hal/apic.c
+++ b/
lunaix-os/arch/i386/hal/apic.c
@@
-9,8
+9,8
@@
*
*/
*
*/
-#include <sys/cpu.h>
#include <hal/intc.h>
#include <hal/intc.h>
+#include <sys/cpu.h>
#include <sys/apic.h>
#include <sys/interrupts.h>
#include <sys/apic.h>
#include <sys/interrupts.h>
@@
-60,7
+60,7
@@
apic_init()
u32_t apic_id = apic_read_reg(APIC_IDR) >> 24;
u32_t apic_ver = apic_read_reg(APIC_VER);
u32_t apic_id = apic_read_reg(APIC_IDR) >> 24;
u32_t apic_ver = apic_read_reg(APIC_VER);
- kprintf(KINFO "ID: %x, Version: %x, Max LVT: %u
\n
",
+ kprintf(KINFO "ID: %x, Version: %x, Max LVT: %u",
apic_id,
apic_ver & 0xff,
(apic_ver >> 16) & 0xff);
apic_id,
apic_ver & 0xff,
(apic_ver >> 16) & 0xff);