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
/
arch
/
x86
/
hal
/
apic.c
diff --git
a/lunaix-os/arch/x86/hal/apic.c
b/lunaix-os/arch/x86/hal/apic.c
index 4e2501f93a95f600290eba6348b3cca112abd168..34b243eed6b0ce12f8b28116f9620b23b877f941 100644
(file)
--- a/
lunaix-os/arch/x86/hal/apic.c
+++ b/
lunaix-os/arch/x86/hal/apic.c
@@
-43,7
+43,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 =
(ptr_t)
ioremap(__APIC_BASE_PADDR, 4096);
+ _apic_base = 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