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
chore: fix almost *ALL* warnings.
[lunaix-os.git]
/
lunaix-os
/
hal
/
apic.c
diff --git
a/lunaix-os/hal/apic.c
b/lunaix-os/hal/apic.c
index 2f5b5be02afe5c092c16242a1c41bd8660bd2ceb..44385a475ca9b28ad020aff07ae0fbecec9f583c 100644
(file)
--- a/
lunaix-os/hal/apic.c
+++ b/
lunaix-os/hal/apic.c
@@
-39,7
+39,7
@@
apic_init()
// As we are going to use APIC, disable the old 8259 PIC
pic_disable();
// As we are going to use APIC, disable the old 8259 PIC
pic_disable();
- _apic_base = ioremap(__APIC_BASE_PADDR, 4096);
+ _apic_base =
(ptr_t)
ioremap(__APIC_BASE_PADDR, 4096);
// Hardware enable the APIC
// By setting bit 11 of IA32_APIC_BASE register
// Hardware enable the APIC
// By setting bit 11 of IA32_APIC_BASE register