Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 1999 13:22:01 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Mike Smith <mike@smith.net.au>
Cc:        jkruger@oskar.nanoteq.co.za, freebsd-hackers@freebsd.org
Subject:   Re: Generating interrupts ? 
Message-ID:  <199910132022.NAA00872@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 13 Oct 1999 13:18:31 PDT." <199910132018.NAA00823@dingo.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




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