Hi Ard, On 26/01/15 19:03, Ard Biesheuvel wrote: > +RETURN_STATUS > +EFIAPI > +SerialPortInitialize ( > + VOID > + ) > +{ > + mXenConsoleEventChain.port = (UINT32)XenHypercallHvmGetParam > (HVM_PARAM_CONSOLE_EVTCHN); > + mXenConsoleInterface = (struct xencons_interface *)(UINTN) > + (XenHypercallHvmGetParam (HVM_PARAM_CONSOLE_PFN) << EFI_PAGE_SHIFT);
IIRC, x86 PVH is using a different way to get the console PFN. It might be good to add a comment stating we only support x86 HVM and ARM guest here. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel