From owner-freebsd-current Sun Sep 27 18:02:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21893 for freebsd-current-outgoing; Sun, 27 Sep 1998 18:02:12 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA21800 for ; Sun, 27 Sep 1998 18:02:02 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id SAA04373; Sun, 27 Sep 1998 18:01:51 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp03.primenet.com, id smtpd004356; Sun Sep 27 18:01:45 1998 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id SAA08172; Sun, 27 Sep 1998 18:01:41 -0700 (MST) From: Terry Lambert Message-Id: <199809280101.SAA08172@usr05.primenet.com> Subject: Re: VM86 and APM To: nate@mt.sri.com (Nate Williams) Date: Mon, 28 Sep 1998 01:01:41 +0000 (GMT) Cc: tlambert@primenet.com, yokota@zodiac.mech.utsunomiya-u.ac.jp, current@FreeBSD.ORG In-Reply-To: <199809280029.SAA14347@mt.sri.com> from "Nate Williams" at Sep 27, 98 06:29:26 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I think the APM VM86() call will detect this because it uses > > BIOS-specific code that knows about the CMOS setting, but the > > non-VM86() code ignores the CMOS setting (which can cause other, > > interesting problems, like being able to suspend, but the laptop > > not waking up on an event that should result in a "resume"). > > Not. We used to use our own VM86 switcher to do the probe earlier, and > Mike converted to use the GENERIC VM86 switcher. If it worked before, > it *should* work now (modulo any bugs, which is essentially the > problem the poster is pointing out). Mea culpa. The only thing I can hazard a guess on this, then, is that with VM86, the apm stuff is called much earlier in locore.s than it is without it... Perhaps *too* early? 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