Re: Accessing BIOS memory from user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 12, 2002 at 06:56:58AM -0000, Pichai  Raghavan wrote:
> My board is having 8MB of memory of which 2 MB is for the BIOS. I am
> loading Linux at 2 MB but at initialisation time I give all 8MB for
> Linux. Linux marks the 1st 2MB as non-usable and makes use of the
> rest of the 6MB.
> 
> I have a requirement to access the 1st 2MB directly from the user
> space. Can anyone give me ideas as to how to do this?
> 
> Is /dev/kmem a possible candidate? I am not sure how kmem behaves for
> BIOS memory.

Check out how Dosemu maps the VGA BIOS (see www.dosemu.org).


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux