Real mode BIOS call in x86_64 Linux environment

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 ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 05-10-2008
Eric
 
Posts: n/a
Default Re: Real mode BIOS call in x86_64 Linux environment

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0