All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [RFC] Platform information services
Date: Thu, 14 Aug 2008 19:09:01 +0300	[thread overview]
Message-ID: <48A4589D.3040902@nic.fi> (raw)
In-Reply-To: <1218684975.8757.139.camel@localhost>

Javier Martín wrote:
> Hi there everybody,
> 
> I'm opening the RFC because I want to add some kind of infrastructure to
> retrieve the address of system/platform structures. I will explain
> myself: my use case is in i386-pc and for the drivemap module, in which
> a function installs a TSR int13h handler. This requires the function to
> have access to two real mode structures, namely the BIOS Data Area,
> which is based at 0040:0000h; and the Interrupt Vector Table, which
> conventionally starts at 0 but that could have been placed elsewhere by
> the use of the LIDT instruction.

But it is designed to use linear address space for memory so no need to
worry about it. I do not see any reason why there would be paging or
non-linear memory mapping in GRUB 2 (i386-pcbios).

Or did I miss something?

So basically I do not see need for such services. As this does not even
need to be platform independent.

If you need to alter IVT you can modify it on the fly. Though you have
to remember where to use only LOW mem addresses in there.



  reply	other threads:[~2008-08-14 16:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-14  3:36 [RFC] Platform information services Javier Martín
2008-08-14 16:09 ` Vesa Jääskeläinen [this message]
2008-08-14 16:38   ` Javier Martín
2008-08-14 17:41     ` Vesa Jääskeläinen
2008-08-14 21:45       ` Javier Martín
2008-08-14 18:00     ` Robert Millan
2008-08-14 21:29       ` Javier Martín
2008-08-15 16:31         ` Vesa Jääskeläinen
2008-08-15 17:03           ` Javier Martín
2008-08-15 17:14             ` Vesa Jääskeläinen
2008-08-15 17:59               ` Javier Martín
2008-08-15 18:35                 ` Vesa Jääskeläinen
2008-08-15 19:18                   ` Javier Martín
2008-08-15 19:46                     ` Vesa Jääskeläinen
2008-08-15 20:13                       ` Javier Martín
2008-08-15 20:26                         ` Vesa Jääskeläinen
2008-08-15 22:38                     ` Isaac Dupree
2008-08-15 23:06                       ` Javier Martín
2008-08-16  7:03                       ` Vesa Jääskeläinen
2008-08-16 12:20             ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A4589D.3040902@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.