From: Ian Campbell Subject: Re: [SeaBIOS] [PATCH] xen: actually setup hypercalls. Date: Wed, 20 Jul 2011 10:38:49 +0100 Message-ID: <1311154729.20648.178.camel@zakaz.uk.xensource.com> References: <1310554267-8881-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1310554267-8881-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: seabios@seabios.org List-Id: xen-devel@lists.xenproject.org On Wed, 2011-07-13 at 11:51 +0100, Ian Campbell wrote: > This was somehow dropped during the iterations of the original Xen patches. > It's actually harmless at the moment since there are no users of hypercalls but > patches are being written to support Xen PV block devices which need this. > > It's not clear exactly how early this needs to be but I think it needs to be at > least before init_hw() (since that would detect disk devices). I put it first > in maininit() since the only dependency is malloc(). > > Signed-off-by: Ian Campbell Ping? > --- > src/post.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/src/post.c b/src/post.c > index d98941c..b2f6d51 100644 > --- a/src/post.c > +++ b/src/post.c > @@ -210,6 +210,9 @@ startBoot(void) > static void > maininit(void) > { > + // Setup Xen hypercalls > + xen_init_hypercalls(); > + > // Setup ivt/bda/ebda > init_ivt(); > init_bda(); -- Ian Campbell Ego sum ens omnipotens.