diff options
Diffstat (limited to 'EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c')
-rw-r--r-- | EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c b/EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c index e9885b7957..2a36420e47 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c +++ b/EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c @@ -68,6 +68,45 @@ NT_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath1 = { },
gEndEntire
};
+#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
+NT_PLATFORM_GOP_DEVICE_PATH gGopDevicePath0 = {
+ {
+ HARDWARE_DEVICE_PATH,
+ HW_VENDOR_DP,
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ EFI_WIN_NT_THUNK_PROTOCOL_GUID
+ },
+ {
+ HARDWARE_DEVICE_PATH,
+ HW_VENDOR_DP,
+ (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),
+ (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ EFI_WIN_NT_GOP_GUID,
+ 0
+ },
+ gEndEntire
+};
+
+NT_PLATFORM_GOP_DEVICE_PATH gGopDevicePath1 = {
+ {
+ HARDWARE_DEVICE_PATH,
+ HW_VENDOR_DP,
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ EFI_WIN_NT_THUNK_PROTOCOL_GUID
+ },
+ {
+ HARDWARE_DEVICE_PATH,
+ HW_VENDOR_DP,
+ (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),
+ (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ EFI_WIN_NT_GOP_GUID,
+ 1
+ },
+ gEndEntire
+};
+#endif
//
// Platform specific serial device path
@@ -165,6 +204,16 @@ BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = { (EFI_DEVICE_PATH_PROTOCOL *) &gUgaDevicePath1,
(CONSOLE_OUT | CONSOLE_IN)
},
+#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
+ {
+ (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath0,
+ (CONSOLE_OUT | CONSOLE_IN)
+ },
+ {
+ (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath1,
+ (CONSOLE_OUT | CONSOLE_IN)
+ },
+#endif
{
NULL,
0
|