This is a discussion on Real mode BIOS call in x86_64 Linux environment within the Linux General forums, part of the Linux Forums category; smsabu2002@yahoo.com wrote: > I have an application which gets Video controller information using > VESA BIOS routines. It ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
smsabu2002@yahoo.com wrote:
> I have an application which gets Video controller information using > VESA BIOS routines. It makes use of LRMI library for making real mode > BIOS call in x86_32 bit Linux machine. > > Now, I need to port this application for x64 Linux. But, LRMI is > limited only to x86_32 enviornment. Is there any other equivalent > libarary for x64 porting ? > > Thanks in advance, > > Arun Its going to be a real trick calling a real mode bios routine from x86_64 protected mode given that the register sizes, meanings, stack word widths are all different. I would guess that switching to real mode from within linux would make for a mess unless done by the kernel, and even then, it wouldnt be a good thing. I'm really sure, that whatever data/information you are trying to gather can be gotten from /proc, /sys or somewhere like that, or possibly even from carious files /etc. Dont re-invent the wheel if you dont have to. Also look up SMBios aka DMI bios Eric |
![]() |
| Thread Tools | |
| Display Modes | |
|
|