1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/conf
Poul-Henning Kamp b39be1b35c Add two new functions to convert FAT filesystem format timestamps
to and from struct timespec, to replace the crummy conversion
function which have been copy&pasted into three different
filesystems already.

Apart from general crummyness as indicated by code like:

	for (year = 1970;; year++) {
		inc = year & 0x03 ? 365 : 366;
		if (days < inc)
			break;
		days -= inc;
	}

They also contain specialized crummyness which tries to compensate
for the general crummyness by caching recent conversion results,
with no regard for locking or consistency.

These replacement functions are smaller, O(1) and handle the Y2.1K
leap-year correctly.

Ideally, these functions should live in a module of their own,
which the three offending filesystems would depend on, but the
size is 877 bytes of code (on i386), so that would be false
economy.
2006-10-22 18:19:08 +00:00
..
defines
files Add two new functions to convert FAT filesystem format timestamps 2006-10-22 18:19:08 +00:00
files.amd64 MFP4 (with some minor changes): 2006-10-15 14:22:14 +00:00
files.arm Add remote GDB bits for arm. 2006-07-14 00:50:51 +00:00
files.i386 MFP4 (with some minor changes): 2006-10-15 14:22:14 +00:00
files.ia64 Move default GEOM classes from files.ia64, where they were marked 2006-07-17 20:02:51 +00:00
files.pc98 MFi386: revision 1.567 (add linux_aio.c). 2006-10-16 02:26:06 +00:00
files.powerpc Remove file that snuck in accidentally in Marcel's gdb commit. 2006-08-25 00:21:48 +00:00
files.sparc64 add ath_hal glue 2006-03-14 22:40:44 +00:00
files.sun4v kernel clean up to make the sun4v kernel build 2006-10-09 04:45:19 +00:00
kern.mk Create new dialect knob, as setting the language dialect isn't a warning flag. 2006-06-29 21:15:25 +00:00
kern.post.mk - Remove include links only when .depend is also removed, so that 2006-10-13 22:28:14 +00:00
kern.pre.mk Define an empty C_DIALECT in case of "icc", just in case. 2006-10-13 22:29:06 +00:00
kmod_syms.awk
kmod.mk Sort MFILES list 2006-10-20 07:31:15 +00:00
ldscript.amd64
ldscript.arm Create a non-elf pure binary version of the kernel as well. 2005-11-24 02:25:49 +00:00
ldscript.i386
ldscript.ia64
ldscript.powerpc
ldscript.sparc64
Makefile.amd64 Version 600004 is better than 700000 given other changes that are in 2005-11-28 17:51:31 +00:00
Makefile.arm Only use -mno-apcs-frame if DDB is not in the kernel, as it prevent the 2006-07-24 22:09:47 +00:00
Makefile.i386 Set MACHINE to i386(pc98). This fixes cross-building. 2006-01-29 03:32:19 +00:00
Makefile.ia64 Version 600004 is better than 700000 given other changes that are in 2005-11-28 17:51:31 +00:00
Makefile.pc98 Set MACHINE to i386(pc98). This fixes cross-building. 2006-01-29 03:32:19 +00:00
Makefile.powerpc Version 600004 is better than 700000 given other changes that are in 2005-11-28 17:51:31 +00:00
Makefile.sparc64 Version 600004 is better than 700000 given other changes that are in 2005-11-28 17:51:31 +00:00
Makefile.sun4v placate Grim Reaper with sun4v support 2006-10-05 06:14:28 +00:00
makeLINT.mk
makeLINT.sed
newvers.sh
NOTES Fix whitespace 2006-10-21 04:13:20 +00:00
options Added the GEOM_CACHE option. 2006-10-06 10:43:42 +00:00
options.amd64 Remove sio(4) and related options from MI files to amd64, i386 2006-07-29 18:38:54 +00:00
options.arm Finally bring it support for the i80219 XScale processor. 2006-08-24 23:51:28 +00:00
options.i386 Remove sio(4) and related options from MI files to amd64, i386 2006-07-29 18:38:54 +00:00
options.ia64 o Move ISA specific code from ppc.c to ppc_isa.c -- a bus front- 2006-04-24 23:31:51 +00:00
options.pc98 Remove sio(4) and related options from MI files to amd64, i386 2006-07-29 18:38:54 +00:00
options.powerpc
options.sparc64
options.sun4v placate Grim Reaper with sun4v support 2006-10-05 06:14:28 +00:00
systags.sh Use a simpler way to reach the <machine> include dir, which should 2005-12-03 21:37:54 +00:00