From: "Sebastian Herbszt" <herbszt@gmx.de>
To: "Laurent Vivier" <Laurent.Vivier@bull.net>
Cc: <bochs-developers@lists.sourceforge.net>, <kvm@vger.kernel.org>
Subject: Re: [Bochs-developers] [PATCH][BIOS] Fill IPL tableaccordingdiscovered ATA drives
Date: Tue, 9 Dec 2008 23:50:36 +0100 [thread overview]
Message-ID: <86DD21F097274F32B39EBA6C75AC6800@FSCPC> (raw)
In-Reply-To: <1228730730.4025.2.camel@frecb07144>
Laurent Vivier wrote:
> Le dimanche 07 décembre 2008 à 19:11 +0100, Sebastian Herbszt a écrit :
>> Laurent Vivier wrote:
>> > This patch shows in boot menu only available devices.
>> >
>> > This patch has been tested with Bochs BIOS version from the KVM source tree.
>> >
>> > Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
>> > ---
>> > bios/rombios.c | 54 +++++++++++++++++++++++++++++++++++++-----------------
>> > 1 files changed, 37 insertions(+), 17 deletions(-)
>> >
>> > diff --git a/bios/rombios.c b/bios/rombios.c
>> > index 70b3584..d2a7c09 100644
>> > --- a/bios/rombios.c
>> > +++ b/bios/rombios.c
>> > @@ -1981,18 +1981,6 @@ init_boot_vectors()
>> > memcpyb(IPL_SEG, IPL_TABLE_OFFSET + count * sizeof (e), ss, &e, sizeof (e));
>> > count++;
>> >
>> > - /* First HDD */
>> > - e.type = IPL_TYPE_HARDDISK; e.flags = 0; e.vector = 0; e.description = 0; e.reserved = 0;
>> > - memcpyb(IPL_SEG, IPL_TABLE_OFFSET + count * sizeof (e), ss, &e, sizeof (e));
>> > - count++;
>>
>> We need this bit for the !BX_USE_ATADRV case. Please "#if !BX_USE_ATADRV ... #endif" it
>> instead of removing.
>
> If there is no ATA drive, what is the aim of adding an harddrive in the IPL table ?
I think BX_USE_ATADRV enables the "new" ATA/ATAPI driver. You can still use hard drives with
the older code enabled by BX_USE_ATADRV=0.
- Sebastian
prev parent reply other threads:[~2008-12-09 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 16:20 [PATCH][BIOS] Fill IPL table according discovered ATA drives Laurent Vivier
2008-12-07 18:11 ` [Bochs-developers] [PATCH][BIOS] Fill IPL table accordingdiscovered " Sebastian Herbszt
2008-12-08 10:05 ` Laurent Vivier
2008-12-09 22:50 ` Sebastian Herbszt [this message]
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=86DD21F097274F32B39EBA6C75AC6800@FSCPC \
--to=herbszt@gmx.de \
--cc=Laurent.Vivier@bull.net \
--cc=bochs-developers@lists.sourceforge.net \
--cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox