freebsd-skq/sys/amd64/include
phk d3d65c6b2e Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.

Use an inline function rather than a macro for timecounter delta.

Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.

Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()

This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.

WARNING:  Programs which muck about with struct proc in userland
will have to be fixed.

Reviewed, but found imperfect by:       bde
1998-05-28 09:30:28 +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 For SMP, use prv_PPAGE1/prv_PMAP1 instead of PADDR1/PMAP1. 1998-05-17 18:53:19 +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 Define some machine characteristics using symbol naming on conventions 1997-08-30 18:59:48 +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 Fixed disordering of busdma* and swi_vm. 1998-02-01 23:00:53 +00:00
mptable.h Add forwarding of roundrobin to other cpus. This gives a more regular 1998-05-17 22:12:14 +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 Attempt to set write combining mode for graphics devices. 1998-05-11 01:06:08 +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 Ifdefed use of a GNU feature. 1998-02-03 20:32:38 +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 Forward declare a union so that this file is self-sufficient. 1998-02-03 20:46:18 +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 Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden 1998-02-23 07:42:43 +00:00