Removed debug kprintf statements that were added during the
execve/SIGSEGV debugging session: PDE/PTE dumps, CR3 comparison,
GOT dumps, and LAPIC ID traces. These are no longer needed now
that the root cause has been fixed.
#include "arch/x86/idt.h"
#include "arch/x86/lapic.h"
+#include "hal/cpu.h"
#include "io.h"
#include "console.h"
#include "process.h"
if (h == 0) {
if (sig == 11) {
+ kprintf("[SIGSEGV] pid=%d fault_addr=0x%x eip=0x%x\n",
+ current_process ? (int)current_process->pid : -1,
+ (unsigned)current_process->last_fault_addr,
+ (unsigned)regs->eip);
process_exit_notify(128 + sig);
__asm__ volatile("sti");
schedule();