CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2010/07/25 15:43:38
Modified files: sys/arch/i386/i386: acpi_machdep.c apm.c autoconf.c cpu.c lapic.c machdep.c sys/arch/i386/include: cpu.h i82489var.h sys/arch/i386/isa: clock.c sys/arch/amd64/amd64: acpi_machdep.c autoconf.c cpu.c lapic.c machdep.c sys/arch/amd64/include: cpu.h i82489var.h sys/arch/amd64/isa: clock.c Log message: in the clock drivers, seperate the soft-state and hard-state which was all jumbled up in the same functions. the rtc (mc chip) and clock (i8243) startup was also mixed up. they the soft state and hardware state can be started in the right order, and it is easy to restart just the neccessary parts upon resume. tested in numerous cases: (apic, pic) * (GENERIC.MP, GENERIC) * (mp, non-mp) * (i386, amd64) ok kettenis