Date: Fri, 13 May 2005 00:52:21 +0100 From: Bruce M Simpson <bms@spc.org> To: freebsd-hackers@FreeBSD.org Subject: Re: Accessing BIOS memory range Message-ID: <20050512235221.GA37248@empiric.icir.org> In-Reply-To: <20050512195810.GA61334@skatecity> References: <6.2.1.2.2.20050512180519.03403540@202.179.0.80> <20050512195810.GA61334@skatecity>
next in thread | previous in thread | raw e-mail | index | archive | help
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 = ((0x40<<4) | 0x6C)). Just use /dev/mem. It will do what you want. Look at src/tools/tools/pirtool for a simple example. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050512235221.GA37248>