835bd1ce62
I decided to do this for every hardclock() call instead of lazily in microtime(). The lazy method is simpler but has more overhead if microtime() is called a lot. CPU_THISTICKLEN() is now a no-op and should probably go away. Previously it did nothing directly but had the side effect of setting i586_last_tick for CPU_CLOCKUPDATE() and i586_avg_tick for debugging. CPU_CLOCKUPDATE() now uses a better method and i586_avg_tick is too much trouble to maintain. Reduced nesting of #includes in the usual case. Increased nesting of #includes when CLOCK_HAIR is defined. This is a kludge to get typedefs for inline functions only when the inline functions are used. Normally only kern_clock.c defines this. kern_clock.c can't include the i386 headers directly. Removed unused LOCORE support. |
||
---|---|---|
.. | ||
pc | ||
_limits.h | ||
ansi.h | ||
apm_bios.h | ||
apm_segments.h | ||
asc_ioctl.h | ||
asmacros.h | ||
bootinfo.h | ||
cdk.h | ||
clock.h | ||
comstats.h | ||
conf.h | ||
cons.h | ||
console.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
cronyx.h | ||
db_machdep.h | ||
endian.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
frame.h | ||
gsc.h | ||
ieeefp.h | ||
in_cksum.h | ||
ioctl_ctx.h | ||
ioctl_fd.h | ||
ioctl_meteor.h | ||
ipl.h | ||
joystick.h | ||
limits.h | ||
lpt.h | ||
md_var.h | ||
mouse.h | ||
mtpr.h | ||
npx.h | ||
param.h | ||
pcaudioio.h | ||
pcb.h | ||
pcvt_ioctl.h | ||
perfmon.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
ptrace.h | ||
qcam.h | ||
random.h | ||
reg.h | ||
reloc.h | ||
segments.h | ||
si.h | ||
signal.h | ||
soundcard.h | ||
speaker.h | ||
specialreg.h | ||
spigot.h | ||
spl.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
tss.h | ||
types.h | ||
ultrasound.h | ||
varargs.h | ||
vmparam.h | ||
wtio.h |