aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kerneldump.h
Commit message (Collapse)AuthorAgeFilesLines
* Add kernel dump support, based on the ia64 version (which was committedThomas Moestl2002-10-201-0/+1
| | | | | | | | | | | | | as sparc64/sparc64/dump_machdep.c a while back). Other than ia64 (which uses ELF), sparc64 uses a homegrown format for the dumps (headers are required because the physical address and size of the tsb must be noted, and because physical memory may be discontiguous); ELF would not offer any advantages here. Reviewed by: jake Notes: svn path=/head/; revision=105531
* Restore the ability to take crashdumps on alpha. This was cut and pastedAndrew Gallatin2002-05-111-0/+1
| | | | | | | | | | nearly in its entirety from i386, so it retains the phk/nati copyright. Savecore likes the results, but I have no way to test it as gdb is still broken. Notes: svn path=/head/; revision=96427
* Add a KERNELDUMPMAGIC_CLEARED macro to unbreak savecore. SinceMaxime Henrion2002-05-051-0/+1
| | | | | | | | | | | it is a "magic" value, what it expands to is not really important. I set it to "Cleared Kernel Dump", but that can be changed later if someone thinks it's not good enough. Pointy hat to: fenner Notes: svn path=/head/; revision=96068
* Make the kernel dump header endianness invariant by always dumpingMarcel Moolenaar2002-04-031-6/+28
| | | | | | | | | | | | in dump byte order (=network byte order). Swap blocksize and dumptime to avoid extraneous padding on 64-bit architectures. Use CTASSERT instead of runtime checks to make sure the header is 512 bytes large. Various style(9) fixes. Reviewed by: phk, bde, mike Notes: svn path=/head/; revision=93717
* o Add header version for ia64,Marcel Moolenaar2002-04-021-1/+2
| | | | | | | o Make it compile with GCC 3.x. Notes: svn path=/head/; revision=93649
* Add a new #include which describes the common header format for kerneldumps.Poul-Henning Kamp2002-03-311-0/+72
This design is my best effort and it is quite likely that people more used to kernel dumps may want to change this subsequently so two levels of version numbers are provided: one for the common header and one per architecture. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=93490