Date: Tue, 23 Jan 2007 08:48:26 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pc98/cbus clock.c src/sys/pc98/pc98 machdep.c Message-ID: <200701230848.l0N8mQor065305@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2007-01-23 08:48:26 UTC FreeBSD src repository Modified files: sys/pc98/cbus clock.c sys/pc98/pc98 machdep.c Log: Oops, pc98 is independent of i386 for clock.c and machdep.c but not for clock.h, so changing th i386 clock.h broke it. MFi386 (not tested): Cleaned up declaration and initialization of clock_lock. It is only used by clock code, so don't export it to the world for machdep.c to initialize. There is a minor problem initializing it before it is used, since although clock initialization is split up so that parts of it can be done early, the first part was never done early enough to actually work. Split it up a bit more and do the first part as late as possible to document the necessary order. The functions that implement the split are still bogusly exported. Cleaned up initialization of the i8254 clock hardware using the new split. Actually initialize it early enough, and don't work around it not being initialized in DELAY() when DELAY() is called early for initialization of some console drivers. This unfortunately moves a little more code before the early debugger breakpoint so that it is harder to debug. The ordering of console and related initialization is delicate because we want to do as little as possible before the breakpoint, but must initialize a console. Revision Changes Path 1.155 +9 -12 src/sys/pc98/cbus/clock.c 1.387 +6 -1 src/sys/pc98/pc98/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701230848.l0N8mQor065305>