From: "Javier Martín" <lordhabbit@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Drivemap module
Date: Wed, 16 Jul 2008 17:39:03 +0200 [thread overview]
Message-ID: <1216222743.13612.24.camel@localhost> (raw)
In-Reply-To: <87lk0gfv7d.fsf@xs4all.nl>
[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]
El sáb, 05-07-2008 a las 13:04 +0200, Marco Gerards escribió:
> Javier Martín <lordhabbit@gmail.com> writes:
>
> > Just an updated version of the patch that adds support for device-like
> > names instead of raw BIOS disk numbers, i.e. this is now supported:
> > grub> drivemap (hd0) (hd1)
> > In addition to the already supported:
> > grub> drivemap (hd0) 0x81
> > The effect is the same: the second BIOS hard drive will map to (hd0)
> > through the installed int13h routine. The new syntax does not require
> > the target device name to exist (hd1 need not exist in my example), and
> > the parsing is very simple: it accepts names like (fdN) and (hdN) with
> > and without parenthesis, and with N ranging from 0 to 127, thus allowing
> > the full 0x00-0xFF range even though most BIOS-probing OSes don't bother
> > going any further than fd7 and hd7 respectively.
>
> Great! Can you please send in a changelog entry?
>
> --
> Marco
What about this:
* commands/i386/pc/drivemap.c : New file, main part of the new
drivemap module allowing BIOS drive remapping not unlike the
legacy "map" command. This allows to boot OSes with boot-time
dependencies on the particular ordering of BIOS drives or
trusting their own to be 0x80, like Windows XP, with
non-standard boot configurations.
* commands/i386/pc/drivemap_int13h.S : New file, INT 13h handler
for the drivemap module. Installed as a TSR routine by
drivemap.c, performs the actual redirection of BIOS drives.
* conf/i386-pc.rmk : Added the new module
* include/grub/loader.h : Added a "just-before-boot" callback
infrastructure used by drivemap.mod to install the INT13 handler
only when the "boot" command has been issued.
* kern/loader.c : Implement the preboot-hook described
By the way, I sent the data to the "assign" mail as you instructed me
to, and I've been told I'll receive some GNU copyright assignment
documents to sign-and-return in a few days.
[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
next prev parent reply other threads:[~2008-07-16 15:39 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 2:12 [PATCH] Drivemap module Javier Martín
2008-07-05 11:04 ` Marco Gerards
2008-07-16 15:39 ` Javier Martín [this message]
2008-07-20 19:40 ` Marco Gerards
2008-07-21 0:55 ` Javier Martín
2008-07-21 11:07 ` Javier Martín
2008-07-22 21:32 ` Robert Millan
2008-07-31 19:01 ` Marco Gerards
2008-08-03 23:29 ` Javier Martín
2008-08-04 20:51 ` Marco Gerards
2008-08-04 23:10 ` Javier Martín
2008-08-05 0:50 ` Isaac Dupree
2008-08-05 2:38 ` Javier Martín
2008-08-05 11:31 ` Marco Gerards
2008-08-05 11:23 ` Marco Gerards
2008-08-05 17:18 ` Colin D Bennett
2008-08-05 11:28 ` Marco Gerards
2008-08-05 16:39 ` Javier Martín
2008-08-09 15:33 ` Javier Martín
2008-08-13 10:13 ` Marco Gerards
2008-08-13 12:16 ` Javier Martín
2008-08-13 13:00 ` Robert Millan
2008-08-13 14:28 ` Javier Martín
2008-08-13 14:51 ` Marco Gerards
2008-08-13 15:14 ` Robert Millan
2008-08-13 15:57 ` Marco Gerards
2008-08-13 22:38 ` Javier Martín
2008-08-14 17:15 ` Marco Gerards
2008-08-14 22:17 ` Javier Martín
2008-08-13 13:01 ` Robert Millan
2008-08-05 17:15 ` Colin D Bennett
-- strict thread matches above, loose matches on Subject: below --
2008-08-08 13:43 Viswesh S
2008-08-07 12:15 Viswesh S
2008-08-06 14:43 Viswesh S
2008-08-06 17:31 ` Javier Martín
2008-08-08 13:20 ` Felix Zielcke
2008-06-10 20:09 Javier Martín
2008-06-10 20:23 ` Vesa Jääskeläinen
2008-06-10 21:31 ` Javier Martín
2008-06-12 20:31 ` Pavel Roskin
2008-06-12 22:43 ` Javier Martín
2008-06-12 22:58 ` Colin D Bennett
2008-06-13 1:00 ` Pavel Roskin
2008-06-13 4:09 ` Colin D Bennett
2008-06-13 1:37 ` Pavel Roskin
2008-06-13 2:29 ` Javier Martín
2008-06-11 14:44 ` Marco Gerards
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=1216222743.13612.24.camel@localhost \
--to=lordhabbit@gmail.com \
--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.