[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Mapping GPIO ports to domU



Hi Ian,

     Thank you very much. The GPIO ports I am referring they belong to  dual address space; one is IO address and the other is memory address space. That is why I am asking for both options. I will try both options whichever works first for me will use that approach.

On Tue, Apr 23, 2013 at 8:41 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Tue, 2013-04-23 at 15:03 +0100, Srinivas Ch wrote:
> Hi Ian,
>
>
>       Thank you. Yeah I am talking about MMIO registers & x86 I/O
> ports.

MMIO registers & x86 I/O ports are two separate things. It sounds like
you are doing MMIO.

>  I am new to xen, can you tell me bit clearly or if there is any
> document link which explain more about iomem and ioport
> configurations.

xl comes with manpages which describe these options and you can find
them either in tree or linked from the wiki.

>  Basically MMIO GPIO port is accessible at physical address
> 0xfed80000. I want to map this address directly to domU, I am okay
> even page exposes other registers as of now.

Then I think the iomem option should do what you need.

Ian.




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.