]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1. Remove #ifdef _MSC_EXTENSION_ from all source files
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 15 Mar 2007 02:33:16 +0000 (02:33 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 15 Mar 2007 02:33:16 +0000 (02:33 +0000)
2. Remove #ifdef _GCC_ from all resource files
3. Remove #if 0 from all resource files
4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC
5. Remove #progam from Decode.c
6. Remove #ifdef TIANO_EXTENSION_FLAG from source files
7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all.
8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524

120 files changed:
EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c
EdkModulePkg/Bus/Pci/Undi/RuntimeDxe/Decode.c
EdkModulePkg/Library/EdkGenericBdsLib/DevicePath.c
EdkModulePkg/Universal/Capsule/RuntimeDxe/CapsuleRuntime.msa
EdkModulePkg/Universal/Capsule/RuntimeDxe/CapsuleService.c
EdkModulePkg/Universal/Network/PxeBc/Dxe/Bc.h
EdkModulePkg/Universal/Network/PxeBc/Dxe/bc.c
EdkModulePkg/Universal/Network/PxeBc/Dxe/ip.h
EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_igmp.c
EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_ip.c
EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_mtftp.c
EdkModulePkg/Universal/Network/PxeBc/Dxe/pxe_bc_udp.c
EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/PxeDhcp4InitSelect.c
EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/support.c
MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.msa
MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c
MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c
MdePkg/Library/BaseLib/BaseLib.msa
MdePkg/Library/BaseLib/Ia32/ARShiftU64.c
MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.c
MdePkg/Library/BaseLib/Ia32/CpuFlushTlb.c
MdePkg/Library/BaseLib/Ia32/CpuId.c
MdePkg/Library/BaseLib/Ia32/CpuIdEx.c
MdePkg/Library/BaseLib/Ia32/CpuPause.c
MdePkg/Library/BaseLib/Ia32/CpuSleep.c
MdePkg/Library/BaseLib/Ia32/DisableInterrupts.c
MdePkg/Library/BaseLib/Ia32/DisablePaging32.c
MdePkg/Library/BaseLib/Ia32/DivU64x32.c
MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.c
MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.c
MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.c
MdePkg/Library/BaseLib/Ia32/EnableInterrupts.c
MdePkg/Library/BaseLib/Ia32/EnablePaging32.c
MdePkg/Library/BaseLib/Ia32/FlushCacheLine.c
MdePkg/Library/BaseLib/Ia32/FxRestore.c
MdePkg/Library/BaseLib/Ia32/FxSave.c
MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange32.c
MdePkg/Library/BaseLib/Ia32/InterlockedCompareExchange64.c
MdePkg/Library/BaseLib/Ia32/InterlockedDecrement.c
MdePkg/Library/BaseLib/Ia32/InterlockedIncrement.c
MdePkg/Library/BaseLib/Ia32/Invd.c
MdePkg/Library/BaseLib/Ia32/LRotU64.c
MdePkg/Library/BaseLib/Ia32/LShiftU64.c
MdePkg/Library/BaseLib/Ia32/LongJump.c
MdePkg/Library/BaseLib/Ia32/ModU64x32.c
MdePkg/Library/BaseLib/Ia32/Monitor.c
MdePkg/Library/BaseLib/Ia32/MultU64x32.c
MdePkg/Library/BaseLib/Ia32/MultU64x64.c
MdePkg/Library/BaseLib/Ia32/Mwait.c
MdePkg/Library/BaseLib/Ia32/RRotU64.c
MdePkg/Library/BaseLib/Ia32/RShiftU64.c
MdePkg/Library/BaseLib/Ia32/ReadCr0.c
MdePkg/Library/BaseLib/Ia32/ReadCr2.c
MdePkg/Library/BaseLib/Ia32/ReadCr3.c
MdePkg/Library/BaseLib/Ia32/ReadCr4.c
MdePkg/Library/BaseLib/Ia32/ReadCs.c
MdePkg/Library/BaseLib/Ia32/ReadDr0.c
MdePkg/Library/BaseLib/Ia32/ReadDr1.c
MdePkg/Library/BaseLib/Ia32/ReadDr2.c
MdePkg/Library/BaseLib/Ia32/ReadDr3.c
MdePkg/Library/BaseLib/Ia32/ReadDr4.c
MdePkg/Library/BaseLib/Ia32/ReadDr5.c
MdePkg/Library/BaseLib/Ia32/ReadDr6.c
MdePkg/Library/BaseLib/Ia32/ReadDr7.c
MdePkg/Library/BaseLib/Ia32/ReadDs.c
MdePkg/Library/BaseLib/Ia32/ReadEflags.c
MdePkg/Library/BaseLib/Ia32/ReadEs.c
MdePkg/Library/BaseLib/Ia32/ReadFs.c
MdePkg/Library/BaseLib/Ia32/ReadGdtr.c
MdePkg/Library/BaseLib/Ia32/ReadGs.c
MdePkg/Library/BaseLib/Ia32/ReadIdtr.c
MdePkg/Library/BaseLib/Ia32/ReadLdtr.c
MdePkg/Library/BaseLib/Ia32/ReadMm0.c
MdePkg/Library/BaseLib/Ia32/ReadMm1.c
MdePkg/Library/BaseLib/Ia32/ReadMm2.c
MdePkg/Library/BaseLib/Ia32/ReadMm3.c
MdePkg/Library/BaseLib/Ia32/ReadMm4.c
MdePkg/Library/BaseLib/Ia32/ReadMm5.c
MdePkg/Library/BaseLib/Ia32/ReadMm6.c
MdePkg/Library/BaseLib/Ia32/ReadMm7.c
MdePkg/Library/BaseLib/Ia32/ReadMsr64.c
MdePkg/Library/BaseLib/Ia32/ReadPmc.c
MdePkg/Library/BaseLib/Ia32/ReadSs.c
MdePkg/Library/BaseLib/Ia32/ReadTr.c
MdePkg/Library/BaseLib/Ia32/ReadTsc.c
MdePkg/Library/BaseLib/Ia32/SetJump.c
MdePkg/Library/BaseLib/Ia32/SwapBytes64.c
MdePkg/Library/BaseLib/Ia32/Wbinvd.c
MdePkg/Library/BaseLib/Ia32/WriteCr0.c
MdePkg/Library/BaseLib/Ia32/WriteCr2.c
MdePkg/Library/BaseLib/Ia32/WriteCr3.c
MdePkg/Library/BaseLib/Ia32/WriteCr4.c
MdePkg/Library/BaseLib/Ia32/WriteDr0.c
MdePkg/Library/BaseLib/Ia32/WriteDr1.c
MdePkg/Library/BaseLib/Ia32/WriteDr2.c
MdePkg/Library/BaseLib/Ia32/WriteDr3.c
MdePkg/Library/BaseLib/Ia32/WriteDr4.c
MdePkg/Library/BaseLib/Ia32/WriteDr5.c
MdePkg/Library/BaseLib/Ia32/WriteDr6.c
MdePkg/Library/BaseLib/Ia32/WriteDr7.c
MdePkg/Library/BaseLib/Ia32/WriteGdtr.c
MdePkg/Library/BaseLib/Ia32/WriteIdtr.c
MdePkg/Library/BaseLib/Ia32/WriteLdtr.c
MdePkg/Library/BaseLib/Ia32/WriteMm0.c
MdePkg/Library/BaseLib/Ia32/WriteMm1.c
MdePkg/Library/BaseLib/Ia32/WriteMm2.c
MdePkg/Library/BaseLib/Ia32/WriteMm3.c
MdePkg/Library/BaseLib/Ia32/WriteMm4.c
MdePkg/Library/BaseLib/Ia32/WriteMm5.c
MdePkg/Library/BaseLib/Ia32/WriteMm6.c
MdePkg/Library/BaseLib/Ia32/WriteMm7.c
MdePkg/Library/BaseLib/Ia32/WriteMsr64.c
MdePkg/Library/BaseLib/SetJump.c
MdePkg/Library/BaseLib/X64/CpuBreakpoint.c
MdePkg/Library/BaseLib/X64/InterlockedCompareExchange32.c
MdePkg/Library/BaseLib/X64/InterlockedCompareExchange64.c
MdePkg/Library/BaseLib/X64/InterlockedDecrement.c
MdePkg/Library/BaseLib/X64/InterlockedIncrement.c
MdePkg/Library/BaseLib/X64/ReadMsr64.c
MdePkg/Library/BaseLib/X64/WriteMsr64.c

index 3b495951308af6ea7a631caaf8b3c834de47f08f..cbbc00b18383998f5e322dd0b7682c737f04c4cd 100644 (file)
@@ -338,14 +338,10 @@ Returns:
 \r
   //\r
   // Force Interrupt line to "Unknown" or "No Connection"\r
-  // based on the PCI spec, the Interrupt line for x86 should be set as 0xFF for unknown.\r
   //\r
   PciIo = &(PciIoDevice->PciIo);\r
-#ifndef MDE_CPU_IPF\r
   Data8 = PCI_INT_LINE_UNKNOWN;\r
-#else\r
-  Data8 = 0;\r
-#endif\r
+\r
   PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &Data8);\r
 \r
   //\r
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
index 1bb7d70b102bbba143ca770dd1449531fe918959..f0debd566226dbd4b36ac1379cb380a48dace8a1 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
 \r
@@ -20,11 +20,6 @@ Abstract:
 \r
 --*/\r
 \r
-\r
-#ifdef TIANO_EXTENSION_FLAG\r
-EFI_GUID  UnknownDeviceGuid           = UNKNOWN_DEVICE_GUID;\r
-#endif \r
-\r
 EFI_GUID  mEfiUnixThunkProtocolGuid  = EFI_UNIX_THUNK_PROTOCOL_GUID;\r
 EFI_GUID  mEfiUnixUgaGuid            = EFI_UNIX_UGA_GUID;\r
 EFI_GUID  mEfiMsgPcAnsiGuid           = DEVICE_PATH_MESSAGING_PC_ANSI;\r
@@ -90,19 +85,19 @@ CatPrint (
 \r
 Routine Description:\r
 \r
-    Concatenates a formatted unicode string to allocated pool.  \r
+    Concatenates a formatted unicode string to allocated pool.\r
     The caller must free the resulting buffer.\r
 \r
 Arguments:\r
 \r
-    Str         - Tracks the allocated pool, size in use, and \r
+    Str         - Tracks the allocated pool, size in use, and\r
                   amount of pool allocated.\r
 \r
     fmt         - The format string\r
 \r
 Returns:\r
 \r
-    Allocated buffer with the formatted string printed in it.  \r
+    Allocated buffer with the formatted string printed in it.\r
     The caller must free the allocated buffer.   The buffer\r
     allocation is not packed.\r
 \r
@@ -161,7 +156,7 @@ Arguments:
 \r
 Returns:\r
 \r
-  If the memory for the device path is successfully allocated, then a \r
+  If the memory for the device path is successfully allocated, then a\r
   pointer to the new device path is returned.  Otherwise, NULL is returned.\r
 \r
 --*/\r
@@ -998,7 +993,7 @@ LibDuplicateDevicePathInstance (
 \r
 Routine Description:\r
 \r
-  Function creates a device path data structure that identically matches the \r
+  Function creates a device path data structure that identically matches the\r
   device path passed in.\r
 \r
 Arguments:\r
@@ -1007,7 +1002,7 @@ Arguments:
 \r
 Returns:\r
 \r
-  The new copy of DevPath is created to identically match the input.  \r
+  The new copy of DevPath is created to identically match the input.\r
   Otherwise, NULL is returned.\r
 \r
 --*/\r
index e4d527b084d6ef873a1a31ebb6e757de4bc7f7ab..85298640bff6a21cd8f33325d63bfc7ede73d551 100644 (file)
@@ -40,6 +40,9 @@
     <LibraryClass Usage="ALWAYS_CONSUMED">\r
       <Keyword>BaseMemoryLib</Keyword>\r
     </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>MemoryAllocationLib</Keyword>\r
+    </LibraryClass>\r
     <LibraryClass Usage="ALWAYS_CONSUMED">\r
       <Keyword>UefiBootServicesTableLib</Keyword>\r
     </LibraryClass>\r
index 9f4fe3c06170ea69b478f455e3e922815ade4b19..50de4c6c9d2a0c25a000c64d29bb03fc6920eb6b 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
 \r
@@ -43,7 +43,7 @@ Arguments:
   CapsuleHeaderArray             A array of pointers to capsule headers passed in\r
   CapsuleCount                   The number of capsule\r
   ScatterGatherList              Physical address of datablock list points to capsule\r
-  \r
+\r
 Returns:\r
 \r
   EFI STATUS\r
@@ -51,8 +51,8 @@ Returns:
                                  not set, the capsule has been successfully processed by the firmware.\r
                                  If it set, the ScattlerGatherList is successfully to be set.\r
   EFI_INVALID_PARAMETER          CapsuleCount is less than 1,CapsuleGuid is not supported.\r
-  EFI_DEVICE_ERROR               Failed to SetVariable or AllocatePool or ProcessFirmwareVolume. \r
-  \r
+  EFI_DEVICE_ERROR               Failed to SetVariable or AllocatePool or ProcessFirmwareVolume.\r
+\r
 --*/\r
 {\r
   UINTN                     CapsuleSize;\r
@@ -76,17 +76,17 @@ Returns:
   for (ArrayNumber = 0; ArrayNumber < CapsuleCount; ArrayNumber++) {\r
     CapsuleHeader = CapsuleHeaderArray[ArrayNumber];\r
     if ((CapsuleHeader->Flags & (CAPSULE_FLAGS_PERSIST_ACROSS_RESET | CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE)) == CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE) {\r
-      return EFI_INVALID_PARAMETER;      \r
+      return EFI_INVALID_PARAMETER;\r
     }\r
     if (!CompareGuid (&CapsuleHeader->CapsuleGuid, &mEfiCapsuleHeaderGuid)) {\r
       if ((CapsuleHeader->Flags & CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE) == 0) {\r
         return EFI_UNSUPPORTED;\r
-      }  \r
-    }   \r
+      }\r
+    }\r
   }\r
 \r
   //\r
-  //Assume that capsules have the same flags on reseting or not. \r
+  //Assume that capsules have the same flags on reseting or not.\r
   //\r
   CapsuleHeader = CapsuleHeaderArray[0];\r
 \r
@@ -97,28 +97,28 @@ Returns:
     if (!FeaturePcdGet(PcdSupportUpdateCapsuleRest)) {\r
       return EFI_UNSUPPORTED;\r
     }\r
-    \r
+\r
     if (ScatterGatherList == 0) {\r
       return EFI_INVALID_PARAMETER;\r
     } else {\r
       Status = EfiSetVariable (\r
-                 EFI_CAPSULE_VARIABLE_NAME,  \r
-                 &gEfiCapsuleVendorGuid,     \r
-                 EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS,  \r
-                 sizeof (UINTN), \r
-                 (VOID *) &ScatterGatherList \r
+                 EFI_CAPSULE_VARIABLE_NAME,\r
+                 &gEfiCapsuleVendorGuid,\r
+                 EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_BOOTSERVICE_ACCESS,\r
+                 sizeof (UINTN),\r
+                 (VOID *) &ScatterGatherList\r
                  );\r
-      if (Status != EFI_SUCCESS) { \r
+      if (Status != EFI_SUCCESS) {\r
         return EFI_DEVICE_ERROR;\r
       }\r
     }\r
     return EFI_SUCCESS;\r
   }\r
-  \r
+\r
   //\r
   //The rest occurs in the condition of non-reset mode\r
   //\r
-  if (EfiAtRuntime ()) { \r
+  if (EfiAtRuntime ()) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
 \r
@@ -128,34 +128,31 @@ Returns:
   for (ArrayNumber = 0; ArrayNumber < CapsuleCount ; ArrayNumber++) {\r
     CapsuleHeader = CapsuleHeaderArray[ArrayNumber];\r
     CapsuleSize = CapsuleHeader->CapsuleImageSize - CapsuleHeader->HeaderSize;\r
-    Status = gBS->AllocatePool (EfiBootServicesData, CapsuleSize, &BufferPtr);\r
-    if (Status != EFI_SUCCESS) {\r
-      goto Done;\r
+\r
+    BufferPtr = AllocatePool (CapsuleSize);\r
+    if (BufferPtr == NULL) {\r
+      return EFI_DEVICE_ERROR;\r
     }\r
-    gBS->CopyMem (BufferPtr, (UINT8*)CapsuleHeader+ CapsuleHeader->HeaderSize, CapsuleSize);\r
+\r
+    CopyMem (BufferPtr, (UINT8*)CapsuleHeader+ CapsuleHeader->HeaderSize, CapsuleSize);\r
 \r
     //\r
-    //Call DXE service ProcessFirmwareVolume to process immediatelly \r
+    //Call DXE service ProcessFirmwareVolume to process immediatelly\r
     //\r
     Status = gDS->ProcessFirmwareVolume (BufferPtr, CapsuleSize, &FvHandle);\r
     if (Status != EFI_SUCCESS) {\r
-      gBS->FreePool (BufferPtr);\r
+      FreePool (BufferPtr);\r
       return EFI_DEVICE_ERROR;\r
     }\r
     gDS->Dispatch ();\r
-    gBS->FreePool (BufferPtr);\r
+    FreePool (BufferPtr);\r
   }\r
-  return EFI_SUCCESS;\r
 \r
-Done:\r
-  if (BufferPtr != NULL) {\r
-    gBS->FreePool (BufferPtr);\r
-  }     \r
-  return EFI_DEVICE_ERROR;\r
+  return EFI_SUCCESS;\r
 }\r
 \r
 \r
-  \r
+\r
 EFI_STATUS\r
 EFIAPI\r
 QueryCapsuleCapabilities (\r
@@ -196,10 +193,10 @@ Returns:
 \r
   if ((MaxiumCapsuleSize == NULL) ||(ResetType == NULL)) {\r
     return EFI_INVALID_PARAMETER;\r
-  }  \r
+  }\r
 \r
   CapsuleHeader = NULL;\r
-  \r
+\r
   //\r
   //Compare GUIDs with EFI_CAPSULE_GUID, if capsule header contains CAPSULE_FLAGS_PERSIST_ACROSS_RESET\r
   //and CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE flags,whatever the GUID is ,the service supports.\r
@@ -207,19 +204,19 @@ Returns:
   for (ArrayNumber = 0; ArrayNumber < CapsuleCount; ArrayNumber++) {\r
     CapsuleHeader = CapsuleHeaderArray[ArrayNumber];\r
     if ((CapsuleHeader->Flags & (CAPSULE_FLAGS_PERSIST_ACROSS_RESET | CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE)) == CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE) {\r
-      return EFI_INVALID_PARAMETER;      \r
+      return EFI_INVALID_PARAMETER;\r
     }\r
     if (!CompareGuid (&CapsuleHeader->CapsuleGuid, &mEfiCapsuleHeaderGuid)) {\r
       if ((CapsuleHeader->Flags & CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE) == 0) {\r
         return EFI_UNSUPPORTED;\r
       }\r
-    }  \r
+    }\r
   }\r
 \r
   //\r
-  //Assume that capsules have the same flags on reseting or not. \r
+  //Assume that capsules have the same flags on reseting or not.\r
   //\r
-  CapsuleHeader = CapsuleHeaderArray[0];  \r
+  CapsuleHeader = CapsuleHeaderArray[0];\r
   if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {\r
     //\r
     //Check if the platform supports update capsule across a system reset\r
@@ -228,11 +225,11 @@ Returns:
       return EFI_UNSUPPORTED;\r
     }\r
     *ResetType = EfiResetWarm;\r
-    *MaxiumCapsuleSize = FixedPcdGet32(PcdMaxSizePopulateCapsule);    \r
+    *MaxiumCapsuleSize = FixedPcdGet32(PcdMaxSizePopulateCapsule);\r
   } else {\r
     *ResetType = EfiResetCold;\r
     *MaxiumCapsuleSize = FixedPcdGet32(PcdMaxSizeNonPopulateCapsule);\r
-  }  \r
+  }\r
   return EFI_SUCCESS;\r
-} \r
+}\r
 \r
index 26df291a29640183be265e1d99847d8b79aedff2..ba32dee45bfc640e1c2cae8e9d317a5166df55b9 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
   bc.h\r
@@ -39,9 +39,9 @@ Abstract:
 //\r
 // Determine the classes of IPv4 address\r
 //\r
-#define  IS_CLASSA_IPADDR(x)  ((((EFI_IP_ADDRESS*)x)->v4.Addr[0] & 0x80) == 0x00) \r
-#define  IS_CLASSB_IPADDR(x)  ((((EFI_IP_ADDRESS*)x)->v4.Addr[0] & 0xc0) == 0x80) \r
-#define  IS_CLASSC_IPADDR(x)  ((((EFI_IP_ADDRESS*)x)->v4.Addr[0] & 0xe0) == 0xc0) \r
+#define  IS_CLASSA_IPADDR(x)  ((((EFI_IP_ADDRESS*)x)->v4.Addr[0] & 0x80) == 0x00)\r
+#define  IS_CLASSB_IPADDR(x)  ((((EFI_IP_ADDRESS*)x)->v4.Addr[0] & 0xc0) == 0x80)\r
+#define  IS_CLASSC_IPADDR(x)  ((((EFI_IP_ADDRESS*)x)->v4.Addr[0] & 0xe0) == 0xc0)\r
 #define  IS_INADDR_UNICAST(x) ((IS_CLASSA_IPADDR(x) || IS_CLASSB_IPADDR(x) || IS_CLASSC_IPADDR(x)) && (((EFI_IP_ADDRESS*)x)->Addr[0] != 0) )\r
 \r
 //\r
@@ -92,14 +92,7 @@ typedef struct {
   EFI_EVENT                                 IgmpGroupEvent[MAX_MCAST_GROUPS];\r
   UINT16                                    RandomPort;\r
 \r
-#if SUPPORT_IPV6\r
-  //\r
-  // TBD\r
-  //\r
-#else\r
   UINT32          MCastGroup[MAX_MCAST_GROUPS];\r
-#endif\r
-\r
   BOOLEAN         GoodStationIp;\r
   BOOLEAN         DidTransmit;\r
   UINTN           IpLength;\r
index 44f7cf22c68c2bc7b0d386a3e9d8511ee3eacc55..4444b20d0012456990347b0d879c39d154b33e8d 100644 (file)
@@ -1,12 +1,13 @@
 /*++\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
+\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
         bc.c\r
@@ -162,7 +163,7 @@ SeedRandom (
   Arguments:\r
 \r
   Returns:\r
-    none                - \r
+    none                -\r
 \r
 --*/\r
 {\r
@@ -216,7 +217,7 @@ IpChecksum (
     Length             - Length to be checksummed\r
 \r
   Returns:\r
-    Checksum           - Returns the 16 bit ones complement of \r
+    Checksum           - Returns the 16 bit ones complement of\r
                          ones complement sum of 16 bit words\r
 \r
 --*/\r
@@ -264,7 +265,7 @@ IpChecksum2 (
     MessageLen    - Length to be checksummed\r
 \r
   Returns:\r
-    Checksum      - Returns the 16 bit ones complement of \r
+    Checksum      - Returns the 16 bit ones complement of\r
                     ones complement sum of 16 bit words\r
 \r
 --*/\r
@@ -298,7 +299,7 @@ UpdateChecksum (
     NewWord            - New Value\r
 \r
   Returns:\r
-    Checksum           - Returns the 16 bit ones complement of \r
+    Checksum           - Returns the 16 bit ones complement of\r
                          ones complement sum of 16 bit words\r
 \r
 --*/\r
@@ -328,7 +329,7 @@ SetMakeCallback (
 \r
   Returns:\r
     0                  - Callbacks are active on the handle\r
-    1                  - Callbacks are not active on the handle                         \r
+    1                  - Callbacks are not active on the handle\r
 \r
 --*/\r
 {\r
@@ -385,7 +386,7 @@ WaitForReceive (
   Arguments:\r
     Private       - Pointer to Pxe BaseCode Protocol\r
     Function      - What PXE function to callback\r
-    TimeoutEvent  - Timer event that will trigger when we have waited too \r
+    TimeoutEvent  - Timer event that will trigger when we have waited too\r
                     long for an incoming packet\r
     HeaderSizePtr - Pointer to the size of the Header size\r
     BufferSizePtr - Pointer to the size of the Buffer size\r
@@ -446,52 +447,6 @@ WaitForReceive (
   //\r
   for (;;)\r
   {\r
-#if 0\r
-    //\r
-    // Check for received packet event.\r
-    //\r
-    if (!EFI_ERROR (gBS->CheckEvent (SnpPtr->WaitForPacket))) {\r
-      //\r
-      // Packet should be available.  Attempt to read it.\r
-      //\r
-      *BufferSizePtr = BUFFER_ALLOCATE_SIZE;\r
-\r
-      StatCode = SnpPtr->Receive (\r
-                          SnpPtr,\r
-                          HeaderSizePtr,\r
-                          BufferSizePtr,\r
-                          Private->ReceiveBufferPtr,\r
-                          0,\r
-                          0,\r
-                          ProtocolPtr\r
-                          );\r
-\r
-      if (EFI_ERROR (StatCode)) {\r
-        break;\r
-      }\r
-      //\r
-      // Packet was received.  Make received callback then return.\r
-      //\r
-      if (CallbackPtr != NULL) {\r
-        StatCode = CallbackPtr (\r
-                    Private->CallbackProtocolPtr,\r
-                    Function,\r
-                    TRUE,\r
-                    (UINT32) *BufferSizePtr,\r
-                    (EFI_PXE_BASE_CODE_PACKET *) Private->ReceiveBufferPtr\r
-                    );\r
-\r
-        if (StatCode != EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE) {\r
-          StatCode = EFI_ABORTED;\r
-        } else {\r
-          StatCode = EFI_SUCCESS;\r
-        }\r
-      }\r
-\r
-      break;\r
-    }\r
-\r
-#else\r
     //\r
     // Poll for received packet.\r
     //\r
@@ -533,7 +488,7 @@ WaitForReceive (
     if (StatCode != EFI_NOT_READY) {\r
       break;\r
     }\r
-#endif\r
+\r
     //\r
     // Check for callback event.\r
     //\r
@@ -599,7 +554,7 @@ SendPacket (
 \r
   Arguments:\r
     Private       - Pointer to Pxe BaseCode Protocol\r
-    HeaderPtr          - Pointer to the buffer \r
+    HeaderPtr          - Pointer to the buffer\r
     PacketPtr          - Pointer to the packet to send\r
     PacketLen        - The length of the entire packet to send\r
     HardwareAddr        - Pointer to the MAC address of the destination\r
@@ -1263,7 +1218,6 @@ BcStart (
     return EFI_ALREADY_STARTED;\r
   }\r
 \r
-#if !SUPPORT_IPV6\r
   //\r
   // Fail if IPv6 is requested and not supported.\r
   //\r
@@ -1272,7 +1226,7 @@ BcStart (
     EfiReleaseLock (&Private->Lock);\r
     return EFI_UNSUPPORTED;\r
   }\r
-#endif\r
+\r
   //\r
   // Setup shortcuts to SNP protocol and data structure.\r
   //\r
@@ -1505,12 +1459,8 @@ BcStart (
   // supports IPv6.\r
   //\r
   Private->EfiBc.Mode->Ipv6Supported = SUPPORT_IPV6;\r
-\r
-#if SUPPORT_IPV6\r
-  Private->EfiBc.Mode->Ipv6Available = Private->NiiPtr->Ipv6Supported;\r
-#else\r
   Private->EfiBc.Mode->Ipv6Available = FALSE;\r
-#endif\r
+\r
   //\r
   // Set to TRUE by the BC constructor if this BC implementation\r
   // supports BIS.\r
@@ -1756,14 +1706,7 @@ IpFilter (
           //\r
           if (!Index2)\r
           {\r
-#if SUPPORT_IPV6\r
-            if (PxebcMode->UsingIpv6) {\r
-              //\r
-              // TBD\r
-              //\r
-            } else\r
-#endif\r
-              TmpIp = (EFI_IP_ADDRESS *) &AllSystemsGroup;\r
+            TmpIp = (EFI_IP_ADDRESS *) &AllSystemsGroup;\r
             --Index;\r
           } else {\r
             TmpIp = (EFI_IP_ADDRESS *) &Filter->IpList[Index];\r
@@ -2309,12 +2252,8 @@ PxeBcDriverStart (
   // implementation supports IPv6.\r
   //\r
   Private->EfiBc.Mode->Ipv6Supported = SUPPORT_IPV6;\r
-\r
-#if SUPPORT_IPV6\r
-  Private->EfiBc.Mode->Ipv6Available = Private->NiiPtr->Ipv6Supported;\r
-#else\r
   Private->EfiBc.Mode->Ipv6Available = FALSE;\r
-#endif\r
+\r
   //\r
   // Set to TRUE by the BC constructor if this BC\r
   // implementation supports BIS.\r
index 69bfe6d6de49d5f20ed85bf94790baf9dded660a..5cabf2e050f1b15c19c271c9b8249a301d6d2a5f 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
 --*/\r
 \r
@@ -19,7 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // Client architecture types\r
 //\r
-#if defined   MDE_CPU_IA32    \r
+#if defined   MDE_CPU_IA32\r
 #define       SYS_ARCH  0x6\r
 #elif defined MDE_CPU_X64\r
 #define       SYS_ARCH  0x7\r
@@ -332,7 +332,7 @@ typedef struct {
   // zero transmitted means checksum not computed\r
   // data follows\r
   //\r
-  UINT16  Checksum;      \r
+  UINT16  Checksum;\r
 } UDPV4_HEADER;\r
 \r
 typedef struct {\r
@@ -370,7 +370,7 @@ typedef struct {
   // zero checksum is transmitted as -0 (ones comp)\r
   // zero transmitted means checksum not computed\r
   //\r
-  UINT16  Checksum; \r
+  UINT16  Checksum;\r
   UINT16  UrgentPointer;                // pointer to urgent data (allows sender to specify urgent data)\r
 } TCPV4_HEADER;\r
 \r
@@ -435,7 +435,7 @@ typedef struct {
 } IPV4_STRUCT;\r
 \r
 #pragma pack()  // reset to default\r
-  \r
+\r
   ////////////////////////////////////////////////////////////\r
 //\r
 //  BC IP Filter Routine\r
@@ -723,13 +723,6 @@ IpReceive (
   )\r
 ;\r
 \r
-#if 0\r
-VOID\r
-WaitForTxComplete (\r
-  IN PXE_BASECODE_DEVICE    *Private\r
-  )\r
-;\r
-#endif\r
 //\r
 // routine to cycle waiting for a receive or timeout\r
 //\r
index f4935b26b3db5b5bf5733433b02c353eb4023c31..83ca20b292b236a2c9d944d15e9b4c72f35621d6 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
 --*/\r
 \r
@@ -272,13 +272,6 @@ Returns:
 \r
   Grp = *(UINT32 *) GroupPtr;\r
 \r
-#if SUPPORT_IPV6\r
-  if (Private->EfiBc.Mode->UsingIpv6) {\r
-    //\r
-    // TBD\r
-    //\r
-  }\r
-#endif\r
   //\r
   // see if we already have it or if we can't take anymore\r
   //\r
@@ -324,13 +317,6 @@ Returns:
 \r
   Grp = *(UINT32 *) GroupPtr;\r
 \r
-#if SUPPORT_IPV6\r
-  if (Private->EfiBc.Mode->UsingIpv6) {\r
-    //\r
-    // TBD\r
-    //\r
-  }\r
-#endif\r
   //\r
   // if not in group, ignore\r
   //\r
index e0e12ece816fa306b82134309f5a49ed27e48e90..bf60d51a6612e922639e5dcbe6a762bef780f48c 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
   pxe_bc_ip.c\r
@@ -609,14 +609,6 @@ IpReceive (
       continue;\r
     }\r
 \r
-#if SUPPORT_IPV6\r
-    if (PxeBcMode->UsingIpv6) {\r
-      //\r
-      // TBD\r
-      //\r
-    }\r
-#endif\r
-\r
 #define IpRxHeader  ((IPV4_HEADER *) PacketPtr)\r
 \r
     //\r
index b99f2d303dac3b9a5634936fd187a5784eef9710..a93795846831b72f5e5e85e1facefee4370d567d 100644 (file)
@@ -1,16 +1,16 @@
 /*++\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
-  \r
+\r
     pxe_bc_mtftp.c\r
 \r
 Abstract:\r
@@ -91,21 +91,21 @@ Routine description:
   information in Mode structure and return TFTP_ERROR status.\r
 \r
 Parameters:\r
-  Private := \r
-  Operation := \r
-  HeaderPtr := \r
-  BufferSizePtr := \r
-  BufferPtr := \r
-  ServerIpPtr := \r
-  ServerPortPtr := \r
-  OurIpPtr := \r
-  OurPortPtr := \r
-  Timeout := \r
+  Private :=\r
+  Operation :=\r
+  HeaderPtr :=\r
+  BufferSizePtr :=\r
+  BufferPtr :=\r
+  ServerIpPtr :=\r
+  ServerPortPtr :=\r
+  OurIpPtr :=\r
+  OurPortPtr :=\r
+  Timeout :=\r
 \r
 Returns:\r
-  EFI_SUCCESS := \r
-  EFI_TFTP_ERROR := \r
-  other := \r
+  EFI_SUCCESS :=\r
+  EFI_TFTP_ERROR :=\r
+  other :=\r
 --*/\r
 {\r
   EFI_PXE_BASE_CODE_MODE  *PxeBcMode;\r
@@ -191,10 +191,10 @@ Routine description:
   Send TFTP ERROR message to TFTP server\r
 \r
 Parameters:\r
-  Private := \r
-  ServerIpPtr := \r
-  ServerPortPtr := \r
-  OurPortPtr := \r
+  Private :=\r
+  ServerIpPtr :=\r
+  ServerPortPtr :=\r
+  OurPortPtr :=\r
 \r
 Returns:\r
 --*/\r
@@ -249,7 +249,7 @@ Parameters:
   ServerPortPtr := Pointer to TFTP server UDP port\r
   ReplyIpPtr := Pointer to TFTP DATA packet destination IP address\r
   OurPortPtr := Pointer to TFTP client UDP port\r
-  Timeout := \r
+  Timeout :=\r
   ReplyLenPtr := Pointer to packet length\r
   PxeBcMode := Pointer to packet buffer\r
   BlockNumPtr := Pointer to block number\r
@@ -398,7 +398,7 @@ Parameters:
   ReplyIpPtr := Pointer to TFTP DATA packet destination IP address\r
   OurPortPtr := Pointer to TFTP client UDP port\r
   LastBlock := Last block number received\r
-  Timeout := \r
+  Timeout :=\r
   DontUseBuffer := TRUE == throw away data, just count # of bytes\r
 \r
 Returns:\r
@@ -605,7 +605,7 @@ Parameters:
   OurPortPtr := Pointer to TFTP client UDP port\r
   FilenamePtr := Pointer to TFTP file or directory name\r
   PacketSizePtr := Pointer to block size\r
-  Buffer := \r
+  Buffer :=\r
 \r
 Returns:\r
 --*/\r
@@ -713,16 +713,16 @@ Parameters:
   Req := TFTP request type\r
   Options := TFTP option bits\r
   Private := Pointer to PxeBc interface\r
-  HeaderPtr := \r
+  HeaderPtr :=\r
   PacketSizePtr := Pointer to block size\r
-  ReplyLenPtr := \r
-  BufferPtr := \r
+  ReplyLenPtr :=\r
+  BufferPtr :=\r
   ServerIpPtr := Pointer to TFTP server IP address\r
   ServerPortPtr := Pointer to TFTP server UDP port\r
-  ServerReplyPortPtr := \r
+  ServerReplyPortPtr :=\r
   OurPortPtr := Pointer to TFTP client UDP Port\r
   FilenamePtr := Pointer to file or directory name\r
-  Timeout := \r
+  Timeout :=\r
 \r
 Returns:\r
 --*/\r
@@ -847,15 +847,15 @@ Routine description:
 \r
 Parameters:\r
   Private := Pointer to PxeBc interface\r
-  BufferSizePtr := \r
-  BufferPtr := \r
+  BufferSizePtr :=\r
+  BufferPtr :=\r
   ServerIpPtr := Pointer to TFTP server IP address\r
   MtftpInfoPtr := Pointer to MTFTP session information\r
   StartBlockPtr := IN=first block we are looking for  OUT=first block received\r
   NumMissedPtr := Number of blocks missed\r
-  TransTimeout := \r
-  ListenTimeout := \r
-  FinalBlock := \r
+  TransTimeout :=\r
+  ListenTimeout :=\r
+  FinalBlock :=\r
   DontUseBuffer := TRUE == throw packets away, just count bytes\r
 \r
 Returns:\r
@@ -991,17 +991,17 @@ Routine description:
 Parameters:\r
   Private := Pointer to PxeBc interface\r
   BufferSizePtr := IN=buffer size  OUT=transfer size\r
-  BufferPtr := \r
-  PacketSizePtr := \r
-  ServerIpPtr := \r
-  FilenamePtr := \r
-  MtftpInfoPtr := \r
-  CompletionStatusPtr := \r
-  DontUseBuffer := \r
+  BufferPtr :=\r
+  PacketSizePtr :=\r
+  ServerIpPtr :=\r
+  FilenamePtr :=\r
+  MtftpInfoPtr :=\r
+  CompletionStatusPtr :=\r
+  DontUseBuffer :=\r
 \r
 Returns:\r
 // mtftp open session\r
-// return code EFI_SUCCESS \r
+// return code EFI_SUCCESS\r
 //      and *CompletionStatusPtr = GOTUNI | GOTMULTI means done\r
 //      and *CompletionStatusPtr = GOTMULTI means got first two multicast packets, use listen for rest\r
 //      and *CompletionStatusPtr = 0 means did not get first two multicast packets, use listen for all\r
@@ -1205,12 +1205,12 @@ Routine description:
 \r
 Parameters:\r
   Private := Pointer to PxeBc interface\r
-  BufferSizePtr := \r
-  BufferPtr := \r
-  ServerIpPtr := \r
-  FilenamePtr := \r
-  MtftpInfoPtr := \r
-  DontUseBuffer := \r
+  BufferSizePtr :=\r
+  BufferPtr :=\r
+  ServerIpPtr :=\r
+  FilenamePtr :=\r
+  MtftpInfoPtr :=\r
+  DontUseBuffer :=\r
 \r
 Returns:\r
 --*/\r
@@ -1255,17 +1255,8 @@ Returns:
       BufferPtrLocal = BufferPtr + Offset;\r
 \r
     }\r
-    //\r
-    // special !!! do not leave enabled in saved version on Source Safe\r
-    // Following code put in in order to create a special version for regression\r
-    // test of MTFTP server to make sure it handles mulitple opens correctly.\r
-    // This code should NOT be enabled normally.\r
-    //\r
-#ifdef SpecialNowaitVersion\r
-#pragma message ("This is special version for MTFTP regression test")\r
-    if (StartBlock || !LastBlock)\r
-#endif\r
-      if (((Status = MtftpListen (\r
+\r
+    if (((Status = MtftpListen (\r
                       Private,\r
                       &BufferSize,\r
                       BufferPtrLocal,\r
@@ -1278,11 +1269,11 @@ Returns:
                       LastBlock,\r
                       DontUseBuffer\r
                       )) != EFI_SUCCESS) && (Status != EFI_TIMEOUT)) {\r
-        return Status;\r
-        //\r
-        // failed\r
-        //\r
-      }\r
+      return Status;\r
+      //\r
+      // failed\r
+      //\r
+    }\r
     //\r
     // if none were received, start block is not reset\r
     //\r
@@ -1399,12 +1390,12 @@ Routine description:
 // if OACK received, set info\r
 \r
 Parameters:\r
-  Private := \r
-  BufferSizePtr := \r
-  ServerIpPtr := \r
-  SrvPort := \r
-  FilenamePtr := \r
-  PacketSizePtr := \r
+  Private :=\r
+  BufferSizePtr :=\r
+  ServerIpPtr :=\r
+  SrvPort :=\r
+  FilenamePtr :=\r
+  PacketSizePtr :=\r
 \r
 Returns:\r
 --*/\r
@@ -1581,15 +1572,15 @@ Routine description:
 //  while data size is max\r
 \r
 Parameters:\r
-  Private := \r
-  BufferSizePtr := \r
-  BufferPtr := \r
-  ServerIpPtr := \r
-  FilenamePtr := \r
-  PacketSizePtr := \r
-  SrvPort := \r
-  Req := \r
-  DontUseBuffer := \r
+  Private :=\r
+  BufferSizePtr :=\r
+  BufferPtr :=\r
+  ServerIpPtr :=\r
+  FilenamePtr :=\r
+  PacketSizePtr :=\r
+  SrvPort :=\r
+  Req :=\r
+  DontUseBuffer :=\r
 \r
 Returns:\r
 --*/\r
@@ -1765,13 +1756,13 @@ Routine description:
 //  while data size is max\r
 \r
 Parameters:\r
-  Private := \r
-  BufferSizePtr := \r
-  BufferPtr := \r
-  ServerIpPtr := \r
-  FilenamePtr := \r
-  PacketSizePtr := \r
-  Overwrite := \r
+  Private :=\r
+  BufferSizePtr :=\r
+  BufferPtr :=\r
+  ServerIpPtr :=\r
+  FilenamePtr :=\r
+  PacketSizePtr :=\r
+  Overwrite :=\r
 \r
 Returns:\r
 --*/\r
@@ -1951,16 +1942,16 @@ Routine description:
   MTFTP API entry point\r
 \r
 Parameters:\r
-  Private := \r
-  Operation := \r
-  BufferSizePtr := \r
-  BufferPtr := \r
-  ServerIpPtr := \r
-  FilenamePtr := \r
-  PacketSizePtr := \r
-  MtftpInfoPtr := \r
-  Overwrite := \r
-  DontUseBuffer := \r
+  Private :=\r
+  Operation :=\r
+  BufferSizePtr :=\r
+  BufferPtr :=\r
+  ServerIpPtr :=\r
+  FilenamePtr :=\r
+  PacketSizePtr :=\r
+  MtftpInfoPtr :=\r
+  Overwrite :=\r
+  DontUseBuffer :=\r
 \r
 Returns:\r
  *  EFI_INVALID_PARAMETER\r
@@ -2313,16 +2304,16 @@ Routine description:
   MTFTP API entry point.\r
 \r
 Parameters:\r
-  This := \r
-  Operation := \r
-  BufferPtr := \r
-  Overwrite := \r
-  BufferSizePtr := \r
-  BlockSizePtr := \r
-  ServerIpPtr := \r
-  FilenamePtr := \r
-  MtftpInfoPtr := \r
-  DontUseBuffer := \r
+  This :=\r
+  Operation :=\r
+  BufferPtr :=\r
+  Overwrite :=\r
+  BufferSizePtr :=\r
+  BlockSizePtr :=\r
+  ServerIpPtr :=\r
+  FilenamePtr :=\r
+  MtftpInfoPtr :=\r
+  DontUseBuffer :=\r
 \r
 Returns:\r
  *  EFI_INVALID_PARAMETER\r
index 32768c05c68e896659c5bf77cbecf7afbdde5c54..a8b9ed089bfea257de5172a152c53362561ac771 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
   pxe_bc_udp.c\r
@@ -44,21 +44,21 @@ Routine description:
 \r
 Parameters:\r
   Private := Pointer to PxeBc interface\r
-  OpFlags := \r
-  DestIpPtr := \r
-  DestPortPtr := \r
-  GatewayIpPtr := \r
-  SrcIpPtr := \r
-  SrcPortPtr := \r
-  HeaderSizePtr := \r
-  HeaderPtr := \r
-  BufferSizeptr := \r
-  BufferPtr := \r
+  OpFlags :=\r
+  DestIpPtr :=\r
+  DestPortPtr :=\r
+  GatewayIpPtr :=\r
+  SrcIpPtr :=\r
+  SrcPortPtr :=\r
+  HeaderSizePtr :=\r
+  HeaderPtr :=\r
+  BufferSizeptr :=\r
+  BufferPtr :=\r
 \r
 Returns:\r
-  EFI_SUCCESS := \r
-  EFI_INVALID_PARAMETER := \r
-  other := \r
+  EFI_SUCCESS :=\r
+  EFI_INVALID_PARAMETER :=\r
+  other :=\r
 --*/\r
 {\r
   UINTN                       TotalLength;\r
@@ -197,20 +197,20 @@ Routine description:
 \r
 Parameters:\r
   This := Pointer to PxeBc interface.\r
-  OpFlags := \r
-  DestIpPtr := \r
-  DestPortPtr := \r
-  GatewayIpPtr := \r
-  SrcIpPtr := \r
-  SrcPortPtr := \r
-  HeaderSizePtr := \r
-  HeaderPtr := \r
-  BufferSizeptr := \r
-  BufferPtr := \r
+  OpFlags :=\r
+  DestIpPtr :=\r
+  DestPortPtr :=\r
+  GatewayIpPtr :=\r
+  SrcIpPtr :=\r
+  SrcPortPtr :=\r
+  HeaderSizePtr :=\r
+  HeaderPtr :=\r
+  BufferSizeptr :=\r
+  BufferPtr :=\r
 \r
 Returns:\r
-  EFI_SUCCESS := \r
-  other := \r
+  EFI_SUCCESS :=\r
+  other :=\r
 --*/\r
 {\r
   EFI_STATUS          StatCode;\r
@@ -291,21 +291,21 @@ Routine description:
 \r
 Parameters:\r
   Private := Pointer to PxeBc interface\r
-  OpFlags := \r
-  DestIpPtr := \r
-  DestPortPtr := \r
-  SrcIpPtr := \r
-  SrcPortPtr := \r
-  HeaderSizePtr := \r
-  HeaderPtr := \r
-  BufferSizeptr := \r
-  BufferPtr := \r
+  OpFlags :=\r
+  DestIpPtr :=\r
+  DestPortPtr :=\r
+  SrcIpPtr :=\r
+  SrcPortPtr :=\r
+  HeaderSizePtr :=\r
+  HeaderPtr :=\r
+  BufferSizeptr :=\r
+  BufferPtr :=\r
   TimeoutEvent :=\r
 \r
 Returns:\r
-  EFI_SUCCESS := \r
-  EFI_INVALID_PARAMETER := \r
-  other := \r
+  EFI_SUCCESS :=\r
+  EFI_INVALID_PARAMETER :=\r
+  other :=\r
 --*/\r
 {\r
   EFI_STATUS      StatCode;\r
@@ -362,14 +362,6 @@ Returns:
     CopyMem (&TmpDestIp, &Private->EfiBc.Mode->StationIp, sizeof (TmpDestIp));\r
   }\r
 \r
-#if SUPPORT_IPV6\r
-  if (Private->EfiBc.Mode->UsingIpv6) {\r
-    //\r
-    // %%TBD\r
-    //\r
-  }\r
-#endif\r
-\r
   for (;;) {\r
     *BufferSizeptr = BufferSize;\r
 \r
@@ -500,19 +492,19 @@ Routine description:
 \r
 Parameters:\r
   This := Pointer to PxeBc interface.\r
-  OpFlags := \r
-  DestIpPtr := \r
-  DestPortPtr := \r
-  SrcIpPtr := \r
-  SrcPortPtr := \r
-  HeaderSizePtr := \r
-  HeaderPtr := \r
-  BufferSizeptr := \r
-  BufferPtr := \r
+  OpFlags :=\r
+  DestIpPtr :=\r
+  DestPortPtr :=\r
+  SrcIpPtr :=\r
+  SrcPortPtr :=\r
+  HeaderSizePtr :=\r
+  HeaderPtr :=\r
+  BufferSizeptr :=\r
+  BufferPtr :=\r
 \r
 Returns:\r
-  EFI_SUCCESS := \r
-  other := \r
+  EFI_SUCCESS :=\r
+  other :=\r
 --*/\r
 {\r
   EFI_STATUS          StatCode;\r
index 8b7cd288107dc6da2ab681a399eb5c1165106760..3cb7f3f4bec6d5a84133aa7187ab35f344c96cda 100644 (file)
@@ -1,17 +1,17 @@
 /*++\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
   PxeDhcp4InitSelect.c\r
-  \r
+\r
 Abstract:\r
 \r
 --*/\r
@@ -332,13 +332,6 @@ PxeDhcp4Init (
     return EFI_NOT_READY;\r
   }\r
 \r
-#if 0\r
-  if (!is_good_discover (&This->Data->Discover)) {\r
-    //\r
-    // %%TBD - check discover packet fields\r
-    //\r
-  }\r
-#endif\r
   //\r
   // Get pointer to our instance data.\r
   //\r
@@ -477,13 +470,6 @@ PxeDhcp4Select (
     return EFI_DEVICE_ERROR;\r
   }\r
 \r
-#if 0\r
-  if (!is_good_discover (&This->Data->Discover)) {\r
-    //\r
-    // %%TBD - check discover packet fields\r
-    //\r
-  }\r
-#endif\r
   //\r
   // Setup useful variables...\r
   //\r
index 50c991372df3eb108ff14ea9683534b76a27b356..503d5a6038f8c4be8bb142b98f054201725fde42 100644 (file)
@@ -1,17 +1,17 @@
 /*++\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
   support.c\r
-  \r
+\r
 Abstract:\r
   Miscellaneous support routines for PxeDhcp4 protocol.\r
 \r
@@ -746,7 +746,7 @@ Parameters:
   op_flags := UDP receive operation flags\r
 \r
 Returns:\r
-  EFI_INVALID_PARAMETER := \r
+  EFI_INVALID_PARAMETER :=\r
   EFI_SUCCESS := Packet received\r
   other := Return from PxeBc->UdpRead()\r
 --*/\r
@@ -827,7 +827,7 @@ Parameters:
   SecondsTimeout := Number of seconds until timeout\r
 \r
 Returns:\r
-  EFI_INVALID_PARAMETER := Private == NULL || ServerIp == NULL || \r
+  EFI_INVALID_PARAMETER := Private == NULL || ServerIp == NULL ||\r
     tx_pkt == NULL || rx_pkt == NULL || rx_vfy == NULL || Private->PxeBc == NULL\r
   EFI_ABORTED := Receive aborted\r
   EFI_TIMEOUT := No packets received\r
@@ -923,31 +923,6 @@ Returns:
   //\r
   // Wait for packet(s)...\r
   //\r
-#if 0\r
-  if (!client_ip) {\r
-    Aprint ("client_ip == NULL    ");\r
-  } else {\r
-    Aprint (\r
-      "client_ip == %d.%d.%d.%d    ",\r
-      client_ip->v4.Addr[0],\r
-      client_ip->v4.Addr[1],\r
-      client_ip->v4.Addr[2],\r
-      client_ip->v4.Addr[3]\r
-      );\r
-  }\r
-\r
-  if (!ServerIp) {\r
-    Aprint ("ServerIp == NULL\n");\r
-  } else {\r
-    Aprint (\r
-      "ServerIp == %d.%d.%d.%d\n",\r
-      ServerIp->v4.Addr[0],\r
-      ServerIp->v4.Addr[1],\r
-      ServerIp->v4.Addr[2],\r
-      ServerIp->v4.Addr[3]\r
-      );\r
-  }\r
-#endif\r
 \r
   done_flag   = FALSE;\r
   got_packet  = FALSE;\r
index 74d433207f088a58c0c9b169e61661c3f02e5953..e974647289a61cade6dcd90b2a36f65d444b3114 100644 (file)
   <SourceFiles>
     <Filename>IoLibMmioBuffer.c</Filename>
     <Filename SupArchList="IA32">IoLib.c</Filename>
-    <Filename SupArchList="IA32">IoLibMsc.c</Filename>
-    <Filename SupArchList="IA32">IoLibGcc.c</Filename>
+    <Filename SupArchList="IA32" ToolChainFamily="MSFT">IoLibMsc.c</Filename>
+    <Filename SupArchList="IA32" ToolChainFamily="GCC">IoLibGcc.c</Filename>
     <Filename SupArchList="IA32">IoHighLevel.c</Filename>
     <Filename SupArchList="X64">IoLib.c</Filename>
-    <Filename SupArchList="X64">IoLibMsc.c</Filename>
-    <Filename SupArchList="X64">IoLibGcc.c</Filename>
+    <Filename SupArchList="X64" ToolChainFamily="MSFT">IoLibMsc.c</Filename>
+    <Filename SupArchList="X64" ToolChainFamily="GCC">IoLibGcc.c</Filename>
     <Filename SupArchList="X64">IoHighLevel.c</Filename>
     <Filename SupArchList="IPF">IoLibIpf.c</Filename>
     <Filename SupArchList="IPF">IoHighLevel.c</Filename>
index 69fb878888fdd532ed48ae1193ce6b767a39a694..806f44bbe77bea28cab4123ecaea426ca610259e 100644 (file)
@@ -10,7 +10,7 @@
   We don't advocate putting compiler specifics in libraries or drivers but there\r
   is no other way to make this work.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -23,8 +23,6 @@
 \r
 **/\r
 \r
-#ifdef __GNUC__\r
-\r
 /**\r
   Reads an 8-bit MMIO register.\r
 \r
@@ -383,4 +381,3 @@ IoWrite32 (
   return Value;\r
 }\r
 \r
-#endif\r
index d05a7fcace98202bfc18aa00baeb410ff8828aee..2c68a3e43c07b9524359c25cb19e44ec207dca73 100644 (file)
@@ -8,7 +8,7 @@
   We don't advocate putting compiler specifics in libraries or drivers but there\r
   is no other way to make this work.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -22,8 +22,6 @@
 **/\r
 \r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -426,4 +424,3 @@ MmioWrite64 (
   return *(volatile UINT64*)Address = Value;\r
 }\r
 \r
-#endif\r
index fa8e8ed4dd821a8731cd60989250d09fe66f1887..185810f397ab3113eace13cc3851312a064f1ef8 100644 (file)
     <Filename SupArchList="X64">X64/FlushCacheLine.asm</Filename>
     <Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedIncrement.c</Filename>
     <Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedDecrement.c</Filename>
-    <Filename SupArchList="X64">X64/InterlockedCompareExchange32.asm</Filename>
-    <Filename SupArchList="X64">X64/InterlockedCompareExchange64.asm</Filename>
+    <Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedCompareExchange32.asm</Filename>
+    <Filename SupArchList="X64" ToolChainFamily="MSFT">X64/InterlockedCompareExchange64.asm</Filename>
     <Filename SupArchList="X64">X64/EnableInterrupts.asm</Filename>
     <Filename SupArchList="X64">X64/DisableInterrupts.asm</Filename>
     <Filename SupArchList="X64">X64/EnableDisableInterrupts.asm</Filename>
index 3c4a5b3f51e08b1b12cf2533763f2cd9fce071e2..01e0bdf7a2a780c7532dedd07cf7f582679257a5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   64-bit arithmetic right shift function for IA-32.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathARShiftU64 (\r
@@ -33,4 +31,3 @@ InternalMathARShiftU64 (
   }\r
 }\r
 \r
-#endif\r
index e13f13f78b0f8dfcee707921cec4858ca6c4b9f9..fc5b63734b175a75148b963a7dc215ddbd942262 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -30,4 +28,3 @@ CpuBreakpoint (
   __debugbreak ();\r
 }\r
 \r
-#endif\r
index 6845117e33af7addf5a245868c08c3d9c4d31ac1..2eea64d05ca28ec16541003227f02a1d92bb320c 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuFlushTlb function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 CpuFlushTlb (\r
@@ -26,4 +24,3 @@ CpuFlushTlb (
   }\r
 }\r
 \r
-#endif\r
index 189e9e6be017bbba05e450019effe9bb6a594dac..64b215a462c61e8b223911effc5e1640e0ddaae8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmCpuid function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT32\r
 EFIAPI\r
 AsmCpuid (\r
@@ -49,4 +47,3 @@ SkipEdx:
   }\r
 }\r
 \r
-#endif\r
index 6ebbcbcf109552c00e7fd59a84b042e552351499..8e475d833da92621fb8bab249996e95acdbde5af 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmCpuidEx function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT32\r
 EFIAPI\r
 AsmCpuidEx (\r
@@ -50,5 +48,3 @@ SkipEdx:
     mov     eax, Index\r
   }\r
 }\r
-\r
-#endif\r
index e5206987d5d09307fe44becd8662a0814311d7c3..0a4c10188430e835c12aa9f19d8cea3081924bbf 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuPause function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 CpuPause (\r
@@ -25,4 +23,3 @@ CpuPause (
   }\r
 }\r
 \r
-#endif\r
index f813ff93f05b1d84c9379a8e04d635a7784ecf5c..fa00381bd0e8f6968db39448c13e2ba245e25df9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuSleep function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 CpuSleep (\r
@@ -25,4 +23,3 @@ CpuSleep (
   }\r
 }\r
 \r
-#endif\r
index 99d9e29d8a88561505aafc58c6c046677ed000d4..5d694090f60fed883580c27d0629b7c796ffbab5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   DisableInterrupts function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 DisableInterrupts (\r
@@ -25,4 +23,3 @@ DisableInterrupts (
   }\r
 }\r
 \r
-#endif\r
index 2e7f928bce0c271ee63969ecd4ea3a98927798e2..58597ce133cdb7aa8c7c42acc14b72af37b5b24a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmDisablePaging32 function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 __declspec (naked)\r
 VOID\r
 EFIAPI\r
@@ -46,4 +44,3 @@ InternalX86DisablePaging32 (
   }\r
 }\r
 \r
-#endif\r
index dd732158c849a41554edae3db8cb59b3a9b500d1..7ec3c2d9852128bb75fa89b46c038c35a5f327c8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Calculate the quotient of a 64-bit integer by a 32-bit integer\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathDivU64x32 (\r
@@ -33,4 +31,3 @@ InternalMathDivU64x32 (
   }\r
 }\r
 \r
-#endif\r
index b7e354bda84ed7add5f4ba38555d7eb5f1b864b0..8f74930618ef4bb097f88f567a2291ec128b47b2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Set error flag for all division functions\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathDivRemU64x32 (\r
@@ -38,4 +36,3 @@ RemainderNull:
   }\r
 }\r
 \r
-#endif\r
index 2a893147c70b5eb5c7e6542b38f896d2aa7de003..14b2f2789b55f00f3fd0b0b828b7480a154672e5 100644 (file)
@@ -2,7 +2,7 @@
   Calculate the quotient of a 64-bit integer by a 64-bit integer and returns\r
   both the quotient and the remainderSet error flag for all division functions\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -13,8 +13,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathDivRemU64x64 (\r
@@ -66,4 +64,3 @@ Return:
   }\r
 }\r
 \r
-#endif\r
index d6b0370e5f6cf4a89d947a092b935eb0cf2044f1..fe6ebf78dc656afd9e5a8a60320e2792f633439d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EnableDisableInterrupts function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 EnableDisableInterrupts (\r
@@ -28,4 +26,3 @@ EnableDisableInterrupts (
   }\r
 }\r
 \r
-#endif\r
index bead074dbb7adc70ef7fda9827bcde9c8976a0af..2770e637b57a89a75c96af99670cb2621a73d283 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EnableInterrupts function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 EnableInterrupts (\r
@@ -25,4 +23,3 @@ EnableInterrupts (
   }\r
 }\r
 \r
-#endif\r
index 146089cab62263fe78f7dd8f66f5229cc2856016..7aecd0179039604411d5a2d56d94e31257214704 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmEnablePaging32 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 __declspec (naked)\r
 VOID\r
 EFIAPI\r
@@ -46,4 +44,3 @@ InternalX86EnablePaging32 (
   }\r
 }\r
 \r
-#endif\r
index 6da213a6a9676d58fc9fbc654eec23acfaddc135..4b3c7f7b6248e7f0555727a82f0de0a76ea069d3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmFlushCacheLine function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID *\r
 EFIAPI\r
 AsmFlushCacheLine (\r
@@ -26,4 +24,3 @@ AsmFlushCacheLine (
   }\r
 }\r
 \r
-#endif\r
index e51b882d7ba08588d605380e370497633f2e208b..155a1599b1611c5f412ef4993f0fd10adc6ef4e0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmFxRestore function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalX86FxRestore (\r
@@ -26,4 +24,3 @@ InternalX86FxRestore (
   }\r
 }\r
 \r
-#endif\r
index 8a3402360010b03d73c7f1da3f3fae7787eb37cd..9a013e11bebfe39e45b56198f54db9e69a9840ba 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmFxSave function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalX86FxSave (\r
@@ -26,4 +24,3 @@ InternalX86FxSave (
   }\r
 }\r
 \r
-#endif\r
index 244089617ef311ef17949da427510415129dd8c0..07be35e1df4e93e006229ebee50eeb17ef8d44b4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterlockedCompareExchange32 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT32\r
 EFIAPI\r
 InternalSyncCompareExchange32 (\r
@@ -30,4 +28,3 @@ InternalSyncCompareExchange32 (
   }\r
 }\r
 \r
-#endif\r
index 5bddf714327a1ba3f1ad546e9dc3be823feb0e48..d3747bed2c5286cf3139ed562f2cff6f63fbc365 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterlockedCompareExchange64 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalSyncCompareExchange64 (\r
@@ -31,5 +29,3 @@ InternalSyncCompareExchange64 (
     lock    cmpxchg8b   qword ptr [esi]\r
   }\r
 }\r
-\r
-#endif\r
index f0d5fb249a28c5815e383b6d3f041d2e263ba58b..c3854e96be01df2a2bd13c858578066e2c3b8b37 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterlockedDecrement function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT32\r
 EFIAPI\r
 InternalSyncDecrement (\r
@@ -26,5 +24,3 @@ InternalSyncDecrement (
     mov     eax, [eax]\r
   }\r
 }\r
-\r
-#endif\r
index 0854ace86fb35486edad604cc4f773a56dc2ff05..4fa35c6e081bbd7d7814daaeaed757a6e448e7e8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterLockedIncrement function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT32\r
 EFIAPI\r
 InternalSyncIncrement (\r
@@ -27,4 +25,3 @@ InternalSyncIncrement (
   }\r
 }\r
 \r
-#endif\r
index 113bdd697595890962e5fd921b26e29d936b6c08..2fdfd28e22e5c45f1af059d9cc4379ae8901c497 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmInvd function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmInvd (\r
@@ -25,4 +23,3 @@ AsmInvd (
   }\r
 }\r
 \r
-#endif\r
index e45d2dea49755478ab6a9b9353f66fa794d9761f..7761b9549b74bfbcd44cf3e462da86d345ebe9a9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   64-bit left rotation for Ia32\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathLRotU64 (\r
@@ -36,4 +34,3 @@ InternalMathLRotU64 (
   }\r
 }\r
 \r
-#endif\r
index 64f9e373b7ad1e1f18d6fa24a74846255c1cb805..193a41222f9a8c53c48f5ad65d3df0c552602ee4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   64-bit left shift function for IA-32.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathLShiftU64 (\r
@@ -33,4 +31,3 @@ InternalMathLShiftU64 (
   }\r
 }\r
 \r
-#endif\r
index 34447732a1501e4503e18fb2a603ef0be4a217c8..0e58625a65a579638417984e419cd246c5d468b8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation of _LongJump() on IA-32.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 __declspec (naked)\r
 VOID\r
 EFIAPI\r
@@ -35,4 +33,3 @@ InternalLongJump (
   }\r
 }\r
 \r
-#endif\r
index 2433bcc1652fa47c335c6fbb59a8ba147743edbc..f935632f6bd6e6639fdc7a32b77975a97e481c55 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Calculate the remainder of a 64-bit integer by a 32-bit integer\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT32\r
 EFIAPI\r
 InternalMathModU64x32 (\r
@@ -31,5 +29,3 @@ InternalMathModU64x32 (
     mov     eax, edx\r
   }\r
 }\r
-\r
-#endif\r
index ec29a0df2dc67e8331eec2e52b753cfd1e4b4bb5..e1f52b99be3afc7d30a68a980fb8b2f9be17b85e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmMonitor function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmMonitor (\r
@@ -32,4 +30,3 @@ AsmMonitor (
   }\r
 }\r
 \r
-#endif\r
index a2444e9af4a0ea6189c7f53ba72b5a0643b1faf7..ea0643d8309b359522571cdbd9b13ff5b4184ed5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Calculate the product of a 64-bit integer and a 32-bit integer\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathMultU64x32 (\r
@@ -30,4 +28,3 @@ InternalMathMultU64x32 (
   }\r
 }\r
 \r
-#endif\r
index 71757bddc0a91c188ffdff0a38f5191105e03948..a014b4406e99c638260d84e49246a2cbf4ea97d1 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Calculate the product of a 64-bit integer and another 64-bit integer\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathMultU64x64 (\r
@@ -34,4 +32,3 @@ InternalMathMultU64x64 (
   }\r
 }\r
 \r
-#endif\r
index b6ad777939791c92fb7af018021ba14f53c9b120..0256f2c84165297f4be00c052c88154c621ea733 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmMwait function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmMwait (\r
@@ -30,4 +28,3 @@ AsmMwait (
   }\r
 }\r
 \r
-#endif\r
index 78ac484afcbf26d531f4691eb3727c0ca3b8c324..f91fc378a2aee6a56873cbb4df3738875a5dcf3a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   64-bit right rotation for Ia32\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathRRotU64 (\r
@@ -36,4 +34,3 @@ InternalMathRRotU64 (
   }\r
 }\r
 \r
-#endif\r
index a57539d5534fc5a17904fca8bc4f82d7b795e32c..cc878e878c6c071c44824c4ab0cbfe575abb6fe3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   64-bit logical right shift function for IA-32\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathRShiftU64 (\r
@@ -33,4 +31,3 @@ InternalMathRShiftU64 (
   }\r
 }\r
 \r
-#endif\r
index 4931775bef8168d26d170c3f6de0805f90bf0629..ce43048a36f884b37037f47ad4628d74d88dde6e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCr0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadCr0 (\r
@@ -24,5 +22,3 @@ AsmReadCr0 (
     mov     eax, cr0\r
   }\r
 }\r
-\r
-#endif\r
index 09a4230fd585d0f5e9de1896655a19adde721ec1..2a61e1bbb632eac2751cd6de8e4c933e9630ec3f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCr2 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadCr2 (\r
@@ -25,4 +23,3 @@ AsmReadCr2 (
   }\r
 }\r
 \r
-#endif\r
index 02462efdfb95d65acd0e8ce1ccacbcadd058400c..c151accabbbbe0afd6f058ba4689967a88ecd8c7 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCr3 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadCr3 (\r
@@ -25,4 +23,3 @@ AsmReadCr3 (
   }\r
 }\r
 \r
-#endif\r
index bc5dd727f0cdebc3a9020f1bdf7c27b7ca0bba7c..c88dd311e174887b6a629ae910cf1a26a52ffc70 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCr4 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadCr4 (\r
@@ -27,4 +25,3 @@ AsmReadCr4 (
   }\r
 }\r
 \r
-#endif\r
index 5634e4953024f291ce95af1d751eda19bf388951..f93e16cb932debdb229ef7f5981d27c1f8528bc2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadCs function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadCs (\r
@@ -26,4 +24,3 @@ AsmReadCs (
   }\r
 }\r
 \r
-#endif\r
index cc91973295131787d992157944a3cf7e465e9714..b3ff9295526819d2cfd3b308a49ff080a10b9a03 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr0 (\r
@@ -25,4 +23,3 @@ AsmReadDr0 (
   }\r
 }\r
 \r
-#endif\r
index 10e8a48081a6cb23a08da1f72f8064bee3807037..6d9f8999b6e7cbe0263205292ff5ecc113aaa048 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr1 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr1 (\r
@@ -25,4 +23,3 @@ AsmReadDr1 (
   }\r
 }\r
 \r
-#endif\r
index bbacec40bb1252630bd100b3ac29afb00757b8ee..638bf8f7aeb4e9bf55245d1c8b7244cda55cfe60 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr2 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr2 (\r
@@ -25,4 +23,3 @@ AsmReadDr2 (
   }\r
 }\r
 \r
-#endif\r
index c4390d01b647c4d3cc3ca8287361b47df29e5a8f..82a3f860beebc4c2916834b9b72b70ea3cc79188 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr3 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr3 (\r
@@ -25,4 +23,3 @@ AsmReadDr3 (
   }\r
 }\r
 \r
-#endif\r
index fab9f67e0ede862c6b53e3329810b9130389d396..d68de88ba541496c9263bb26835dd7fe6026ace0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr4 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr4 (\r
@@ -27,4 +25,3 @@ AsmReadDr4 (
   }\r
 }\r
 \r
-#endif\r
index 6b0db98659a93f08e3d69330d6d3ed499471ec38..175e6f641c092284bfa1fafc8a15c3a057fe3d70 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr5 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr5 (\r
@@ -27,4 +25,3 @@ AsmReadDr5 (
   }\r
 }\r
 \r
-#endif\r
index 8a84658222b84c7ef5182d5ad02f638b787d7739..28a918283acba5e773884ccdd137fccae67ce623 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr6 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr6 (\r
@@ -25,4 +23,3 @@ AsmReadDr6 (
   }\r
 }\r
 \r
-#endif\r
index 02794f8b8b0fafaee66edf0f48990e10b4d8f878..b0ac10fe966200c5f8e013d7dd5db80d9c0fbf2a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDr7 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadDr7 (\r
@@ -25,4 +23,3 @@ AsmReadDr7 (
   }\r
 }\r
 \r
-#endif\r
index c757928372061838fac1198e9277addf64f2db64..13990b5195cfc8d95007d3d8e86df982702b043d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadDs function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadDs (\r
@@ -26,4 +24,3 @@ AsmReadDs (
   }\r
 }\r
 \r
-#endif\r
index 49901b08d651a9a9d2a91dbedd2f445c5e0059d4..c927d66a59dc6a8777eb259fbfde683a6b09b9e8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadEflags function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmReadEflags (\r
@@ -26,4 +24,3 @@ AsmReadEflags (
   }\r
 }\r
 \r
-#endif\r
index dcd04eeb161a0638e06314fbb29b523857890bc9..2fa183b00a0542124c3cd61aa5eb017ec3656211 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadEs function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadEs (\r
@@ -26,4 +24,3 @@ AsmReadEs (
   }\r
 }\r
 \r
-#endif\r
index 73f6d0e332ed8ec71bd0d78a128af7edb0920bad..d142e4d37011f30bda6288891b98652a9173eccd 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadFs function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadFs (\r
@@ -26,4 +24,3 @@ AsmReadFs (
   }\r
 }\r
 \r
-#endif\r
index f98e9f85ced0196c95972534407c5abfef8046b3..86bb10d12e1f391377de92daa2ecf359e1c55e4b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadGdtr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalX86ReadGdtr (\r
@@ -26,4 +24,3 @@ InternalX86ReadGdtr (
   }\r
 }\r
 \r
-#endif\r
index 47da6e716a658e4cd4a079e1fa714d7ba39be010..3cebfd60cbed522aa8b5534bd49acb0cf7927f89 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadGs function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadGs (\r
@@ -26,4 +24,3 @@ AsmReadGs (
   }\r
 }\r
 \r
-#endif\r
index d39f72f4f94d9b8833b89b95b3ea639a7ccde499..e5885cce59bbbad51ac43beb2ddfce86bc42f6a1 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadIdtr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalX86ReadIdtr (\r
@@ -25,5 +23,3 @@ InternalX86ReadIdtr (
     sidt    fword ptr [eax]\r
   }\r
 }\r
-\r
-#endif\r
index df3f9831089a7fcd8ac997a55480c705a80e80f3..0950f8bad5bc212863138a5e0adb2c24b3620354 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadLdtr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadLdtr (\r
@@ -25,4 +23,3 @@ AsmReadLdtr (
   }\r
 }\r
 \r
-#endif\r
index 16ecd24e7edc676b1b07305c0fcfbf394467cd58..d42f95e8b5376540dc6a779b5387bd2668cf236f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm0 (\r
@@ -30,4 +28,3 @@ AsmReadMm0 (
   }\r
 }\r
 \r
-#endif\r
index 7026e18d5227d531631d765a5533bcad575febff..e4d0e08b93941e2c6d5f40d95a59d7400bbe3b04 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm1 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm1 (\r
@@ -30,4 +28,3 @@ AsmReadMm1 (
   }\r
 }\r
 \r
-#endif\r
index 33188eb11eb121147f3e6298cd9050df150e9c4d..c2e49209b875219cd3cf3b8309308d4e11615e8d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm2 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm2 (\r
@@ -30,4 +28,3 @@ AsmReadMm2 (
   }\r
 }\r
 \r
-#endif\r
index 2690e00dda54970d97c9404631401bcf9ba823ce..680db3be05d06842bfac010dcb18951586c1ae7f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm3 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm3 (\r
@@ -30,4 +28,3 @@ AsmReadMm3 (
   }\r
 }\r
 \r
-#endif\r
index 6e8f9d02f1dec821f917ddb28dca87465c61cf1d..b51619cb99e780e49fd5a35ac372301de77e8c31 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm4 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm4 (\r
@@ -30,4 +28,3 @@ AsmReadMm4 (
   }\r
 }\r
 \r
-#endif\r
index ed3d37c41651052b94e4d650c4486c1556e179c6..a502e38d969a355525b61c63662df634c763a8e2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm5 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm5 (\r
@@ -30,4 +28,3 @@ AsmReadMm5 (
   }\r
 }\r
 \r
-#endif\r
index 9aa892e89ce8814f8e10e390a625ad65dcc0bb95..a97aae68ed631ee929a713fd9625fbc56aac2719 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm6 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm6 (\r
@@ -30,4 +28,3 @@ AsmReadMm6 (
   }\r
 }\r
 \r
-#endif\r
index 93ddfdb1be1265b56f109a2621d7f8a533149630..4ae5d63de575f9a843ae1496dad3f37085743e91 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm7 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMm7 (\r
@@ -30,4 +28,3 @@ AsmReadMm7 (
   }\r
 }\r
 \r
-#endif\r
index 3b4d0ca480ca4cbfc0c4addcde75ed90f479d692..fb7554805ede5b36de08fe96a9f786bdde855b0f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMsr64 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadMsr64 (\r
@@ -26,4 +24,3 @@ AsmReadMsr64 (
   }\r
 }\r
 \r
-#endif\r
index bf5f5d853773236d294c9c7654009722eede865d..a8b647dfbd9b4a875f6b985bd593bf520f0d611e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadPmc function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadPmc (\r
@@ -26,4 +24,3 @@ AsmReadPmc (
   }\r
 }\r
 \r
-#endif\r
index 9fd5d9669eb65cd39da5131522ef49c0063fefc5..62ad42453d5f5678cfa3fc6c8b3d8aa1be919426 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadSs function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadSs (\r
@@ -26,4 +24,3 @@ AsmReadSs (
   }\r
 }\r
 \r
-#endif\r
index 7f7f1d5cdf50e14d2c0471d0aec0e8980a472c8d..5068c7f0a67881b9424901fc4351c35d6a51d82b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadTr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT16\r
 EFIAPI\r
 AsmReadTr (\r
@@ -25,4 +23,3 @@ AsmReadTr (
   }\r
 }\r
 \r
-#endif\r
index 54cbd90aad90147fb5a722662ba484d84068b0ca..2fa89f934dddf97eb413ebfd19427ddf80eb54a0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadTsc function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmReadTsc (\r
@@ -25,4 +23,3 @@ AsmReadTsc (
   }\r
 }\r
 \r
-#endif\r
index 9854334eb250066d9c7e4da11053c2eae8437a8a..4f4dbca057efa40f8e9a258ad43220c9a93e4651 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation of SetJump() on IA-32.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalAssertJumpBuffer (\r
@@ -26,7 +24,7 @@ EFIAPI
 SetJump (\r
   OUT     BASE_LIBRARY_JUMP_BUFFER  *JumpBuffer\r
   )\r
-{ \r
+{\r
   _asm {\r
     push    [esp + 4]\r
     call    InternalAssertJumpBuffer\r
@@ -44,4 +42,3 @@ SetJump (
   }\r
 }\r
 \r
-#endif\r
index acd0b828418dacde83e46af67314afb625a526fe..1dd6adb68dc094b272dd94fe0c87eab4a5636de3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation of 64-bit swap bytes\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 InternalMathSwapBytes64 (\r
@@ -28,4 +26,3 @@ InternalMathSwapBytes64 (
   }\r
 }\r
 \r
-#endif\r
index 25e794d1702cb9aebdd8754248bc54479cb087b3..ae7576645d26e9a0eec96ab4897036e680aca913 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWbinvd function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWbinvd (\r
@@ -25,4 +23,3 @@ AsmWbinvd (
   }\r
 }\r
 \r
-#endif\r
index a120250fd74f07693a07aae453b20bf70132479f..909b202907901860d8cfba6993a2efc69c42cf3f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteCr0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteCr0 (\r
@@ -26,4 +24,3 @@ AsmWriteCr0 (
   }\r
 }\r
 \r
-#endif\r
index 45f1faa12fd4c48b2ffd592ea9c3e41be583318f..85921e0961725ffb0c31ef906a16c114e5936b7b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteCr2 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteCr2 (\r
@@ -26,4 +24,3 @@ AsmWriteCr2 (
   }\r
 }\r
 \r
-#endif\r
index e4606a7bc47948b4e803989ae1aa4a5d3b850e41..0714d8e76fd1031df55e15bc38355d18f8f54252 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteCr3 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteCr3 (\r
@@ -26,4 +24,3 @@ AsmWriteCr3 (
   }\r
 }\r
 \r
-#endif\r
index 772a463ef5568727c1bfb61c048773541bb1585d..e0f4bf0a88f4d9ce7f0b377c184a1f0bee74522e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteCr4 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteCr4 (\r
@@ -28,4 +26,3 @@ AsmWriteCr4 (
   }\r
 }\r
 \r
-#endif\r
index e511a6e0e4b0a8c8fe93a1f36894879d809bc411..f98098076c90e89c5deca48261fd9efb463f3e67 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr0 (\r
@@ -26,4 +24,3 @@ AsmWriteDr0 (
   }\r
 }\r
 \r
-#endif\r
index 74f4877ac0b133f750b876849b8f784eddccdeb7..4f293032188dac8e0392bcc40ffd237b4c66820a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr1 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr1 (\r
@@ -26,4 +24,3 @@ AsmWriteDr1 (
   }\r
 }\r
 \r
-#endif\r
index 4ecbcb1795ccb1f6c272aa39f962982335786fa9..190fb228a8df701b506a78a33cfa61fd65e694a9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr2 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr2 (\r
@@ -26,4 +24,3 @@ AsmWriteDr2 (
   }\r
 }\r
 \r
-#endif\r
index f8a4b45058e667d33f8d03fe2a74e001f535e9f0..ad2d1ad75aafd448416af95bfe4bc99e1ea90001 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr3 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr3 (\r
@@ -26,4 +24,3 @@ AsmWriteDr3 (
   }\r
 }\r
 \r
-#endif\r
index 546f92cf89983f0532288edcf89beee17dffbd05..27862486be167b484d6a6bf9767c24eaa1bbb4f0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr4 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr4 (\r
@@ -28,4 +26,3 @@ AsmWriteDr4 (
   }\r
 }\r
 \r
-#endif\r
index e2f72e3e9225fa1435c3d75908946ae4541dca1e..c6e118e9fad3b6941dd0d076e5731cc83917e62e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr5 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr5 (\r
@@ -28,4 +26,3 @@ AsmWriteDr5 (
   }\r
 }\r
 \r
-#endif\r
index 1b50f4deb982300ba7b3345dfefd40df03c74bd6..bc7d8048b00ba2867408399bd5dbb82a740943c0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr6 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr6 (\r
@@ -26,4 +24,3 @@ AsmWriteDr6 (
   }\r
 }\r
 \r
-#endif\r
index 3f5f42075170290f959160d5b39e3e3e1c8bef5f..a3bd33cc957ad3eff8f5a93c54762204b1643816 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteDr7 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINTN\r
 EFIAPI\r
 AsmWriteDr7 (\r
@@ -26,4 +24,3 @@ AsmWriteDr7 (
   }\r
 }\r
 \r
-#endif\r
index b264651358c33b41f3983982ed2cc9bd27587925..0f937e691bc335aa4fbdf9caaa8cf8330184ebb0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteGdtr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalX86WriteGdtr (\r
@@ -26,4 +24,3 @@ InternalX86WriteGdtr (
   }\r
 }\r
 \r
-#endif\r
index 4fd530fc7b3f0f0e0bb69d3c0bc9ef7126ad1db9..d43b2044937553b25d092896d09b6eb266cf251b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteIdtr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 InternalX86WriteIdtr (\r
@@ -26,4 +24,3 @@ InternalX86WriteIdtr (
   }\r
 }\r
 \r
-#endif\r
index 93b51424e315f87bf36dbe81e8680f093b3eba69..c320b96e14833241b0328a2f478b575b8a97bf97 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteLdtr function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteLdtr (\r
@@ -27,4 +25,3 @@ AsmWriteLdtr (
   }\r
 }\r
 \r
-#endif\r
index c4abb9c4588571606f84214e65408032c1ae7ba1..d6e66d463268a3bb7eb0362fc21dab5fba274e8a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm0 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm0 (\r
@@ -26,4 +24,3 @@ AsmWriteMm0 (
   }\r
 }\r
 \r
-#endif\r
index f64b338d8cc951ca3f75487fed8b04c6ee2508b9..abdda7f0ae3724a647839298f04bf505f2a27fd0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm1 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm1 (\r
@@ -26,4 +24,3 @@ AsmWriteMm1 (
   }\r
 }\r
 \r
-#endif\r
index 238a7c4b95df126728879d08f1036d7d484bb7fd..d0ff1eb5f43080b4eb1bc317fdc5bdc7e1a6467e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm2 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm2 (\r
@@ -26,4 +24,3 @@ AsmWriteMm2 (
   }\r
 }\r
 \r
-#endif\r
index 5cc01b6f278d7d51a78cf652093b52f4aadbce12..5851fb5b50aa44dd9af378724bc6ced8b46b5080 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm3 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm3 (\r
@@ -26,4 +24,3 @@ AsmWriteMm3 (
   }\r
 }\r
 \r
-#endif\r
index 0ad39dc489f262a1f1eac0854de239b9cbd5c7dd..50017a93f1f538be0066b8fe9b3c1b3b306c4336 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm4 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm4 (\r
@@ -25,5 +23,3 @@ AsmWriteMm4 (
     emms\r
   }\r
 }\r
-\r
-#endif\r
index 0904dc8c7031153b3957d4fa734f1dbdab8e53d3..df8d457100420bd22f03e05e0d6fdb62909613a8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm5 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm5 (\r
@@ -25,5 +23,3 @@ AsmWriteMm5 (
     emms\r
   }\r
 }\r
-\r
-#endif\r
index 8003f7f503adbb57c183253983efa7ac4e78cdba..9058565baa13df28e1cfea825afaa164864efedc 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm6 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm6 (\r
@@ -26,4 +24,3 @@ AsmWriteMm6 (
   }\r
 }\r
 \r
-#endif\r
index 8085d03c825ecbfae3cde71f24ff2d4d372642ff..7d9a3a6ed1c63395f393f995a048f38c36f6f604 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMm7 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 VOID\r
 EFIAPI\r
 AsmWriteMm7 (\r
@@ -26,4 +24,3 @@ AsmWriteMm7 (
   }\r
 }\r
 \r
-#endif\r
index 778fb9fd16677b50c58167f993b60d12dcd277b9..7e2fda08046ec403ff5fcd5ab6da1dfb51e3c815 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmWriteMsr64 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 UINT64\r
 EFIAPI\r
 AsmWriteMsr64 (\r
@@ -29,4 +27,3 @@ AsmWriteMsr64 (
   }\r
 }\r
 \r
-#endif\r
index cb77d096116898112846780b1222e9e9b27259e2..d6c2723b2a54244fbcc3c99efce88def1ca7d9c0 100644 (file)
@@ -22,7 +22,8 @@
   Checks ASSERT condition for JumpBuffer.\r
 \r
   If JumpBuffer is NULL, then ASSERT().\r
-  For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().\r
+  If JumpBuffer is not aligned on a BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT\r
+  boundary, then ASSERT().\r
 \r
   @param  JumpBuffer    A pointer to CPU context buffer.\r
 \r
@@ -35,7 +36,5 @@ InternalAssertJumpBuffer (
 {\r
   ASSERT (JumpBuffer != NULL);\r
 \r
-#ifdef MDE_CPU_IPF\r
-  ASSERT (((UINTN)JumpBuffer & 0xf) == 0);\r
-#endif\r
+  ASSERT (((UINTN)JumpBuffer & ((BASE_LIBRARY_JUMP_BUFFER_ALIGNMENT - 1) >> 8)) == 0);\r
 }\r
index e13f13f78b0f8dfcee707921cec4858ca6c4b9f9..01939e91280260280e79b92342c30aeed65c8d60 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,7 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
 \r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
@@ -30,4 +29,3 @@ CpuBreakpoint (
   __debugbreak ();\r
 }\r
 \r
-#endif\r
index c8857dbca528683780d780f84c83538f93001819..4a9fe6aca66fe599697a48b93253db3634ea6b64 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterlockedCompareExchange32 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -36,5 +34,3 @@ InternalSyncCompareExchange32 (
   return _InterlockedCompareExchange (Value, ExchangeValue, CompareValue);\r
 }\r
 \r
-\r
-#endif\r
index 8cd90b393ba6ed9024769a031a9c8f3675bb0726..bed1dc8972271275ebbf24ce9ea1dc27b2b5ffed 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterlockedCompareExchange64 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -36,4 +34,3 @@ InternalSyncCompareExchange64 (
   return _InterlockedCompareExchange64 (Value, ExchangeValue, CompareValue);\r
 }\r
 \r
-#endif\r
index bc171a79cc3e5f985554216dc9b74462995e59de..19e6a5dc49c0af59e3f3149e5ac8bf440f180be3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterlockedDecrement function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -32,4 +30,3 @@ InternalSyncDecrement (
   return _InterlockedDecrement (Value);\r
 }\r
 \r
-#endif\r
index b5651bc003b2184b0e8f56cf7c54a69086182bc7..eda9f79a5b205160cba92bc78cb9e8e990d5df22 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   InterLockedIncrement function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -32,4 +30,3 @@ InternalSyncIncrement (
   return _InterlockedIncrement (Value);\r
 }\r
 \r
-#endif\r
index b1fdff97c065d7d4ad10d8b595acbff0d7934a11..15a573fc09308b55a68ed9efc29df848aa946cf6 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -31,4 +29,3 @@ AsmReadMsr64 (
   return __readmsr (Index);\r
 }\r
 \r
-#endif\r
index 8e5d90fec40abcdb4abc4a8324c16c06ba1bbb1a..1d1e0bc3324693c71ccdad6105d78d82dd70791f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, Intel Corporation<BR>\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
@@ -12,8 +12,6 @@
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
-\r
 //\r
 // Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
 //\r
@@ -32,4 +30,3 @@ AsmWriteMsr64 (
   return Value;\r
 }\r
 \r
-#endif\r