grub-devel
[Top][All Lists]
Advanced

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

Re: map command for grub2 draft


From: Marco Gerards
Subject: Re: map command for grub2 draft
Date: Fri, 15 Jun 2007 20:22:16 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

adrian15 <address@hidden> writes:

> adrian15 escribió:
>> 1st) Where to save an array?
>> =============================
>>
>>     If I mimic the grub legacy map command I need to save an array with the
>> map definitions.
>>
>>     static unsigned short bios_drive_map[DRIVE_MAP_SIZE + 1];
>>         So that each time I call something like:
>>     map (hd0) (hd1)
>>     it modifies this vector.
>>
>> Any example on where should I define this vector so that I can use it
>> from each command ?
>
> I ask the question again.

What is this vector supposed to do?  Do you really need it outside
map.c?

Can you describe the design of the map command?

--
Marco






reply via email to

[Prev in Thread] Current Thread [Next in Thread]