|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 08/17 v5] xen/arm: vpl011: Add a new domctl API to initialize vpl011
Hi Bhupinder, On 22/06/17 08:38, Bhupinder Thakur wrote: Sorry, it just occurred to me that you are using VPL011 in the command name. I think requiring a command per new uart is a bit too much. If we were to support new UART, I would expect a field to tell the type of the UART. Otherwise every time we add a new command, we would have one per UART. DOMCTL can be modified later one. But I would like to get the interface right as we did in other place. + uint32_t cmd; /* XEN_DOMCTL_VUART_OP_* */ + uint32_t console_domid; /* IN */ + xen_pfn_t gfn; /* IN */ + evtchn_port_t evtchn; /* OUT */ I would be useful if you document the structure. The first two are pretty much straightforward, but gfn and evtchn are less. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |