|
|
|
|
|
|
|
|
|
|
xen-devel
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] xensource (pci) device id's?, (continued)
- Re: [Xen-devel] xensource (pci) device id's?, Keir Fraser
- [Xen-devel] EPS Signature, Kaushik Barde
- RE: [Xen-devel] EPS Signature, Ian Pratt
- [Xen-devel] GDT access from DOM-0 driver, Kaushik Barde
- RE: [Xen-devel] EPS Signature, Kaushik Barde
- Re: [Xen-devel] EPS Signature, Keir Fraser
- RE: [Xen-devel] EPS Signature, Kaushik Barde
- Re: [Xen-devel] EPS Signature,
Keir Fraser <=
- RE: [Xen-devel] EPS Signature, Kaushik Barde
- Re: [Xen-devel] EPS Signature, Keir Fraser
- Re: [Xen-devel] EPS Signature, Andrew D. Ball
- Re: [Xen-devel] xensource (pci) device id's?, Gerd Hoffmann
- RE: [Xen-devel] xensource (pci) device id's?, Zulauf, John
- RE: [Xen-devel] xensource (pci) device id's?, Ian Campbell
- Re: [Xen-devel] xensource (pci) device id's?, Keir Fraser
- Re: [Xen-devel] xensource (pci) device id's?, Gerd Hoffmann
- Re: [Xen-devel] xensource (pci) device id's?, Keir Fraser
|
|
|
|
|