1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/amd64/isa
Poul-Henning Kamp 227ee8a188 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
..
atpic_vector.S Addition of splsoftvm and a VM SWI to handle bus dma related callbacks. 1998-01-15 07:34:01 +00:00
clock.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
icu_ipl.s Removed the "globl" nature of the vec array. This was left over from the 1997-09-02 19:40:13 +00:00
icu_ipl.S Removed the "globl" nature of the vec array. This was left over from the 1997-09-02 19:40:13 +00:00
icu_vector.s Addition of splsoftvm and a VM SWI to handle bus dma related callbacks. 1998-01-15 07:34:01 +00:00
icu_vector.S Addition of splsoftvm and a VM SWI to handle bus dma related callbacks. 1998-01-15 07:34:01 +00:00
icu.h Moved the SMP declarations of INTREN() and INTRDIS() to the correct header, 1998-01-01 08:47:17 +00:00
intr_machdep.c When entering the apic version of slow interrupt handler, level 1998-03-03 22:56:30 +00:00
intr_machdep.h When entering the apic version of slow interrupt handler, level 1998-03-03 22:56:30 +00:00
isa.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
isa.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nmi.c When entering the apic version of slow interrupt handler, level 1998-03-03 22:56:30 +00:00
npx.c Removed a superstitious fnop() that broke the usefulness of the FPU's 1998-02-15 06:25:26 +00:00
timerreg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vector.s Split vector.s into UP and SMP specific files: 1997-05-26 17:58:27 +00:00
vector.S Split vector.s into UP and SMP specific files: 1997-05-26 17:58:27 +00:00