From owner-freebsd-mobile Tue Apr 30 20:36:26 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 6560237B405 for ; Tue, 30 Apr 2002 20:36:23 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g413aMH24997; Tue, 30 Apr 2002 21:36:22 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g413aKb88684; Tue, 30 Apr 2002 21:36:20 -0600 (MDT) (envelope-from imp@village.org) Date: Tue, 30 Apr 2002 21:36:11 -0600 (MDT) Message-Id: <20020430.213611.23716977.imp@village.org> To: john@utzweb.net Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: is there a technical reason for apm or pnp to NOT be klds? From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: John Utz writes: : 7. discover that apm isnt a KLD either. :-( : : 8. wonder why apm isnt a KLD... : : 9. decide to ask list. apm is hard to make a kld. There's a number of things that we do differently if apm is in the kernel, since apm is a known rogue when it comes to timing things. Since the clock attaches well before apm, it is hard to go back and retro-fit things to behave properly. With enough work, you might be able to pull it off. PNPBIOS I think is similar, but I don't know it well enough. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message