From 1530a85d5aefcf6497ff2129023e9a0b002603dd Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 4 May 2021 15:30:24 +0200 Subject: Solving many issues: Aligning kernel stack, improve syscall mechanism, DISABLING RED-ZONE !!!! --- src/core/apic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/apic.cc') 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; -- cgit v1.2.3