WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-uns

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Bei Guan <gbtju85@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-unstable HVM
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 09 Aug 2011 11:34:28 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "edk2-devel@xxxxxxxxxxxxxxxxxxxxx" <edk2-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Andrei Warkentin <andreiw@xxxxxxxxxxxx>, Keir Fraser <keir.xen@xxxxxxxxx>, Jordan Justen <jljusten@xxxxxxxxx>
Delivery-date: Tue, 09 Aug 2011 03:35:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=JVKVkMdgSHqli/AufQmpqIUuzBbXoFCn8vEx+Z/XTGw=; b=Ov3dT6HIIa9NMSyuuhiUhnvp1v105xTFS04+c1gq959qFTeDJxdn6s4cIxdt7bXQU5 BVNmlml2U1KwcYlUmTmpiZjhy/V9bXz/qu/5wPDNzbGk34c+DPDAT2RisstEeLZWadkY yz/QmOReWc95kFDrTveeviH6XS7TV8uWqXrTc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1312885472.26263.82.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcxWf+ph/K+IQ9E3+0W18AT7PJ1dGA==
Thread-topic: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-unstable HVM
User-agent: Microsoft-Entourage/12.30.0.110427
On 09/08/2011 11:24, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:

>> +static void ovmf_init_vm86_tss(void)
>> +{
>> +    void *tss;
>> +    struct xen_hvm_param p;
>> +
>> +    tss = mem_alloc(128, 128);
>> +    memset(tss, 0, 128);
>> +    p.domid = DOMID_SELF;
>> +    p.index = HVM_PARAM_VM86_TSS;
>> +    p.value = virt_to_phys(tss);
>> +    hypercall_hvm_op(HVMOP_set_param, &p);
>> +    printf("vm86 TSS at %08lx\n", virt_to_phys(tss));
>> +}
> 
> I think this can be pulled out of here and rombios.c and made common
> again, it seems like it is needed for all BIOSes and is not ROMBIOS
> specific as I first thought. Can you write up that patch or shall I?

I've done it.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>