Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 10:06:53 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Mike Smith <mike@smith.net.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/conf files.i386 src/sys/i386/i386 mp_clock.c 
Message-ID:  <21408.937814813@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 20 Sep 1999 00:52:55 PDT." <199909200752.AAA29722@dingo.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199909200752.AAA29722@dingo.cdrom.com>, Mike Smith writes:

>>   On PIIX4 based SMP systems use the PMTMR register for timecounting.
>
>You should be using this on all systems with the PIIX4, not just SMP 
>systems.

No, the TSC is far superior on UP, (unless destroyed by APM), it
has roughly 100 times better resolution and is twice as fast to
query.

Once we get the ACPI stuff rolling we can use the PIIX for APM too.

>This is probably also the wrong way to do it, but right now getting the 
>code out there is more important.  The PIIX4 shouldn't be being claimed 
>wholesale as it currently is.

It isn't claimed wholesale, I just figure out the address I'm
interested in and fail the probe so other code can claim the PIIX4.
Kind of hackish.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21408.937814813>