]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/PlatformData.c
Add in OFFSET_OF macro as defined in MDE Library spec
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / PlatformData.c
index 2a36420e4794b2724c3a6754e3400430c5a29530..8202c02ebcaec59201d2bbb6371b7d2b0b7dc69a 100644 (file)
@@ -1,20 +1,20 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
 \r
-Module Name: \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+Module Name:\r
 \r
   PlatformData.c\r
 \r
 Abstract:\r
-  \r
+\r
   Defined the platform specific device path which will be used by\r
   platform Bbd to perform the platform policy connect.\r
 \r
@@ -68,7 +68,7 @@ NT_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath1 = {
   },\r
   gEndEntire\r
 };\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
+\r
 NT_PLATFORM_GOP_DEVICE_PATH gGopDevicePath0 = {\r
   {\r
     HARDWARE_DEVICE_PATH,\r
@@ -106,7 +106,6 @@ NT_PLATFORM_GOP_DEVICE_PATH gGopDevicePath1 = {
   },\r
   gEndEntire\r
 };\r
-#endif\r
 \r
 //\r
 // Platform specific serial device path\r
@@ -204,7 +203,6 @@ BDS_CONSOLE_CONNECT_ENTRY   gPlatformConsole[] = {
     (EFI_DEVICE_PATH_PROTOCOL *) &gUgaDevicePath1,\r
     (CONSOLE_OUT | CONSOLE_IN)\r
   },\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
   {\r
     (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath0,\r
     (CONSOLE_OUT | CONSOLE_IN)\r
@@ -213,7 +211,6 @@ BDS_CONSOLE_CONNECT_ENTRY   gPlatformConsole[] = {
     (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath1,\r
     (CONSOLE_OUT | CONSOLE_IN)\r
   },\r
-#endif\r
   {\r
     NULL,\r
     0\r