[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2 of 3] Enable UEFI BIOS(OVMF) support in Xen-unstable HVM
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |