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
basic process support and some syscalls
[lunaix-os.git]
/
lunaix-os
/
hal
/
apic.c
diff --git
a/lunaix-os/hal/apic.c
b/lunaix-os/hal/apic.c
index 32bfed531429633fc226a06eaa0dd9a85829b551..0d427d1dcaa80691658ff3e7a38ddd6b12c066ea 100644
(file)
--- a/
lunaix-os/hal/apic.c
+++ b/
lunaix-os/hal/apic.c
@@
-20,9
+20,6
@@
LOG_MODULE("APIC")
-void
-apic_setup_timer();
-
void
apic_setup_lvts();
@@
-47,7
+44,7
@@
apic_init()
"rdmsr\n"
"orl %1, %%eax\n"
"wrmsr\n"
- ::"i"(IA32_
APIC_BASE_MSR
), "i"(IA32_APIC_ENABLE)
+ ::"i"(IA32_
MSR_APIC_BASE
), "i"(IA32_APIC_ENABLE)
: "eax", "ecx", "edx"
);