]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c
1. Remove #ifdef _MSC_EXTENSION_ from all source files
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / Undi / RuntimeDxe / Decode.c
index c42865612ac9d988e1c92ec6cc835234dd6103c7..cb7fa89749b01f0142fe97a5d97dd2fa8f49cd75 100644 (file)
@@ -1,13 +1,13 @@
 /*++\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
+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
     decode.c\r
@@ -21,16 +21,6 @@ Revision history:
 // TODO: fix comment to add: Module Name: DECODE.C\r
 #include "Undi32.h"\r
 \r
-\r
-//\r
-// #pragma data_seg("rtdata") is only recognized by MSFT C compiler.\r
-// But EBC compiler "Intel(R) C Compiler for EFI Byte Code, Version 1.2 Build 20040123"\r
-// does not recognize this pragma.\r
-//\r
-#if defined(_MSC_EXTENSIONS) && !defined(MDE_CPU_EBC)\r
-#pragma data_seg("rtdata")\r
-#endif\r
-\r
 //\r
 // Global variables defined in this file\r
 //\r
@@ -1339,7 +1329,7 @@ Returns:
   }\r
 \r
   AdapterInfo               = &(UNDI32DeviceList[CdbPtr->IFnum]->NicInfo);\r
-  \r
+\r
   //\r
   // entering from older entry point\r
   //\r
@@ -1655,11 +1645,3 @@ Returns:
   PxePtr->Fudge         = (UINT8) (PxePtr->Fudge - ChkSum ((VOID *) PxePtr, PxePtr->Len));\r
 }\r
 \r
-//\r
-// #pragma data_seg("rtdata") is only recognized by MSFT C compiler.\r
-// But EBC compiler "Intel(R) C Compiler for EFI Byte Code, Version 1.2 Build 20040123"\r
-// does not recognize this pragma.\r
-//\r
-#if defined(_MSC_EXTENSIONS) && !defined(MDE_CPU_EBC)\r
-#pragma data_seg()\r
-#endif\r