Re: Accessing BIOS memory range

2005-05-13 Thread M. Warner Losh
A trivial driver would fit your needs. Warner ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Accessing BIOS memory range

2005-05-13 Thread Jeremie Le Hen
On Thu, May 12, 2005 at 09:58:10PM +0200, alexander wrote: [...] Please, when starting a new thread, avoid replying an existing one, you mailer will add the In-Reply-To header and this is a mess when sorting mails by threads. It is also convenient to write lines smaller than 80 columns (say

Re: Accessing BIOS memory range

2005-05-13 Thread alexander
On Fri May 13 05, Jeremie Le Hen wrote: On Thu, May 12, 2005 at 09:58:10PM +0200, alexander wrote: [...] Please, when starting a new thread, avoid replying an existing one, you mailer will add the In-Reply-To header and this is a mess when sorting mails by threads. It is also

Accessing BIOS memory range

2005-05-12 Thread alexander
Hi there. I'm writing a little app in 32 bit x86 (386 minumum) assembly, where I need to access some memory in the BIOS range. The real address is 40h:6Ch (virtual = ((0x404) | 0x6C)). Gaining access to the I/O ports isn't a big problem (open fd for /dev/io), but I don't know how to gain

Re: Accessing BIOS memory range

2005-05-12 Thread Bruce M Simpson
On Thu, May 12, 2005 at 09:58:10PM +0200, alexander wrote: I'm writing a little app in 32 bit x86 (386 minumum) assembly, where I need to access some memory in the BIOS range. The real address is 40h:6Ch (virtual = ((0x404) | 0x6C)). Just use /dev/mem. It will do what you want. Look at