freebsd-nq/sys/i386/i386
Poul-Henning Kamp 9b4a8ab7ba Now that all platforms use genclock, shuffle things around slightly
for better structure.

Much of this is related to <sys/clock.h>, which should really have
been called <sys/calendar.h>, but unless and until we need the name,
the repocopy can wait.

In general the kernel does not know about minutes, hours, days,
timezones, daylight savings time, leap-years and such.  All that
is theoretically a matter for userland only.

Parts of kernel code does however care: badly designed filesystems
store timestamps in local time and RTC chips almost universally
track time in a YY-MM-DD HH:MM:SS format, and sometimes in local
timezone instead of UTC.  For this we have <sys/clock.h>

<sys/time.h> on the other hand, deals with time_t, timeval, timespec
and so on.  These know only seconds and fractions thereof.

Move inittodr() and resettodr() prototypes to <sys/time.h>.
Retain the names as it is one of the few surviving PDP/VAX references.

Move startrtclock() to <machine/clock.h> on relevant platforms, it
is a MD call between machdep.c/clock.c.  Remove references to it
elsewhere.

Remove a lot of unnecessary <sys/clock.h> includes.

Move the machdep.disable_rtc_set sysctl to subr_rtc.c where it belongs.
XXX: should be kern.disable_rtc_set really, it's not MD.
2008-04-22 19:38:30 +00:00
..
apic_vector.s Evidently FreeBSD has long relied on the compiler to treat structures 2006-12-17 05:07:01 +00:00
atomic.c
autoconf.c Create nexus in configure_first() instead of in configure(). This 2005-05-29 23:44:22 +00:00
bios.c style nit 2007-04-19 09:18:51 +00:00
bioscall.s
bpf_jit_machdep.c - Explicitly validate an empty filter to match bpf_filter() comment[1]. 2006-01-03 20:26:03 +00:00
bpf_jit_machdep.h Fix ZERO_EDX() macro from the previous commit. It was emitting 2005-12-06 20:11:07 +00:00
busdma_machdep.c If we're returning successfully from bus_dmamem_alloc, don't record a KTR 2008-03-28 15:28:20 +00:00
db_disasm.c
db_interface.c
db_trace.c Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
dump_machdep.c Teach the dump and minidump code to respect the maxioszie attribute of 2008-02-15 06:26:25 +00:00
elan-mmcr.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
elf_machdep.c Allow FreeBSD's native ELF image activators to execute shared libraries the 2007-05-22 02:22:58 +00:00
exception.s Kernel and hwpmc(4) support for callchain capture. 2007-12-07 08:20:17 +00:00
gdb_machdep.c
genassym.c MFP4: Add assembly language symbols used by hwpmc(4)'s callchain capture. 2007-11-23 03:03:30 +00:00
geode.c Add support for PC Engines ALIX boards. 2008-02-10 19:14:42 +00:00
i686_mem.c The variable MTRR registers actually have variable-sized PhysBase and 2008-03-12 22:09:19 +00:00
identcpu.c - Remove the old smp cpu topology specification with a new, more flexible 2008-03-02 07:58:42 +00:00
in_cksum.c Fold multiple asm statements into one so that the compiler at a certain 2007-10-20 22:18:42 +00:00
initcpu.c Support the VIA C7 Eden CPU and treat it just like a C7 Esther. We may 2008-02-25 22:42:33 +00:00
intr_machdep.c - Add the interrupt vector number to intr_event_create so MI code can 2008-04-11 03:26:41 +00:00
io_apic.c Move a warning under bootverbose as no machines that trigger it have ended 2007-06-05 18:57:48 +00:00
io.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
k6_mem.c Add missed parentheses 2008-03-13 09:52:48 +00:00
legacy.c Rework how the nexus(4) device works on x86 to better handle the idea of 2008-03-13 20:39:04 +00:00
local_apic.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
locore.s Drastically simplify the i386 pcpu backend by merging parts of the 2007-11-13 23:00:24 +00:00
longrun.c
machdep.c Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
mem.c Fix race conditions. 2006-01-23 15:46:09 +00:00
minidump_machdep.c Teach the dump and minidump code to respect the maxioszie attribute of 2008-02-15 06:26:25 +00:00
mp_clock.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
mp_machdep.c Don't break identity mapping set up for ACPI resume path. 2008-04-10 18:38:31 +00:00
mp_watchdog.c Add a new 'why' argument to kdb_enter(), and a set of constants to use 2007-12-25 17:52:02 +00:00
mpboot.s
mptable_pci.c Revamp the MSI/MSI-X code a bit to achieve two main goals: 2007-05-02 17:50:36 +00:00
mptable.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
msi.c Update copyright attribution. 2007-10-24 21:16:22 +00:00
nexus.c Implement a BUS_BIND_INTR() method in the bus interface to bind an IRQ 2008-03-20 21:24:32 +00:00
perfmon.c
pmap.c Correct pmap_copy()'s method for extracting the physical address of a 2008-04-10 16:04:50 +00:00
ptrace_machdep.c Use the method described in IA-32 Intel Architecture Software Developer's 2006-05-30 23:44:21 +00:00
stack_machdep.c Remove duplicate $FreeBSD$ tag. 2007-12-02 21:07:49 +00:00
support.s Assign sizes to assembly language support functions. 2007-08-22 05:06:14 +00:00
swtch.s Assign sizes to assembly language support functions. 2007-08-22 05:06:14 +00:00
symbols.raw
sys_machdep.c Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
trap.c The "free-lance" timer in the i8254 is only used for the speaker 2008-03-26 20:09:21 +00:00
tsc.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
uio_machdep.c
vm86.c Evidently FreeBSD has long relied on the compiler to treat structures 2006-12-17 05:07:01 +00:00
vm86bios.s Evidently FreeBSD has long relied on the compiler to treat structures 2006-12-17 05:07:01 +00:00
vm_machdep.c In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00