On 04/09/19 13:08, Anthony PERARD wrote: > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> > --- > OvmfPkg/XenPlatformPei/Platform.h | 5 +++++ > OvmfPkg/XenPlatformPei/Xen.c | 7 +++++++ > 2 files changed, 12 insertions(+) > > diff --git a/OvmfPkg/XenPlatformPei/Platform.h > b/OvmfPkg/XenPlatformPei/Platform.h > index 6ccd5eb66c..5565d47e34 100644 > --- a/OvmfPkg/XenPlatformPei/Platform.h > +++ b/OvmfPkg/XenPlatformPei/Platform.h > @@ -95,6 +95,11 @@ XenDetect ( > VOID > ); > > +BOOLEAN > +XenHvmloaderDetected ( > + VOID > + ); > + > VOID > AmdSevInitialize ( > VOID > diff --git a/OvmfPkg/XenPlatformPei/Xen.c b/OvmfPkg/XenPlatformPei/Xen.c > index 9d9e9f8020..89933ec3e9 100644 > --- a/OvmfPkg/XenPlatformPei/Xen.c > +++ b/OvmfPkg/XenPlatformPei/Xen.c > @@ -202,6 +202,13 @@ XenDetect ( > return FALSE; > } > > +BOOLEAN > +XenHvmloaderDetected ( > + VOID > + ) > +{ > + return (mXenHvmloaderInfo != NULL); > +} > > VOID > XenPublishRamRegions ( >
(1) Please add least one sentence to the commit message body. With that: Acked-by: Laszlo Ersek <ler...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#38950): https://edk2.groups.io/g/devel/message/38950 Mute This Topic: https://groups.io/mt/30998060/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-