Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 1998 23:54:13 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        nate@mt.sri.com (Nate Williams)
Cc:        bde@zeta.org.au, nate@mt.sri.com, tlambert@primenet.com, current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: VM86 and APM
Message-ID:  <199809282354.QAA13819@usr04.primenet.com>
In-Reply-To: <199809281606.KAA17209@mt.sri.com> from "Nate Williams" at Sep 28, 98 10:06:33 am

next in thread | previous in thread | raw e-mail | index | archive | help
> It only sets apm_version *IF* the APM BIOS is found.  However, the
> original poster mentioned that his APM BIOS can't be found, not that he
> has 'less than perfect' clocks.

Actually, he said without VM86, his APM BIOS *IS* found and with
VM86, his APM BIOS is *NOT* found...


> > Misconfigured systems (with apm configured but disabled) always get the
> > i8254 timecounter which seems to be buggier than the TSC timecounter.
> 
> Actually, my older FreeBSD systems that use the i8254 are *much* more
> accurate than the newer systems that use the Pentium counters and such.
> (Verified using XNTPD.)  But, one person's experience doesn't make it
> a fact, just a statistic. :)

How about two person's experience?  8-).


> However, Bruce is correct that *IF* the APM BIOS is both configured in
> the BIOS *AND* disabled in UserConfig then some of the side-effects ares
> not completely disabled in FreeBSD.

Right.  I was merely suggesting that the apm_setup call via the VM86
in locore.s is obviously what's failing to find the original poster's
APM, and thought that perhaps the VM86 code and the call placement
are not so much to blame as the BIOS code that is being called
through VM86.

You disabused me of that idea when you stated forcefully that the
APM code with VM86 disabled still makes VM86 calls, but using its
own little VM86 stubs, instead.

Now it looks to me as if the problem is in the call location, or in
the VM86 code implementation.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

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



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