[PATCH] i386: Do better early exception handlers
authorChuck Ebbert <76306.1226@compuserve.com>
Tue, 26 Sep 2006 08:52:39 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:39 +0000 (10:52 +0200)
commitec5c09269ba9cd3b9cf879390db6d5c7dcdcaf1e
treef235cd9655571a6f0d5c3158d795d1d80dedb8f5
parent78be3706b21a232310590fe00258b224177ac05f
[PATCH] i386: Do better early exception handlers

Add early i386 fault handlers with debug information for common faults.
Handles:

        divide error
        invalid opcode
        protection fault
        page fault

Also adds code to detect early recursive/multiple faults and halt the
system when they happen (taken from x86_64.)

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/kernel/head.S