[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] EPS Signature
It doesn't appear obviously incorrect. K. On 12/2/07 02:36, "Kaushik Barde" <Kaushik_Barde@xxxxxxxxxxx> wrote: > > > But is the usage HYPERVISOR_update_descriptor(...) appropriate? > > -Kaushik > > -----Original Message----- > From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] > Sent: Sunday, February 11, 2007 4:58 PM > To: Kaushik Barde; Ian Pratt; Xen devel list > Subject: Re: [Xen-devel] EPS Signature > > On 11/2/07 23:39, "Kaushik Barde" <Kaushik_Barde@xxxxxxxxxxx> wrote: > >> gdt_table = get_cpu_gdt_table(cpu); >> l_entry_ma = virt_to_bus(&(gdt_table[l_Request.entryNum])); >> l_desc_64 = *( (u64 *) &l_Desc); > > This should be fine, assuming gdt_table is a normal kernel virtual > address > (e.g., returned by kmalloc()). I/O memory is a different matter in Xen, > in > that virt_to_bus() won't work. In fact the same restriction holds in > native > Linux as well (I/O memory shouldn't be virt_to_bus()ed). > > -- Keir > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |