freebsd-nq/sys/i386
Peter Wemm 235a54de9d Switch AMD64 and i386 platforms to using ELF as their kernel crash
dump format.  The key reason to do this is so that we can dump sparse
address space.  For example, we need to be able to skip the PCI hole
just below the 4GB boundary.  Trying to destructively dump MMIO device
registers is Really Bad(TM).  The frequent result of trying to do a
crash dump on a machine with 4GB or more ram was ugly (lockup or reboot).

This code has been taken directly from the IA64 dump_machdep.c code,
with just a few (mostly minor) mods.

Introduce a dump_avail[] array in the machdep.c code so that we have a
source of truth for what memory is present in a machine that needs to be
dumped.  We can't use phys_avail[] because all sorts of things slice
memory out of it that we really need to dump.  eg: the vm page array
and the dmesg buffer.  dump_avail[] is pretty much an unmolested version
of phys_avail[].  It does have Maxmem correction.

Bump the i386 and amd64 dump format to version 2, but nothing actually
uses this.  amd64 was actually using the i386 dump version number.

libkvm support to follow.

Approved by:	re
2005-06-29 22:28:46 +00:00
..
acpica Pick up the selectors to use for various kernel segments from assym.s 2005-04-22 09:53:04 +00:00
bios - Consistently protect against NULL dereference. 2005-04-12 20:14:56 +00:00
compile
conf Connect reiserfs build to every platforms, not only i386 and pc98. 2005-06-21 10:17:55 +00:00
cpufreq Add a driver for SMI-based SpeedStep. The hardware supports two frequency 2005-04-19 16:38:24 +00:00
i386 Switch AMD64 and i386 platforms to using ELF as their kernel crash 2005-06-29 22:28:46 +00:00
ibcs2 Regenerate after addition of audit event type number to syscalls.master 2005-06-29 17:29:06 +00:00
include Switch AMD64 and i386 platforms to using ELF as their kernel crash 2005-06-29 22:28:46 +00:00
isa - Hook up the new locations of the atkbdc(4), atkbd(4) and psm(4) source 2005-06-10 20:56:38 +00:00
linux Regen after addition of linux_getpriority wrapper. 2005-06-08 20:47:30 +00:00
pci Trust the settings programmed by the BIOS over what the $PIR says. 2005-04-14 18:25:09 +00:00
svr4 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
Makefile