freebsd-skq/sys/amd64/include
John Polstra ca0154bc75 Revamp the ELF include files to better support architecture-independent
applications.  Here's how it works.

The kernel should include <machine/elf.h> to get the definitions
for the native architecture.  It can reference the various ELF
structures with generic names like Elf_Sym, Elf_Shdr, etc.  A define
__ELF_WORD_SIZE is also available with the value 32 or 64 as
appropriate for the native architecture.

Generic applications should include <elf.h>, which is just a wrapper
for <machine/elf.h>.

Applications such as object file dumpers that need to deal with
foreign ELF files can include <sys/elf32.h> and/or <sys/elf64.h>.
Both can be included from the same source file if desired.  The
structure names must be referenced using wordsize-specific names
like Elf32_Sym, Elf64_Shdr, etc.

I haven't change the alpha stuff, but I haven't broken it either.
1998-08-16 03:03:38 +00:00
..
pc Nuke the nonexistend pad bytes from the end of the DMI header structure. 1997-08-04 03:31:23 +00:00
apicreg.h Eliminate frequent silo overflows by restoring the TEST_LOPRIO code. 1997-08-04 17:31:43 +00:00
asm.h Fixed longstanding profiling bug. The frame pointer wasn't set up 1997-04-23 19:26:04 +00:00
asmacros.h Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
bus_amd64.h Implement bus_dmamem_* functions and correct a few nits reported by Peter Wemm. 1998-05-06 01:45:55 +00:00
bus_at386.h Implement bus_dmamem_* functions and correct a few nits reported by Peter Wemm. 1998-05-06 01:45:55 +00:00
bus_dma.h Implement bus_dmamem_* functions and correct a few nits reported by Peter Wemm. 1998-05-06 01:45:55 +00:00
bus_memio.h Implementation of Bus Space for FreeBSD-x86. 1998-01-15 07:32:56 +00:00
bus_pio.h Implementation of Bus Space for FreeBSD-x86. 1998-01-15 07:32:56 +00:00
bus.h Implement bus_dmamem_* functions and correct a few nits reported by Peter Wemm. 1998-05-06 01:45:55 +00:00
clock.h Remove special handling for resuming clock interrupt when using APIC_IO. 1998-03-05 21:45:53 +00:00
cpu.h Don't include <machine/cputypes.h> or declare cputype/class interfaces 1997-10-28 11:43:57 +00:00
cpufunc.h Don't pretend to support ix86's with 16-bit ints by using longs 1998-07-11 04:58:25 +00:00
cputypes.h Add CPU_PII to the list. 1998-05-22 00:03:23 +00:00
db_machdep.h Backed out rev.1.5. if %cs is bad, %eip may be bad, but this is no longer 1997-03-28 12:46:52 +00:00
elf.h Revamp the ELF include files to better support architecture-independent 1998-08-16 03:03:38 +00:00
exec.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
float.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
floatingpoint.h Cast return values to the appropriate fp_*_t. Note that the man page 1998-04-27 14:17:30 +00:00
fpu.h Removed unused #includes and a stale forward declaration. 1997-07-20 11:06:44 +00:00
frame.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
ieeefp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
md_var.h Don't pretend to support ix86's with 16-bit ints by using longs just to 1998-07-11 05:59:35 +00:00
mptable.h pmap.c: 1998-08-16 00:41:40 +00:00
npx.h Removed unused #includes and a stale forward declaration. 1997-07-20 11:06:44 +00:00
pcb_ext.h A couple of missing doscmd header files. Messed up again. Now can 1997-08-09 04:55:05 +00:00
pcb.h Ifdefed some SMP and VM86 code. Note that although VM86 is not a global 1998-02-03 21:27:50 +00:00
pci_cfgreg.h Completely replace the PCI bus driver code to make it better reflect 1997-05-26 15:08:43 +00:00
pcpu.h Some cleanups related to timecounters and weird ifdefs in <sys/time.h>. 1998-05-28 09:30:28 +00:00
pmap.h Remove bogus comment that teleported in from sys/i386/i386/mp_machdep.c. 1998-06-21 14:08:27 +00:00
proc.h Convert md_regs from an int[] to a struct trapframe *. It simplifies 1997-05-07 19:55:13 +00:00
profile.h Changed to the C9x draft spelling of the (unsigned) integral type 1998-07-14 05:09:48 +00:00
psl.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ptrace.h Disallow reading the current kernel stack. Only the user structure and 1998-05-19 00:00:14 +00:00
reg.h Preserve %fs and %gs across context switches. This has a relatively low 1997-06-07 04:36:10 +00:00
reloc.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
segments.h Revert my previous commit about using CS_SECURE macro. 1997-08-21 06:33:04 +00:00
setjmp.h Suggested by: bde 1998-01-20 09:09:24 +00:00
signal.h VM86 kernel support. 1997-08-09 00:04:06 +00:00
smp.h Add forwarding of roundrobin to other cpus. This gives a more regular 1998-05-17 22:12:14 +00:00
specialreg.h Defined CCR6 and CCR7 (configuration registers of M2 CPU.) 1998-03-04 11:39:16 +00:00
sysarch.h u_int --> unsigned int, remove (now unneeded) <sys/types.h> 1998-07-28 15:22:51 +00:00
trap.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tss.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
varargs.h Fixed va_arg() to work for small args (as in stdarg.h). 1997-06-21 16:20:55 +00:00
vmparam.h Increased MAXTSIZ to 128MB...there are binaries that get quite large. 1998-06-12 09:10:22 +00:00