freebsd-dev/sys/conf
John Baldwin 9dc0b3d54f Implement simple machine check support for amd64 and i386.
- For CPUs that only support MCE (the machine check exception) but not MCA
  (i.e. Pentium), all this does is print out the value of the machine check
  registers and then panic when a machine check exception occurs.
- For CPUs that support MCA (the machine check architecture), the support is
  a bit more involved.
  - First, there is limited support for decoding the CPU-independent MCA
    error codes in the kernel, and the kernel uses this to output a short
    description of any machine check events that occur.
  - When a machine check exception occurs, all of the MCx banks on the
    current CPU are scanned and any events are reported to the console
    before panic'ing.
  - To catch events for correctable errors, a periodic timer kicks off a
    task which scans the MCx banks on all CPUs.  The frequency of these
    checks is controlled via the "hw.mca.interval" sysctl.
  - Userland can request an immediate scan of the MCx banks by writing
    a non-zero value to "hw.mca.force_scan".
  - If any correctable events are encountered, the appropriate details
    are stored in a 'struct mca_record' (defined in <machine/mca.h>).
    The "hw.mca.count" is a count of such records and each record may
    be queried via the "hw.mca.records" tree by specifying the record
    index (0 .. count - 1) as the next name in the MIB similar to using
    PIDs with the kern.proc.* sysctls.  The idea is to export machine
    check events to userland for more detailed processing.
  - The periodic timer and hw.mca sysctls are only present if the CPU
    supports MCA.

Discussed with:	emaste (briefly)
MFC after:	1 month
2009-05-13 17:53:04 +00:00
..
defines
files Fix typo in bwi driver. 2009-05-11 04:57:40 +00:00
files.amd64 Implement simple machine check support for amd64 and i386. 2009-05-13 17:53:04 +00:00
files.arm Switch to ath hal source code. Note this removes the ath_hal 2008-12-01 16:53:01 +00:00
files.i386 Implement simple machine check support for amd64 and i386. 2009-05-13 17:53:04 +00:00
files.ia64 Add trivial implementation for the freebsd32_sysarch on ia64. 2009-04-01 19:23:07 +00:00
files.mips Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
files.pc98 Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
files.powerpc Add suppport for ISA and ISA interrupts to make the ATA 2009-04-24 03:51:11 +00:00
files.sparc64 Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
files.sun4v Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
kern.mk Bump down the inline limit on MIPS. 2009-03-03 18:53:47 +00:00
kern.post.mk Always compute the root of the kernel source tree and explicitly pass it 2009-05-04 20:25:56 +00:00
kern.pre.mk Allow the old usb stack to compile by adding the appropriate -I foo, this must 2009-02-26 20:54:43 +00:00
kmod_syms.awk
kmod.mk Change over the usb kernel options to the new stack (retaining existing 2009-02-23 18:34:56 +00:00
ldscript.amd64
ldscript.arm Create a non-elf pure binary version of the kernel as well. 2005-11-24 02:25:49 +00:00
ldscript.i386
ldscript.ia64 Have the linker provide btext. It's used for profiling. 2004-08-25 07:43:28 +00:00
ldscript.mips Merge from p4: add Juniper license statement. 2008-09-19 03:36:37 +00:00
ldscript.mips.cfe Fix the CFE ldscript after the cutover to tradmips. 2008-10-13 06:07:58 +00:00
ldscript.powerpc Avoid hardcoding the kernel link address in the linker script. 2008-02-27 00:03:23 +00:00
ldscript.sparc64
Makefile.amd64 Add a kernel option for amd64 to compile with the frame on the stack 2008-05-23 03:52:55 +00:00
Makefile.arm Rename Marvell ARM CPU specific file according to r186933. 2009-01-09 10:55:33 +00:00
Makefile.i386 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.ia64 Remove definition of the GCC3 variable. It was introduced in rev. 2007-06-02 21:30:39 +00:00
Makefile.mips Merge in the mips specific configuration files and such from the 2008-04-13 06:25:43 +00:00
Makefile.pc98 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.powerpc Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sparc64 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sun4v Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
makeLINT.mk
makeLINT.sed
newvers.sh For kernel builds reduce the impact of svnversion, just scanning 2009-03-28 23:17:18 +00:00
NOTES - Use "device\t" and "options \t" for consistency. 2009-05-10 00:00:25 +00:00
options Bring in Andrew Thompson's port of Sepherosa Ziehau's bwi driver for 2009-05-03 04:01:43 +00:00
options.amd64 Merge in support for Xen HVM on amd64 architecture. 2009-03-11 15:30:12 +00:00
options.arm add IXP4XX_FLASH_SIZE config knob that can be used to override the default 2009-03-10 21:49:22 +00:00
options.i386 Fix AGP debugging code: 2009-02-06 20:57:10 +00:00
options.ia64 Don't forget to create opt_agp.h on ia64, which also uses agp(4). 2009-02-07 09:57:14 +00:00
options.mips Consistently use <TAB> instead of spaces as option name and file 2009-02-06 10:30:46 +00:00
options.pc98 Fix AGP debugging code: 2009-02-06 20:57:10 +00:00
options.powerpc Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. 2008-03-03 17:17:00 +00:00
options.sparc64 Add a driver for Schizo' Fireplane/Safari to PCI 2.1 and Tomatillo' 2008-09-28 00:07:05 +00:00
options.sun4v Remove remnants from the sparc64 origin of this file and which are 2007-01-19 12:22:50 +00:00
systags.sh Use a simpler way to reach the <machine> include dir, which should 2005-12-03 21:37:54 +00:00