From owner-freebsd-hackers Wed Oct 13 13:31:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 76EE81519C for ; Wed, 13 Oct 1999 13:31:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id NAA00872; Wed, 13 Oct 1999 13:22:01 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199910132022.NAA00872@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith Cc: jkruger@oskar.nanoteq.co.za, freebsd-hackers@freebsd.org Subject: Re: Generating interrupts ? In-reply-to: Your message of "Wed, 13 Oct 1999 13:18:31 PDT." <199910132018.NAA00823@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Oct 1999 13:22:01 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > See sys/i386/bios.c for how to make BIOS calls out of the kernel. But > note that obtaining this information in the kernel is too late. See > sys/boot/i386/libi386/biosdisk.c for how to call the BIOS in the > loader, where you have a chance to obtain this information and use it > to decrypt your kernel. I forgot to mention that there's a simpler example of calling the real-mode BIOS in sys/i386/apm/apm.c (on -current), which is probably what you want. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message