Hi,

> +  //
> +  // GPU passthrough only allows console enablement after ROM image load
> +  //
> +  PlatformInitializeConsole (
> +    XenDetected() ? gXenPlatformConsole : gPlatformConsole);
> +

AmdSev build breaks:

/home/kraxel/projects/edk2/OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c:
 In function ‘PlatformBootManagerBeforeConsole’:
/home/kraxel/projects/edk2/OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c:399:5:
 error: implicit declaration of function ‘XenDetected’ 
[-Werror=implicit-function-declaration]
  399 |     XenDetected() ? gXenPlatformConsole : gPlatformConsole);
      |     ^~~~~~~~~~~
cc1: all warnings being treated as errors

Otherwise it seems to work fine, no bad side effects from calling
PlatformInitializeConsole() twice.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85047): https://edk2.groups.io/g/devel/message/85047
Mute This Topic: https://groups.io/mt/87746240/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to