aboutsummaryrefslogtreecommitdiff
path: root/src/core/apic.cc
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-05-04 15:30:24 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-05-04 15:30:24 +0200
commit1530a85d5aefcf6497ff2129023e9a0b002603dd (patch)
treeea6098d0dcafabba0ffc2f28ea5c136f731996b9 /src/core/apic.cc
parent64a17f3e0683a0a492a3fed9c4c17a4335d1f421 (diff)
Solving many issues: Aligning kernel stack, improve syscall mechanism,
DISABLING RED-ZONE !!!!
Diffstat (limited to 'src/core/apic.cc')
-rw-r--r--src/core/apic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/apic.cc b/src/core/apic.cc
index aba801a..20d3dfd 100644
--- a/src/core/apic.cc
+++ b/src/core/apic.cc
@@ -36,7 +36,7 @@ void apic_enable(){
// apic_write(APIC_PRIOR, 0);
apic_write(APIC_LAPIC_TIMER_DVD, 1);
apic_write(APIC_LAPIC_TIMER_LVT, (1<<17)|61);
- apic_write(APIC_LAPIC_TIMER_IC, 100000);
+ apic_write(APIC_LAPIC_TIMER_IC, 10000000);
// Configure I/O APIC
u32 *ioapic_reg=(u32*)ioapic_space;