All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Stefan Berger <stefanb@us.ibm.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] [Firmware] TCG BIOS extensions for the Bochs BIOS
Date: Tue, 12 Dec 2006 15:53:16 +0000	[thread overview]
Message-ID: <C1A480EC.5BA2%keir@xensource.com> (raw)
In-Reply-To: <OF922381FA.70A772B0-ON85257242.00533DEA-85257242.0054B5AF@us.ibm.com>


[-- Attachment #1.1: Type: text/plain, Size: 1196 bytes --]

On 12/12/06 3:25 pm, "Stefan Berger" <stefanb@us.ibm.com> wrote:

> Since I am running out of space in the BIOS segment now while converting the
> functions to 'C'...
> Do you know of some good 'constructs' that can be left in the rombios as
> markers for linking the two pieces? I'd like to start with lifting up a single
> function into 32 bit space and then continuously put more up there, but get
> the linking right. Probably funneling everything through a single function and
> demultiplexing in 32 bit space is not what we would want.
> 
> I suppose HVMloader will have to carry a relocateable file (-fPIC) and be able
> to re-locate it to whatever memory could be reserved.

How about just have a table below 1MB, indexed by function id (where
function ids also are statically allocated too). This table will be produced
as part of the building and linking of the 32-bit extensions (it¹ll probably
be a C array of pointers, in its own data section which the linker will know
to place at the very start of the extension ROM): it can then be patched
into the rombios at compile time, or copied to a pre-decided address below
1MB by hvmloader at boot time.

 -- Keir


[-- Attachment #1.2: Type: text/html, Size: 1866 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

      reply	other threads:[~2006-12-12 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07 22:04 [PATCH] [Firmware] TCG BIOS extensions for the Bochs BIOS Stefan Berger
2006-12-08  9:24 ` Keir Fraser
2006-12-08 13:30   ` Stefan Berger
2006-12-08 13:36     ` Keir Fraser
2006-12-11 15:26       ` Stefan Berger
2006-12-11 15:43         ` Keir Fraser
2006-12-12 15:25           ` Stefan Berger
2006-12-12 15:53             ` Keir Fraser [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=C1A480EC.5BA2%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=stefanb@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /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.