From: Paolo Bonzini <pbonzini@redhat.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH] xen: find a better location for the real-mode trampoline
Date: Tue, 18 Dec 2012 14:22:12 +0100 [thread overview]
Message-ID: <50D06E04.7030904@redhat.com> (raw)
In-Reply-To: <50D078B702000078000B101F@nat28.tlf.novell.com>
Il 18/12/2012 14:07, Jan Beulich ha scritto:
>>>> On 30.11.12 at 09:33, "Jan Beulich" <JBeulich@suse.com> wrote:
>>>>> On 29.11.12 at 18:34, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>> On some machines, the location at 0x40e does not point to the beginning
>>> of the EBDA. Rather, it points to the beginning of the BIOS-reserved
>>> area of the EBDA, while the option ROMs place their data below that
>>> segment.
>>>
>>> For this reason, 0x413 is actually a better source than 0x40e to get
>>> the location of the real-mode trampoline. But it is even better to
>>> fetch the information from the multiboot structure, where the boot
>>> loader has placed the data for us already.
>>
>> I think if anything we really should make this a minimum calculation
>> of all three (sanity checked) values, rather than throwing the other
>> sources out. It's just not certain enough that we can trust all
>> multiboot implementations.
>
> I never saw a response from you on this one - were you
> intending to follow up, or did you (silently) expect us to sort
> this out?
No, just busy. I agree that checking all three is best. However, there
is at least one known case where 0x40e doesn't work, so 0x413 and
multiboot should be enough.
Paolo
next prev parent reply other threads:[~2012-12-18 13:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 17:34 [PATCH] xen: find a better location for the real-mode trampoline Paolo Bonzini
2012-11-30 8:33 ` Jan Beulich
2012-12-07 21:23 ` Konrad Rzeszutek Wilk
2012-12-10 9:34 ` Jan Beulich
2012-12-18 13:07 ` Jan Beulich
2012-12-18 13:22 ` Paolo Bonzini [this message]
2012-12-18 13:27 ` Jan Beulich
2012-12-18 13:28 ` Paolo Bonzini
2012-12-18 13:36 ` Jan Beulich
2012-12-18 13:39 ` Paolo Bonzini
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=50D06E04.7030904@redhat.com \
--to=pbonzini@redhat.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.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.