]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update to fix minor coding style issues.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 21 May 2008 01:40:12 +0000 (01:40 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 21 May 2008 01:40:12 +0000 (01:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5256 6f19259b-4bc3-4df7-8a09-765794883524

41 files changed:
MdeModulePkg/Core/Dxe/DebugImageInfo.h
MdeModulePkg/Core/Dxe/Dispatcher/Dependency.c
MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
MdeModulePkg/Core/Dxe/DxeMain.h
MdeModulePkg/Core/Dxe/DxeMain.inf
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c
MdeModulePkg/Core/Dxe/Event/Event.c
MdeModulePkg/Core/Dxe/Event/ExecData.c
MdeModulePkg/Core/Dxe/Event/Timer.c
MdeModulePkg/Core/Dxe/Event/Tpl.c
MdeModulePkg/Core/Dxe/Exec.h
MdeModulePkg/Core/Dxe/FwVol/Ffs.c
MdeModulePkg/Core/Dxe/FwVol/FwVol.c
MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
MdeModulePkg/Core/Dxe/FwVol/FwVolWrite.c
MdeModulePkg/Core/Dxe/FwVolBlock.h
MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
MdeModulePkg/Core/Dxe/FwVolDriver.h
MdeModulePkg/Core/Dxe/Gcd.h
MdeModulePkg/Core/Dxe/Gcd/Gcd.c
MdeModulePkg/Core/Dxe/Hand.h
MdeModulePkg/Core/Dxe/Hand/DriverSupport.c
MdeModulePkg/Core/Dxe/Hand/Handle.c
MdeModulePkg/Core/Dxe/Hand/Locate.c
MdeModulePkg/Core/Dxe/Hand/Notify.c
MdeModulePkg/Core/Dxe/Image.h
MdeModulePkg/Core/Dxe/Image/Image.c
MdeModulePkg/Core/Dxe/Image/ImageFile.c
MdeModulePkg/Core/Dxe/Imem.h
MdeModulePkg/Core/Dxe/Library.h
MdeModulePkg/Core/Dxe/Library/Library.c
MdeModulePkg/Core/Dxe/Mem/MemData.c
MdeModulePkg/Core/Dxe/Mem/Page.c
MdeModulePkg/Core/Dxe/Mem/Pool.c
MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c
MdeModulePkg/Core/Dxe/Misc/InstallConfigurationTable.c
MdeModulePkg/Core/Dxe/Misc/SetWatchdogTimer.c
MdeModulePkg/Core/Dxe/Misc/Stall.c
MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c

index 26a5bb185c631b631a2b8369d8a216746b5fba73..5b26ab51c8c5b893c5cd68f0359e49951bf03db6 100644 (file)
@@ -1,16 +1,15 @@
-/** @file \r
-\r
+/** @file\r
   Support functions for managing debug image info table when loading and unloading\r
   images.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -37,8 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 VOID\r
 CoreInitializeDebugImageInfoTable (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -52,8 +50,7 @@ CoreInitializeDebugImageInfoTable (
 VOID\r
 CoreUpdateDebugTableCrc32 (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -68,11 +65,10 @@ CoreUpdateDebugTableCrc32 (
 **/\r
 VOID\r
 CoreNewDebugImageInfoEntry (\r
-  UINT32                    ImageInfoType,\r
-  EFI_LOADED_IMAGE_PROTOCOL *LoadedImage,\r
-  EFI_HANDLE                ImageHandle\r
-  )\r
-;\r
+  IN  UINT32                      ImageInfoType,\r
+  IN  EFI_LOADED_IMAGE_PROTOCOL   *LoadedImage,\r
+  IN  EFI_HANDLE                  ImageHandle\r
+  );\r
 \r
 \r
 /**\r
@@ -84,7 +80,6 @@ CoreNewDebugImageInfoEntry (
 VOID\r
 CoreRemoveDebugImageInfoEntry (\r
   EFI_HANDLE ImageHandle\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r
index 21f08c2a9c823378d1b49da1a137ad392a6a9c39..a3c974b9d9b8959d2c78ffa6802a5cff4d2af17a 100644 (file)
@@ -1,19 +1,18 @@
 /** @file\r
-\r
   DXE Dispatcher Dependency Evaluator\r
 \r
   This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) to determine\r
   if a driver can be scheduled for execution.  The criteria for\r
   schedulability is that the dependency expression is satisfied.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -39,7 +38,6 @@ BOOLEAN *mDepexEvaluationStackPointer = NULL;
                                 stack.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 GrowDepexStack (\r
   VOID\r
@@ -96,7 +94,6 @@ GrowDepexStack (
                                 stack.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 PushBool (\r
   IN BOOLEAN  Value\r
@@ -137,7 +134,6 @@ PushBool (
   @retval EFI_ACCESS_DENIED     The pop operation underflowed the stack\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS \r
 PopBool (\r
   OUT BOOLEAN  *Value\r
index 5a0efad1b79b05e1bd8a53c4b0b0eedf41e20111..064ea1190e8509e76954c54b464008b2492411aa 100644 (file)
   Depex - Dependency Expresion.\r
   SOR   - Schedule On Request - Don't schedule if this bit is set.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -105,7 +105,6 @@ FV_FILEPATH_DEVICE_PATH mFvDevicePath;
   @param  InsertedDriverEntry   The driver to insert on the ScheduledLink Queue\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (\r
   IN  EFI_CORE_DRIVER_ENTRY   *InsertedDriverEntry\r
@@ -128,7 +127,6 @@ CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
   @param  Context               Event Context, not used.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 CoreFwVolEventProtocolNotify (\r
@@ -149,7 +147,6 @@ CoreFwVolEventProtocolNotify (
   @return Pointer to device path constructed from FvHandle and DriverName\r
 \r
 **/\r
-STATIC\r
 EFI_DEVICE_PATH_PROTOCOL *\r
 CoreFvToDevicePath (\r
   IN  EFI_FIRMWARE_VOLUME2_PROTOCOL   *Fv,\r
@@ -177,12 +174,11 @@ CoreFvToDevicePath (
                                 time.\r
 \r
 **/\r
-STATIC \r
 EFI_STATUS\r
 CoreAddToDriverList (\r
-  IN  EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,\r
-  IN  EFI_HANDLE                    FvHandle,\r
-  IN  EFI_GUID                      *DriverName\r
+  IN  EFI_FIRMWARE_VOLUME2_PROTOCOL   *Fv,\r
+  IN  EFI_HANDLE                      FvHandle,\r
+  IN  EFI_GUID                        *DriverName\r
   );\r
 \r
 /**\r
@@ -197,7 +193,6 @@ CoreAddToDriverList (
   @retval EFI_SUCCESS           Function successfully returned.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS \r
 CoreProcessFvImageFile (\r
   IN  EFI_FIRMWARE_VOLUME2_PROTOCOL   *Fv,\r
@@ -210,7 +205,6 @@ CoreProcessFvImageFile (
   Enter critical section by gaining lock on mDispatcherLock.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreAcquireDispatcherLock (\r
   VOID\r
@@ -224,7 +218,6 @@ CoreAcquireDispatcherLock (
   Exit critical section by releasing lock on mDispatcherLock.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreReleaseDispatcherLock (\r
   VOID\r
@@ -246,7 +239,6 @@ CoreReleaseDispatcherLock (
   @retval Error                 DEPEX not found.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreGetDepexSectionAndPreProccess (\r
   IN  EFI_CORE_DRIVER_ENTRY   *DriverEntry\r
@@ -314,7 +306,6 @@ CoreGetDepexSectionAndPreProccess (
                                 not set. \r
 \r
 **/\r
-EFI_DXESERVICE\r
 EFI_STATUS\r
 EFIAPI\r
 CoreSchedule (\r
@@ -361,7 +352,6 @@ CoreSchedule (
   @retval EFI_NOT_FOUND         The file was not found in the untrusted state. \r
 \r
 **/\r
-EFI_DXESERVICE\r
 EFI_STATUS\r
 EFIAPI\r
 CoreTrust (\r
@@ -413,7 +403,6 @@ CoreTrust (
   @retval EFI_SUCCESS           One or more DXE Drivers were dispatched \r
 \r
 **/\r
-EFI_DXESERVICE\r
 EFI_STATUS\r
 EFIAPI\r
 CoreDispatcher (\r
@@ -558,7 +547,6 @@ CoreDispatcher (
   @param  InsertedDriverEntry   The driver to insert on the ScheduledLink Queue\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (\r
   IN  EFI_CORE_DRIVER_ENTRY   *InsertedDriverEntry\r
@@ -620,7 +608,6 @@ CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
                                 processed\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 FvHasBeenProcessed (\r
   IN  EFI_HANDLE      FvHandle\r
@@ -647,7 +634,6 @@ FvHasBeenProcessed (
   @param  FvHandle              The handle of a FV that has been processed\r
 \r
 **/\r
-STATIC\r
 VOID\r
 FvIsBeingProcesssed (\r
   IN  EFI_HANDLE    FvHandle\r
@@ -679,7 +665,6 @@ FvIsBeingProcesssed (
   @return Pointer to device path constructed from FvHandle and DriverName\r
 \r
 **/\r
-STATIC\r
 EFI_DEVICE_PATH_PROTOCOL *\r
 CoreFvToDevicePath (\r
   IN  EFI_FIRMWARE_VOLUME2_PROTOCOL   *Fv,\r
@@ -785,7 +770,6 @@ CoreAddToDriverList (
   @retval FALSE                 Not found.\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 FvFoundInHobFv2 (\r
   IN  EFI_HANDLE                      FvHandle,\r
@@ -922,7 +906,6 @@ CoreProcessFvImageFile (
   @param  Context               Event Context, not used.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 CoreFwVolEventProtocolNotify (\r
index 6cc314f8ceb6ea9797e7606073ef7c112e7b492e..9cbcbaeb213c77e289c21cc4045f5b8988722c38 100644 (file)
@@ -1,16 +1,15 @@
 /** @file\r
-\r
   The internal header file includes the common header files, defines\r
   internal structure and functions used by DxeCore module.\r
-  \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -238,8 +237,7 @@ extern EFI_RUNTIME_ARCH_PROTOCOL                gRuntimeTemplate;
 VOID\r
 CoreInitializePool (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -263,8 +261,7 @@ CoreAddMemoryDescriptor (
   IN EFI_PHYSICAL_ADDRESS  Start,\r
   IN UINT64                NumberOfPages,\r
   IN UINT64                Attribute\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -274,8 +271,7 @@ CoreAddMemoryDescriptor (
 VOID\r
 CoreReleaseGcdMemoryLock (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -285,8 +281,7 @@ CoreReleaseGcdMemoryLock (
 VOID\r
 CoreAcquireGcdMemoryLock (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -307,11 +302,10 @@ CoreAcquireGcdMemoryLock (
 **/\r
 EFI_STATUS\r
 CoreInitializeMemoryServices (\r
-  IN VOID                  **HobStart,\r
-  IN EFI_PHYSICAL_ADDRESS  *MemoryBaseAddress,\r
-  IN UINT64                *MemoryLength\r
-  )\r
-;\r
+  IN  VOID                  **HobStart,\r
+  OUT EFI_PHYSICAL_ADDRESS  *MemoryBaseAddress,\r
+  OUT UINT64                *MemoryLength\r
+  );\r
 \r
 \r
 \r
@@ -337,8 +331,7 @@ CoreInitializeGcdServices (
   IN OUT VOID                  **HobStart,\r
   IN EFI_PHYSICAL_ADDRESS  MemoryBaseAddress,\r
   IN UINT64                MemoryLength\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -351,8 +344,7 @@ CoreInitializeGcdServices (
 EFI_STATUS\r
 CoreInitializeEventServices (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -367,8 +359,7 @@ CoreInitializeEventServices (
 EFI_STATUS\r
 CoreInitializeImageServices (\r
   IN  VOID *HobStart\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -378,8 +369,7 @@ CoreInitializeImageServices (
 VOID\r
 CoreNotifyOnArchProtocolInstallation (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -393,8 +383,7 @@ CoreNotifyOnArchProtocolInstallation (
 EFI_STATUS\r
 CoreAllEfiServicesAvailable (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -407,8 +396,7 @@ CoreAllEfiServicesAvailable (
 VOID\r
 CalculateEfiHdrCrc (\r
   IN  OUT EFI_TABLE_HEADER    *Hdr\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -421,9 +409,8 @@ CalculateEfiHdrCrc (
 VOID\r
 EFIAPI\r
 CoreTimerTick (\r
-  IN UINT64     Duration\r
-  )\r
-;\r
+  IN UINT64   Duration\r
+  );\r
 \r
 \r
 /**\r
@@ -434,8 +421,7 @@ CoreTimerTick (
 VOID\r
 CoreInitializeDispatcher (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -454,8 +440,7 @@ CoreInitializeDispatcher (
 BOOLEAN\r
 CoreIsSchedulable (\r
   IN  EFI_CORE_DRIVER_ENTRY   *DriverEntry  \r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -473,8 +458,7 @@ CoreIsSchedulable (
 EFI_STATUS\r
 CorePreProcessDepex (\r
   IN  EFI_CORE_DRIVER_ENTRY   *DriverEntry  \r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -493,8 +477,7 @@ EFIAPI
 CoreExitBootServices (\r
   IN EFI_HANDLE   ImageHandle,\r
   IN UINTN        MapKey\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -510,9 +493,8 @@ CoreExitBootServices (
 **/\r
 EFI_STATUS\r
 CoreTerminateMemoryMap (\r
-  IN UINTN        MapKey\r
-  )\r
-;\r
+  IN UINTN          MapKey\r
+  );\r
 \r
 \r
 /**\r
@@ -524,8 +506,7 @@ CoreTerminateMemoryMap (
 VOID\r
 CoreNotifySignalList (\r
   IN EFI_GUID     *EventGroup\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -547,10 +528,9 @@ CoreNotifySignalList (
 EFI_STATUS\r
 EFIAPI\r
 CoreInstallConfigurationTable (\r
-  IN EFI_GUID         *Guid,\r
-  IN VOID             *Table\r
-  )\r
-;\r
+  IN EFI_GUID *Guid,\r
+  IN VOID     *Table\r
+  );\r
 \r
 \r
 \r
@@ -566,9 +546,8 @@ CoreInstallConfigurationTable (
 EFI_TPL\r
 EFIAPI\r
 CoreRaiseTpl (\r
-  IN EFI_TPL  NewTpl\r
-  )\r
-;\r
+  IN EFI_TPL      NewTpl\r
+  );\r
 \r
 \r
 \r
@@ -582,9 +561,8 @@ CoreRaiseTpl (
 VOID\r
 EFIAPI\r
 CoreRestoreTpl (\r
-  IN EFI_TPL  NewTpl\r
-  )\r
-;\r
+  IN EFI_TPL NewTpl\r
+  );\r
 \r
 \r
 \r
@@ -602,8 +580,7 @@ EFI_STATUS
 EFIAPI\r
 CoreStall (\r
   IN UINTN            Microseconds\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -632,12 +609,11 @@ CoreStall (
 EFI_STATUS\r
 EFIAPI\r
 CoreSetWatchdogTimer (\r
-  IN UINTN            Timeout,\r
-  IN UINT64           WatchdogCode,\r
-  IN UINTN            DataSize,\r
-  IN CHAR16           *WatchdogData   OPTIONAL\r
-  )\r
-;\r
+  IN UINTN    Timeout,\r
+  IN UINT64   WatchdogCode,\r
+  IN UINTN    DataSize,\r
+  IN CHAR16   *WatchdogData OPTIONAL\r
+  );\r
 \r
 \r
 \r
@@ -662,8 +638,7 @@ CoreInstallProtocolInterface (
   IN EFI_GUID           *Protocol,\r
   IN EFI_INTERFACE_TYPE InterfaceType,\r
   IN VOID               *Interface\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -690,8 +665,7 @@ CoreInstallProtocolInterfaceNotify (
   IN EFI_INTERFACE_TYPE InterfaceType,\r
   IN VOID               *Interface,\r
   IN BOOLEAN            Notify\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -717,8 +691,7 @@ EFIAPI
 CoreInstallMultipleProtocolInterfaces (\r
   IN OUT EFI_HANDLE           *Handle,\r
   ...\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -741,8 +714,7 @@ EFIAPI
 CoreUninstallMultipleProtocolInterfaces (\r
   IN EFI_HANDLE           Handle,\r
   ...\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -767,8 +739,7 @@ CoreReinstallProtocolInterface (
   IN EFI_GUID       *Protocol,\r
   IN VOID           *OldInterface,\r
   IN VOID           *NewInterface\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -791,8 +762,7 @@ CoreUninstallProtocolInterface (
   IN EFI_HANDLE       UserHandle,\r
   IN EFI_GUID         *Protocol,\r
   IN VOID             *Interface\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -810,11 +780,10 @@ CoreUninstallProtocolInterface (
 EFI_STATUS\r
 EFIAPI\r
 CoreHandleProtocol (\r
-  IN  EFI_HANDLE       UserHandle,\r
-  IN  EFI_GUID         *Protocol,\r
-  OUT VOID             **Interface\r
-  )\r
-;\r
+  IN EFI_HANDLE       UserHandle,\r
+  IN EFI_GUID         *Protocol,\r
+  OUT VOID            **Interface\r
+  );\r
 \r
 \r
 \r
@@ -847,8 +816,7 @@ CoreOpenProtocol (
   IN  EFI_HANDLE                ImageHandle,\r
   IN  EFI_HANDLE                ControllerHandle,\r
   IN  UINT32                    Attributes\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -870,8 +838,7 @@ CoreOpenProtocolInformation (
   IN  EFI_GUID                            *Protocol,\r
   OUT EFI_OPEN_PROTOCOL_INFORMATION_ENTRY **EntryBuffer,\r
   OUT UINTN                               *EntryCount\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -906,9 +873,8 @@ CoreCloseProtocol (
   IN  EFI_HANDLE                UserHandle,\r
   IN  EFI_GUID                  *Protocol,\r
   IN  EFI_HANDLE                AgentHandle,\r
-  IN  EFI_HANDLE                ControllerHandle\r
-  )\r
-;\r
+  IN  EFI_HANDLE                ControllerHandle  \r
+  );\r
 \r
 \r
 \r
@@ -938,11 +904,10 @@ CoreCloseProtocol (
 EFI_STATUS\r
 EFIAPI\r
 CoreProtocolsPerHandle (\r
-  IN  EFI_HANDLE       UserHandle,\r
-  OUT EFI_GUID         ***ProtocolBuffer,\r
-  OUT UINTN            *ProtocolBufferCount\r
-  )\r
-;\r
+  IN EFI_HANDLE       UserHandle,\r
+  OUT EFI_GUID        ***ProtocolBuffer,\r
+  OUT UINTN           *ProtocolBufferCount\r
+  );\r
 \r
 \r
 \r
@@ -962,11 +927,10 @@ CoreProtocolsPerHandle (
 EFI_STATUS\r
 EFIAPI\r
 CoreRegisterProtocolNotify (\r
-  IN  EFI_GUID       *Protocol,\r
-  IN  EFI_EVENT      Event,\r
-  OUT VOID           **Registration\r
-  )\r
-;\r
+  IN EFI_GUID       *Protocol,\r
+  IN EFI_EVENT      Event,\r
+  OUT  VOID           **Registration\r
+  );\r
   \r
 \r
 \r
@@ -991,13 +955,12 @@ CoreRegisterProtocolNotify (
 EFI_STATUS\r
 EFIAPI\r
 CoreLocateHandle (\r
-  IN     EFI_LOCATE_SEARCH_TYPE         SearchType,\r
-  IN     EFI_GUID                       *Protocol OPTIONAL,\r
-  IN     VOID                           *SearchKey OPTIONAL,\r
-  IN OUT UINTN                          *BufferSize,\r
-  OUT    EFI_HANDLE                     *Buffer\r
-  )\r
-;\r
+  IN EFI_LOCATE_SEARCH_TYPE   SearchType,\r
+  IN EFI_GUID                 *Protocol   OPTIONAL,\r
+  IN VOID                     *SearchKey  OPTIONAL,\r
+  IN OUT UINTN                *BufferSize,\r
+  OUT EFI_HANDLE              *Buffer\r
+  );\r
   \r
 \r
 \r
@@ -1019,11 +982,10 @@ CoreLocateHandle (
 EFI_STATUS\r
 EFIAPI\r
 CoreLocateDevicePath (\r
-  IN     EFI_GUID                       *Protocol,\r
-  IN OUT EFI_DEVICE_PATH_PROTOCOL       **DevicePath,\r
-  OUT    EFI_HANDLE                     *Device\r
-  )\r
-;\r
+  IN EFI_GUID                       *Protocol,\r
+  IN OUT EFI_DEVICE_PATH_PROTOCOL   **DevicePath,\r
+  OUT EFI_HANDLE                    *Device\r
+  );\r
 \r
  \r
 \r
@@ -1052,13 +1014,12 @@ CoreLocateDevicePath (
 EFI_STATUS\r
 EFIAPI\r
 CoreLocateHandleBuffer (\r
-  IN     EFI_LOCATE_SEARCH_TYPE         SearchType,\r
-  IN     EFI_GUID                       *Protocol OPTIONAL,\r
-  IN     VOID                           *SearchKey OPTIONAL,\r
-  IN OUT UINTN                          *NumberHandles,\r
-  OUT    EFI_HANDLE                     **Buffer\r
-  )\r
-;\r
+  IN EFI_LOCATE_SEARCH_TYPE       SearchType,\r
+  IN EFI_GUID                     *Protocol OPTIONAL,\r
+  IN VOID                         *SearchKey OPTIONAL,\r
+  IN OUT UINTN                    *NumberHandles,\r
+  OUT EFI_HANDLE                  **Buffer\r
+  );\r
 \r
  \r
 \r
@@ -1081,11 +1042,10 @@ CoreLocateHandleBuffer (
 EFI_STATUS\r
 EFIAPI\r
 CoreLocateProtocol (\r
-  IN    EFI_GUID  *Protocol,\r
-  IN    VOID      *Registration OPTIONAL,\r
-  OUT   VOID      **Interface\r
-  )\r
-;\r
+  IN  EFI_GUID  *Protocol,\r
+  IN  VOID      *Registration OPTIONAL,\r
+  OUT VOID      **Interface\r
+  );\r
 \r
 \r
 /**\r
@@ -1098,8 +1058,7 @@ CoreLocateProtocol (
 UINT64\r
 CoreGetHandleDatabaseKey (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1112,8 +1071,7 @@ CoreGetHandleDatabaseKey (
 VOID\r
 CoreConnectHandlesByKey (\r
   UINT64  Key\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1142,8 +1100,7 @@ CoreConnectController (
   IN  EFI_HANDLE                *DriverImageHandle    OPTIONAL,\r
   IN  EFI_DEVICE_PATH_PROTOCOL  *RemainingDevicePath  OPTIONAL,\r
   IN  BOOLEAN                   Recursive\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1183,11 +1140,10 @@ CoreConnectController (
 EFI_STATUS \r
 EFIAPI\r
 CoreDisconnectController (\r
-  IN EFI_HANDLE  ControllerHandle,\r
-  IN EFI_HANDLE  DriverImageHandle  OPTIONAL,\r
-  IN EFI_HANDLE  ChildHandle        OPTIONAL\r
-  )\r
-;\r
+  IN  EFI_HANDLE  ControllerHandle,\r
+  IN  EFI_HANDLE  DriverImageHandle  OPTIONAL,\r
+  IN  EFI_HANDLE  ChildHandle        OPTIONAL\r
+  );\r
 \r
 \r
 \r
@@ -1212,12 +1168,11 @@ CoreDisconnectController (
 EFI_STATUS\r
 EFIAPI\r
 CoreAllocatePages (\r
-  IN      EFI_ALLOCATE_TYPE       Type,\r
-  IN      EFI_MEMORY_TYPE         MemoryType,\r
-  IN      UINTN                   NumberOfPages,\r
-  IN OUT  EFI_PHYSICAL_ADDRESS    *Memory\r
-  )\r
-;\r
+  IN EFI_ALLOCATE_TYPE      Type,\r
+  IN EFI_MEMORY_TYPE        MemoryType,\r
+  IN UINTN                  NumberOfPages,\r
+  IN OUT EFI_PHYSICAL_ADDRESS  *Memory\r
+  );\r
 \r
 \r
 \r
@@ -1237,8 +1192,7 @@ EFIAPI
 CoreFreePages (\r
   IN EFI_PHYSICAL_ADDRESS   Memory,\r
   IN UINTN                  NumberOfPages\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1275,13 +1229,12 @@ CoreFreePages (
 EFI_STATUS\r
 EFIAPI\r
 CoreGetMemoryMap (\r
-  IN OUT UINTN                       *MemoryMapSize,\r
-  IN OUT EFI_MEMORY_DESCRIPTOR       *MemoryMap,\r
-  OUT    UINTN                       *MapKey,\r
-  OUT    UINTN                       *DescriptorSize,\r
-  OUT    UINT32                      *DescriptorVersion\r
-  )\r
-;\r
+  IN OUT UINTN                  *MemoryMapSize,\r
+  IN OUT EFI_MEMORY_DESCRIPTOR  *MemoryMap,\r
+  OUT UINTN                     *MapKey,\r
+  OUT UINTN                     *DescriptorSize,\r
+  OUT UINT32                    *DescriptorVersion\r
+  );\r
 \r
 \r
 \r
@@ -1301,11 +1254,10 @@ CoreGetMemoryMap (
 EFI_STATUS\r
 EFIAPI\r
 CoreAllocatePool (\r
-  IN   EFI_MEMORY_TYPE  PoolType,\r
-  IN   UINTN            Size,\r
-  OUT  VOID             **Buffer\r
-  )\r
-;\r
+  IN EFI_MEMORY_TYPE  PoolType,\r
+  IN UINTN            Size,\r
+  OUT VOID            **Buffer\r
+  );\r
 \r
 \r
 \r
@@ -1321,9 +1273,8 @@ CoreAllocatePool (
 EFI_STATUS\r
 EFIAPI\r
 CoreFreePool (\r
-  IN VOID      *Buffer\r
-  )\r
-;\r
+  IN VOID        *Buffer\r
+  );\r
 \r
 \r
 \r
@@ -1356,14 +1307,13 @@ CoreFreePool (
 EFI_STATUS\r
 EFIAPI\r
 CoreLoadImage (\r
-  IN  BOOLEAN                    BootPolicy,\r
-  IN  EFI_HANDLE                 ParentImageHandle,\r
-  IN  EFI_DEVICE_PATH_PROTOCOL   *FilePath,\r
-  IN  VOID                       *SourceBuffer   OPTIONAL,\r
-  IN  UINTN                      SourceSize,\r
-  OUT EFI_HANDLE                 *ImageHandle\r
-  )\r
-;\r
+  IN BOOLEAN                    BootPolicy,\r
+  IN EFI_HANDLE                 ParentImageHandle,\r
+  IN EFI_DEVICE_PATH_PROTOCOL   *FilePath,\r
+  IN VOID                       *SourceBuffer   OPTIONAL,\r
+  IN UINTN                      SourceSize,\r
+  OUT EFI_HANDLE                *ImageHandle\r
+  );\r
 \r
 \r
 \r
@@ -1383,8 +1333,7 @@ EFI_STATUS
 EFIAPI\r
 CoreUnloadImage (\r
   IN EFI_HANDLE  ImageHandle\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1409,11 +1358,10 @@ CoreUnloadImage (
 EFI_STATUS\r
 EFIAPI\r
 CoreStartImage (\r
-  IN  EFI_HANDLE  ImageHandle,\r
-  OUT UINTN       *ExitDataSize,\r
-  OUT CHAR16      **ExitData  OPTIONAL\r
-  )\r
-;\r
+  IN EFI_HANDLE  ImageHandle,\r
+  OUT UINTN      *ExitDataSize,\r
+  OUT CHAR16     **ExitData  OPTIONAL\r
+  );\r
 \r
 \r
 \r
@@ -1447,8 +1395,7 @@ CoreExit (
   IN EFI_STATUS  Status,\r
   IN UINTN       ExitDataSize,\r
   IN CHAR16      *ExitData  OPTIONAL\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1473,13 +1420,12 @@ CoreExit (
 EFI_STATUS\r
 EFIAPI\r
 CoreCreateEvent (\r
-  IN  UINT32               Type,\r
-  IN  EFI_TPL              NotifyTpl,\r
-  IN  EFI_EVENT_NOTIFY     NotifyFunction,\r
-  IN  VOID                 *NotifyContext,\r
-  OUT EFI_EVENT            *Event\r
-  )\r
-;\r
+  IN UINT32                   Type,\r
+  IN EFI_TPL                  NotifyTpl,\r
+  IN EFI_EVENT_NOTIFY         NotifyFunction, OPTIONAL\r
+  IN VOID                     *NotifyContext, OPTIONAL\r
+  OUT EFI_EVENT               *Event\r
+  );\r
 \r
 \r
 \r
@@ -1512,8 +1458,7 @@ CoreCreateEventEx (
   IN CONST VOID               *NotifyContext, OPTIONAL\r
   IN CONST EFI_GUID           *EventGroup,    OPTIONAL\r
   OUT EFI_EVENT               *Event\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1535,11 +1480,10 @@ CoreCreateEventEx (
 EFI_STATUS\r
 EFIAPI\r
 CoreSetTimer (\r
-  IN EFI_EVENT            Event,\r
+  IN EFI_EVENT            UserEvent,\r
   IN EFI_TIMER_DELAY      Type,\r
   IN UINT64               TriggerTime\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -1555,9 +1499,8 @@ CoreSetTimer (
 EFI_STATUS\r
 EFIAPI\r
 CoreSignalEvent (\r
-  IN EFI_EVENT            Event\r
-  )\r
-;\r
+  IN EFI_EVENT    UserEvent\r
+  );\r
 \r
 \r
 \r
@@ -1578,11 +1521,10 @@ CoreSignalEvent (
 EFI_STATUS\r
 EFIAPI\r
 CoreWaitForEvent (\r
-  IN  UINTN        NumberOfEvents,\r
-  IN  EFI_EVENT    *UserEvents,\r
-  OUT UINTN        *UserIndex\r
-  )\r
-;\r
+  IN UINTN        NumberOfEvents,\r
+  IN EFI_EVENT    *UserEvents,\r
+  OUT UINTN       *UserIndex\r
+  );\r
 \r
 \r
 \r
@@ -1598,9 +1540,8 @@ CoreWaitForEvent (
 EFI_STATUS\r
 EFIAPI\r
 CoreCloseEvent (\r
-  IN EFI_EVENT            Event\r
-  )\r
-;\r
+  IN EFI_EVENT    UserEvent\r
+  );\r
 \r
 \r
 \r
@@ -1617,9 +1558,8 @@ CoreCloseEvent (
 EFI_STATUS\r
 EFIAPI\r
 CoreCheckEvent (\r
-  IN EFI_EVENT            Event\r
-  )\r
-;\r
+  IN EFI_EVENT        UserEvent\r
+  );\r
 \r
 \r
 /**\r
@@ -1640,8 +1580,7 @@ CoreAddMemorySpace (
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length,\r
   IN UINT64                Capabilities\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1670,8 +1609,7 @@ CoreAllocateMemorySpace (
   IN OUT EFI_PHYSICAL_ADDRESS   *BaseAddress,\r
   IN     EFI_HANDLE             ImageHandle,\r
   IN     EFI_HANDLE             DeviceHandle OPTIONAL\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1688,8 +1626,7 @@ EFI_STATUS
 CoreFreeMemorySpace (\r
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1706,8 +1643,7 @@ EFI_STATUS
 CoreRemoveMemorySpace (\r
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1724,8 +1660,7 @@ EFI_STATUS
 CoreGetMemorySpaceDescriptor (\r
   IN  EFI_PHYSICAL_ADDRESS             BaseAddress,\r
   OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR  *Descriptor\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1745,8 +1680,7 @@ CoreSetMemorySpaceAttributes (
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length,\r
   IN UINT64                Attributes\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1765,8 +1699,7 @@ EFI_STATUS
 CoreGetMemorySpaceMap (\r
   OUT UINTN                            *NumberOfDescriptors,\r
   OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR  **MemorySpaceMap\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1785,8 +1718,7 @@ CoreAddIoSpace (
   IN EFI_GCD_IO_TYPE       GcdIoType,\r
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1815,8 +1747,7 @@ CoreAllocateIoSpace (
   IN OUT EFI_PHYSICAL_ADDRESS   *BaseAddress,\r
   IN     EFI_HANDLE             ImageHandle,\r
   IN     EFI_HANDLE             DeviceHandle OPTIONAL\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1833,8 +1764,7 @@ EFI_STATUS
 CoreFreeIoSpace (\r
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1851,8 +1781,7 @@ EFI_STATUS
 CoreRemoveIoSpace (\r
   IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
   IN UINT64                Length\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1869,8 +1798,7 @@ EFI_STATUS
 CoreGetIoSpaceDescriptor (\r
   IN  EFI_PHYSICAL_ADDRESS         BaseAddress,\r
   OUT EFI_GCD_IO_SPACE_DESCRIPTOR  *Descriptor\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1888,8 +1816,7 @@ EFI_STATUS
 CoreGetIoSpaceMap (\r
   OUT UINTN                        *NumberOfDescriptors,\r
   OUT EFI_GCD_IO_SPACE_DESCRIPTOR  **IoSpaceMap\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1909,12 +1836,14 @@ CoreGetIoSpaceMap (
 \r
 **/\r
 EFI_DXESERVICE\r
+/**\r
+\r
+**/\r
 EFI_STATUS\r
 EFIAPI\r
 CoreDispatcher (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
   Check every driver and locate a matching one. If the driver is found, the Unrequested\r
@@ -1931,13 +1860,15 @@ CoreDispatcher (
 \r
 **/\r
 EFI_DXESERVICE\r
+/**\r
+\r
+**/\r
 EFI_STATUS\r
 EFIAPI\r
 CoreSchedule (\r
   IN  EFI_HANDLE  FirmwareVolumeHandle,\r
   IN  EFI_GUID    *DriverName\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1953,13 +1884,15 @@ CoreSchedule (
 \r
 **/\r
 EFI_DXESERVICE\r
+/**\r
+\r
+**/\r
 EFI_STATUS\r
 EFIAPI\r
 CoreTrust (\r
   IN  EFI_HANDLE  FirmwareVolumeHandle,\r
   IN  EFI_GUID    *DriverName\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -1979,11 +1912,10 @@ CoreTrust (
 **/\r
 BOOLEAN\r
 CoreGrowBuffer (\r
-  IN OUT EFI_STATUS       *Status,\r
-  IN OUT VOID             **Buffer,\r
-  IN     UINTN            BufferSize\r
-  )\r
-;\r
+  IN OUT EFI_STATUS   *Status,\r
+  IN OUT VOID         **Buffer,\r
+  IN UINTN            BufferSize\r
+  );\r
 \r
 \r
 /**\r
@@ -2002,8 +1934,7 @@ EFIAPI
 FwVolDriverInit (\r
   IN EFI_HANDLE                   ImageHandle,\r
   IN EFI_SYSTEM_TABLE             *SystemTable\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2022,8 +1953,7 @@ EFIAPI
 InitializeSectionExtraction (\r
   IN EFI_HANDLE                   ImageHandle,\r
   IN EFI_SYSTEM_TABLE             *SystemTable\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2045,11 +1975,10 @@ InitializeSectionExtraction (
 **/\r
 EFI_STATUS\r
 CoreProcessFirmwareVolume (\r
-  IN  VOID                         *FvHeader,\r
-  IN  UINTN                        Size, \r
-  OUT EFI_HANDLE                   *FVProtocolHandle\r
-  )\r
-;\r
+  IN VOID                             *FvHeader,\r
+  IN UINTN                            Size, \r
+  OUT EFI_HANDLE                      *FVProtocolHandle\r
+  );\r
 \r
 //\r
 //Functions used during debug buils\r
@@ -2057,14 +1986,13 @@ CoreProcessFirmwareVolume (
 \r
 /**\r
   Displays Architectural protocols that were not loaded and are required for DXE\r
-  core to function Only used in Debug Builds.\r
+  core to function Only used in Debug Builds.\r
 \r
 **/\r
 VOID\r
 CoreDisplayMissingArchProtocols (\r
   VOID\r
-  )\r
-;\r
+  );\r
   \r
 \r
 /**\r
@@ -2075,13 +2003,12 @@ CoreDisplayMissingArchProtocols (
 VOID\r
 CoreDisplayDiscoveredNotDispatched (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
-  Place holder function until all the Boot Services and Runtime Services are available.\r
-\r
+  Place holder function until all the Boot Services and Runtime Services are\r
+  available.\r
 \r
   @return EFI_NOT_AVAILABLE_YET\r
 \r
@@ -2090,12 +2017,12 @@ EFI_STATUS
 EFIAPI\r
 CoreEfiNotAvailableYetArg0 (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
-  Place holder function until all the Boot Services and Runtime Services are available.\r
+  Place holder function until all the Boot Services and Runtime Services are\r
+  available.\r
 \r
   @param  Arg1                   Undefined \r
 \r
@@ -2106,8 +2033,7 @@ EFI_STATUS
 EFIAPI\r
 CoreEfiNotAvailableYetArg1 (\r
   UINTN Arg1\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2124,8 +2050,7 @@ EFIAPI
 CoreEfiNotAvailableYetArg2 (\r
   UINTN Arg1,\r
   UINTN Arg2\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2144,8 +2069,7 @@ CoreEfiNotAvailableYetArg3 (
   UINTN Arg1,\r
   UINTN Arg2,\r
   UINTN Arg3\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2166,8 +2090,7 @@ CoreEfiNotAvailableYetArg4 (
   UINTN Arg2,\r
   UINTN Arg3,\r
   UINTN Arg4\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2190,8 +2113,7 @@ CoreEfiNotAvailableYetArg5 (
   UINTN Arg3,\r
   UINTN Arg4,\r
   UINTN Arg5\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2209,8 +2131,7 @@ EFI_STATUS
 CoreGetPeiProtocol (\r
   IN EFI_GUID  *ProtocolGuid,\r
   IN VOID      **Interface\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -2253,6 +2174,7 @@ CoreGetPeiProtocol (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 DxeMainUefiDecompressGetInfo (\r
   IN EFI_DECOMPRESS_PROTOCOL            *This,\r
   IN   VOID                             *Source,\r
@@ -2417,7 +2339,7 @@ GetSection (
 EFI_STATUS\r
 EFIAPI\r
 CloseSectionStream (\r
-  IN  UINTN                                   StreamHandleToClose\r
+  IN  UINTN                                     StreamHandleToClose\r
   );\r
 \r
 #endif\r
index 8e314c64aa0f600473fa8b7526956cc66e4164db..117d4baee930f7bd47cda29d818d0afd8e11cc60 100644 (file)
@@ -1,18 +1,18 @@
 #/** @file\r
-# Component description file for DxeMain module.\r
-#\r
-# This module provide an DXE CIS compliant implementation of DXE Core.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
-#\r
+#  \r
+#    Component description file for DxeMain module.\r
+#  \r
+#   This module provide an DXE CIS compliant implementation of DXE Core.\r
+#  \r
+#  Copyright (c) 2006 - 2008, 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
-#    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
+#  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
 [Defines]\r
index 1e600a9877e8b468373f16e23501d364ade0219c..3513179b4780de4c9183ef133dbb2692427b2c8e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
-\r
   DXE Core Main Entry Point\r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+\r
+Copyright (c) 2006 - 2008, 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
index 2c2283d3a06328cb2c967881db767351bf2a83c5..e815df718d1748e6230c2d092c0626b6d87365c3 100644 (file)
@@ -1,10 +1,9 @@
-/** @file \r
-\r
+/** @file\r
   This file deals with Architecture Protocol (AP) registration in\r
   the Dxe Core. The mArchProtocols[] array represents a list of\r
   events that represent the Architectural Protocols.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, 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
@@ -82,7 +81,6 @@ CoreAllEfiServicesAvailable (
   @param  Context        Event Context, not used.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 GenericArchProtocolNotify (\r
index 834ace59e792d0960fb515850ece434d2d999589..5e0b9c70abf6598bccaeef006d4d6e264bfd4f61 100644 (file)
@@ -1,8 +1,7 @@
-/** @file \r
-\r
+/** @file\r
   UEFI Event support functions implemented in this file.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, 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
@@ -67,7 +66,6 @@ UINT32 mEventTable[] = {
   Enter critical section by acquiring the lock on gEventQueueLock.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreAcquireEventLock (\r
   VOID\r
@@ -81,7 +79,6 @@ CoreAcquireEventLock (
   Exit critical section by releasing the lock on gEventQueueLock.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreReleaseEventLock (\r
   VOID\r
@@ -180,7 +177,6 @@ CoreDispatchEventNotifies (
   @param  Event                  The Event to notify\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreNotifyEvent (\r
   IN  IEVENT      *Event\r
index fa36e9f16ba9f1b5189d5786f14baac08cac6603..13f8ff28e3aab71eba529421da927e6a7b025b78 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
-  Event data is declared in this file. \r
-  \r
-Copyright (c) 2006 - 2008, 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
+/** @file\r
+  Event data is declared in this file.\r
+\r
+Copyright (c) 2006 - 2008, 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
+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
index 35ab5874a2a6396d2d43e37b56095f1dfe35acad..c16326661720841a167d1e20d25ac1084d14336f 100644 (file)
@@ -1,8 +1,7 @@
-/** @file \r
-\r
+/** @file\r
   Core Timer Services\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, 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
@@ -25,7 +24,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @return The current system time\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 CoreCurrentSystemTime (\r
   VOID\r
@@ -39,12 +37,11 @@ CoreCurrentSystemTime (
   @param  Context                Not used\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 CoreCheckTimers (\r
-  IN EFI_EVENT    Event,\r
-  IN VOID         *Context\r
+  IN EFI_EVENT            CheckEvent,\r
+  IN VOID                 *Context\r
   );\r
 \r
 /**\r
@@ -54,10 +51,9 @@ CoreCheckTimers (
                                  to be installed\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreInsertEventTimer (\r
-  IN IEVENT       *Event\r
+  IN IEVENT   *Event\r
   );\r
 \r
 //\r
@@ -104,7 +100,6 @@ CoreInitializeTimer (
   @return The current system time\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 CoreCurrentSystemTime (\r
   VOID\r
@@ -171,7 +166,6 @@ CoreTimerTick (
   @param  Context                Not used\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 CoreCheckTimers (\r
@@ -250,7 +244,6 @@ CoreCheckTimers (
                                  to be installed\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreInsertEventTimer (\r
   IN IEVENT   *Event\r
index 02597f3254617edd83cd1af5d400e5488021aede..1fbf39ece34c6ca49b38c480693e45a05fe7dfc4 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
+/** @file\r
+  Task priority (TPL) function\r
 \r
-  Task priority (TPL) function \r
+Copyright (c) 2006 - 2008, 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
+http://opensource.org/licenses/bsd-license.php\r
 \r
-Copyright (c) 2006 - 2008, 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
+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
@@ -22,7 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @param  Enable  The state of enable or disable interrupt\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreSetInterruptState (\r
   IN BOOLEAN      Enable\r
index 05d22e444d04ff56fe7e950d5009f5b17c9b1065..00deed3569c2b696da1cef3334e85b3dcaa9b83e 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   UEFI Event support functions and structure.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -84,8 +83,7 @@ typedef struct {
 VOID\r
 CoreDispatchEventNotifies (\r
   IN EFI_TPL      Priority\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -99,9 +97,8 @@ CoreDispatchEventNotifies (
 **/\r
 UINTN\r
 CoreHighestSetBit (\r
-  IN UINTN         Number\r
-  )\r
-;\r
+  IN UINTN     Number\r
+  );\r
 \r
 \r
 \r
@@ -115,8 +112,7 @@ CoreHighestSetBit (
 BOOLEAN\r
 GetInterruptState (\r
   VOID               \r
-  )\r
-;\r
+  );\r
 \r
 //\r
 // Exported functions\r
@@ -130,8 +126,7 @@ GetInterruptState (
 VOID\r
 CoreEventVirtualAddressFixup (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -142,8 +137,7 @@ CoreEventVirtualAddressFixup (
 VOID\r
 CoreInitializeTimer (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 //\r
 // extern data declarations\r
index 736e840cb70e5a2eeb78a0dcd13906230a0c3e94..7673352bbadb0643203415cee643bf16b93ff796 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   FFS file access utilities.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -137,7 +136,6 @@ VerifyFvHeaderChecksum (
   @retval FALSE          Checksum verification failed\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 VerifyHeaderChecksum (\r
   IN EFI_FFS_FILE_HEADER  *FfsHeader\r
index ed81cd464d4ef284ab700c29bece520df0c4ba65..6a4d7b05b2abe521dcf4b39854de73ca7a932980 100644 (file)
@@ -2,15 +2,15 @@
   Firmware File System driver that produce Firmware Volume protocol.\r
   Layers on top of Firmware Block protocol to produce a file abstraction \r
   of FV based files.\r
-  \r
-Copyright (c) 2006 - 2008 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
-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 - 2008, 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
+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
@@ -125,7 +125,6 @@ GetFwVolHeader (
   @return None.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 FreeFvDeviceResource (\r
   IN FV_DEVICE  *FvDevice\r
@@ -382,7 +381,6 @@ Done:
   @param  Context               For EFI compatiblity.  Not used.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 NotifyFwVolBlock (\r
index 8b637e82ceba74c2577f3e65042b8023287322ca..34067abc2f30cbfa826046c907c433447b0c4241 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Implements get/set firmware volume attributes\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index 0eda2e5d3e6c96ba23069a3bf313694f14086c12..81e3ad349e9dd038246848a08745adfec565e5fd 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Implements functions to read firmware file\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -45,7 +44,6 @@ UINT8 mFvAttributes[] = {0, 4, 7, 9, 10, 12, 15, 16};
   @return The attributes of EFI_FV_FILE_ATTRIBUTES\r
 \r
 **/\r
-STATIC\r
 EFI_FV_FILE_ATTRIBUTES\r
 FfsAttributes2FvFileAttributes (\r
   IN EFI_FFS_FILE_ATTRIBUTES FfsAttributes\r
index 5fe01a4889aa2bd7f244f6f2a0ebddecdd50f26b..c273b34efc9b356f025853b6906506d81a3ba9c2 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Implements functions to write firmware file\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index 809540b57519b7d6ea9c22f07efcafd6e4165105..4e702c6061a5e41391af32df296859d84a42a7db 100644 (file)
@@ -1,16 +1,15 @@
-/** @file \r
-\r
+/** @file\r
   Firmware Volume Block protocol functions.  \r
-  Consumes FV hobs and creates appropriate block protocols. \r
-  \r
-Copyright (c) 2006 - 2008, 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
+  Consumes FV hobs and creates appropriate block protocols.\r
+\r
+Copyright (c) 2006 - 2008, 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
+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
@@ -62,10 +61,9 @@ typedef struct {
 EFI_STATUS\r
 EFIAPI\r
 FwVolBlockDriverInit (\r
-  IN EFI_HANDLE               ImageHandle,\r
-  IN EFI_SYSTEM_TABLE         *SystemTable\r
-  )\r
-;\r
+  IN EFI_HANDLE                 ImageHandle,\r
+  IN EFI_SYSTEM_TABLE           *SystemTable\r
+  );\r
 \r
 \r
 \r
@@ -83,8 +81,7 @@ EFIAPI
 FwVolBlockGetAttributes (\r
   IN CONST  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL  *This,\r
   OUT       EFI_FVB_ATTRIBUTES                  *Attributes\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -106,8 +103,7 @@ EFIAPI
 FwVolBlockSetAttributes (\r
   IN CONST  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL  *This,\r
   IN CONST  EFI_FVB_ATTRIBUTES                  *Attributes\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -139,8 +135,7 @@ EFIAPI
 FwVolBlockEraseBlock (\r
   IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL    *This,\r
   ...\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -172,8 +167,7 @@ FwVolBlockReadBlock (
   IN CONST  UINTN                                Offset,\r
   IN OUT    UINTN                                *NumBytes,\r
   IN OUT    UINT8                                *Buffer\r
-  )\r
-;\r
+  );\r
 \r
   \r
 \r
@@ -204,13 +198,12 @@ FwVolBlockReadBlock (
 EFI_STATUS\r
 EFIAPI\r
 FwVolBlockWriteBlock (\r
-  IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL    *This,\r
-  IN EFI_LBA                              Lba,\r
-  IN UINTN                                Offset,\r
-  IN OUT UINTN                            *NumBytes,\r
-  IN UINT8                                *Buffer\r
-  )\r
-;\r
+  IN     EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL   *This,\r
+  IN     EFI_LBA                              Lba,\r
+  IN     UINTN                                Offset,\r
+  IN OUT UINTN                                *NumBytes,\r
+  IN     UINT8                                *Buffer\r
+  );\r
 \r
     \r
 \r
@@ -227,10 +220,9 @@ FwVolBlockWriteBlock (
 EFI_STATUS\r
 EFIAPI\r
 FwVolBlockGetPhysicalAddress (\r
-  IN CONST  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL    *This,\r
-  OUT       EFI_PHYSICAL_ADDRESS                  *Address\r
-  )\r
-;\r
+  IN CONST  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL  *This,\r
+  OUT       EFI_PHYSICAL_ADDRESS                *Address\r
+  );\r
 \r
 \r
 \r
@@ -256,10 +248,9 @@ EFIAPI
 FwVolBlockGetBlockSize (\r
   IN CONST  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL  *This,\r
   IN CONST  EFI_LBA                             Lba,\r
-  OUT       UINTN                               *BlockSize,\r
-  OUT       UINTN                               *NumberOfBlocks\r
-  )\r
-;\r
+  IN OUT    UINTN                               *BlockSize,\r
+  IN OUT    UINTN                               *NumberOfBlocks\r
+  );\r
 \r
 /**\r
   This routine is the driver initialization entry point.  It initializes the\r
@@ -274,11 +265,11 @@ FwVolBlockGetBlockSize (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 FwVolBlockDriverInit (\r
-  IN EFI_HANDLE               ImageHandle,\r
-  IN EFI_SYSTEM_TABLE         *SystemTable\r
-  )\r
-;\r
+  IN EFI_HANDLE                 ImageHandle,\r
+  IN EFI_SYSTEM_TABLE           *SystemTable\r
+  );\r
 \r
 \r
 /**\r
@@ -304,7 +295,6 @@ ProduceFVBProtocolOnBuffer (
   IN UINT64                 Length,\r
   IN EFI_HANDLE             ParentHandle,\r
   OUT EFI_HANDLE            *FvProtocol  OPTIONAL\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r
index 62795b2f355cb5697174b4bc096006da08e168ba..bc234aa0d01080276286375ae3850782e6949fd7 100644 (file)
@@ -4,15 +4,15 @@
 \r
   Also consumes NT_NON_MM_FV envinronment variable and produces appropriate\r
   block protocols fro them also... (this is TBD)\r
-  \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index d89043e6b5ba6668e6ef6e28d135c0bef5e62e48..698b065ee33dafe68694a81687d08a6ad194c09c 100644 (file)
@@ -1,16 +1,15 @@
 /** @file\r
-\r
   Firmware File System protocol. Layers on top of Firmware\r
   Block protocol to produce a file abstraction of FV based files.\r
-  \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -61,10 +60,9 @@ typedef struct {
 EFI_STATUS\r
 EFIAPI\r
 FvGetVolumeAttributes (\r
-  IN    CONST EFI_FIRMWARE_VOLUME2_PROTOCOL  *This,\r
-  OUT         EFI_FV_ATTRIBUTES              *Attributes\r
-  )\r
-;\r
+  IN  CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This,\r
+  OUT       EFI_FV_ATTRIBUTES             *Attributes\r
+  );\r
 \r
 \r
 /**\r
@@ -80,10 +78,9 @@ FvGetVolumeAttributes (
 EFI_STATUS\r
 EFIAPI\r
 FvSetVolumeAttributes (\r
-  IN CONST  EFI_FIRMWARE_VOLUME2_PROTOCOL  *This,\r
-  IN OUT    EFI_FV_ATTRIBUTES              *Attributes\r
-  )\r
-;\r
+  IN     CONST EFI_FIRMWARE_VOLUME2_PROTOCOL  *This,\r
+  IN OUT       EFI_FV_ATTRIBUTES              *Attributes\r
+  );\r
 \r
 \r
 /**\r
@@ -135,14 +132,13 @@ FvSetVolumeAttributes (
 EFI_STATUS\r
 EFIAPI\r
 FvGetNextFile (\r
-  IN CONST  EFI_FIRMWARE_VOLUME2_PROTOCOL  *This,\r
-  IN OUT    VOID                           *Key,\r
-  IN OUT    EFI_FV_FILETYPE                *FileType,\r
-  OUT       EFI_GUID                       *NameGuid,\r
-  OUT       EFI_FV_FILE_ATTRIBUTES         *Attributes,\r
-  OUT       UINTN                          *Size\r
-  )\r
-;\r
+  IN CONST   EFI_FIRMWARE_VOLUME2_PROTOCOL *This,\r
+  IN OUT     VOID                          *Key,\r
+  IN OUT     EFI_FV_FILETYPE               *FileType,\r
+  OUT        EFI_GUID                      *NameGuid,\r
+  OUT        EFI_FV_FILE_ATTRIBUTES        *Attributes,\r
+  OUT        UINTN                         *Size\r
+  );\r
 \r
 \r
 \r
@@ -189,15 +185,14 @@ FvGetNextFile (
 EFI_STATUS\r
 EFIAPI\r
 FvReadFile (\r
-  IN CONST  EFI_FIRMWARE_VOLUME2_PROTOCOL   *This,\r
-  IN CONST  EFI_GUID                       *NameGuid,\r
-  IN OUT    VOID                           **Buffer,\r
-  IN OUT    UINTN                          *BufferSize,\r
-  OUT       EFI_FV_FILETYPE                *FoundType,\r
-  OUT       EFI_FV_FILE_ATTRIBUTES         *FileAttributes,\r
-  OUT       UINT32                         *AuthenticationStatus\r
-  )\r
-;\r
+  IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This,\r
+  IN CONST EFI_GUID                      *NameGuid,\r
+  IN OUT   VOID                          **Buffer,\r
+  IN OUT   UINTN                         *BufferSize,\r
+  OUT      EFI_FV_FILETYPE               *FoundType,\r
+  OUT      EFI_FV_FILE_ATTRIBUTES        *FileAttributes,\r
+  OUT      UINT32                        *AuthenticationStatus\r
+  );\r
 \r
 \r
 /**\r
@@ -231,15 +226,14 @@ FvReadFile (
 EFI_STATUS\r
 EFIAPI\r
 FvReadFileSection (\r
-  IN CONST  EFI_FIRMWARE_VOLUME2_PROTOCOL   *This,\r
+  IN CONST  EFI_FIRMWARE_VOLUME2_PROTOCOL  *This,\r
   IN CONST  EFI_GUID                       *NameGuid,\r
   IN        EFI_SECTION_TYPE               SectionType,\r
   IN        UINTN                          SectionInstance,\r
   IN OUT    VOID                           **Buffer,\r
   IN OUT    UINTN                          *BufferSize,\r
   OUT       UINT32                         *AuthenticationStatus\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -266,12 +260,11 @@ FvReadFileSection (
 EFI_STATUS\r
 EFIAPI\r
 FvWriteFile (\r
-  IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL       *This,\r
-  IN       UINT32                             NumberOfFiles,\r
-  IN       EFI_FV_WRITE_POLICY                WritePolicy,\r
-  IN       EFI_FV_WRITE_FILE_DATA             *FileData\r
-  )\r
-;\r
+  IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL  *This,\r
+  IN       UINT32                         NumberOfFiles,\r
+  IN       EFI_FV_WRITE_POLICY            WritePolicy,\r
+  IN       EFI_FV_WRITE_FILE_DATA         *FileData\r
+  );\r
 \r
 \r
 /**\r
@@ -292,10 +285,9 @@ EFIAPI
 FvGetVolumeInfo (\r
   IN  CONST EFI_FIRMWARE_VOLUME2_PROTOCOL       *This,\r
   IN  CONST EFI_GUID                            *InformationType,\r
-  IN  OUT   UINTN                               *BufferSize,\r
-  OUT       VOID                                *Buffer\r
-  )\r
-;\r
+  IN OUT UINTN                                  *BufferSize,\r
+  OUT VOID                                      *Buffer\r
+  );\r
 \r
 \r
 \r
@@ -317,10 +309,9 @@ EFIAPI
 FvSetVolumeInfo (\r
   IN  CONST EFI_FIRMWARE_VOLUME2_PROTOCOL       *This,\r
   IN  CONST EFI_GUID                            *InformationType,\r
-  IN        UINTN                               BufferSize,\r
-  IN  CONST  VOID                               *Buffer\r
-  )\r
-;\r
+  IN  UINTN                                     BufferSize,\r
+  IN CONST  VOID                                *Buffer\r
+  );\r
   \r
 //\r
 //Internal functions\r
@@ -349,10 +340,9 @@ typedef enum {
 BOOLEAN\r
 IsBufferErased (\r
   IN UINT8    ErasePolarity,\r
-  IN VOID     *Buffer,\r
+  IN VOID     *InBuffer,\r
   IN UINTN    BufferSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -364,12 +354,11 @@ IsBufferErased (
   @return FFS File state\r
 \r
 **/\r
-EFI_FFS_FILE_STATE \r
+EFI_FFS_FILE_STATE\r
 GetFileState (\r
   IN UINT8                ErasePolarity,\r
   IN EFI_FFS_FILE_HEADER  *FfsHeader\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -385,8 +374,7 @@ VOID
 SetFileState (\r
   IN UINT8                State,\r
   IN EFI_FFS_FILE_HEADER  *FfsHeader\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -401,8 +389,7 @@ SetFileState (
 BOOLEAN\r
 VerifyFvHeaderChecksum (\r
   IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader\r
-  )\r
-;\r
+  );\r
     \r
 \r
 /**\r
@@ -418,11 +405,10 @@ VerifyFvHeaderChecksum (
 **/\r
 BOOLEAN\r
 IsValidFfsHeader (\r
-  IN  UINT8                ErasePolarity,\r
-  IN  EFI_FFS_FILE_HEADER  *FfsHeader,\r
-  OUT EFI_FFS_FILE_STATE   *FileState\r
-  )\r
-;\r
+  IN UINT8                ErasePolarity,\r
+  IN EFI_FFS_FILE_HEADER  *FfsHeader,\r
+  OUT EFI_FFS_FILE_STATE  *FileState\r
+  );\r
 \r
 \r
 /**\r
@@ -440,8 +426,7 @@ BOOLEAN
 IsValidFfsFile (\r
   IN UINT8                ErasePolarity,\r
   IN EFI_FFS_FILE_HEADER  *FfsHeader\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -460,10 +445,9 @@ IsValidFfsFile (
 **/\r
 EFI_STATUS\r
 GetFwVolHeader (\r
-  IN  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL      *Fvb,\r
-  OUT EFI_FIRMWARE_VOLUME_HEADER              **FwVolHeader\r
-  )\r
-;\r
+  IN     EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL     *Fvb,\r
+  OUT    EFI_FIRMWARE_VOLUME_HEADER             **FwVolHeader\r
+  );\r
 \r
 \r
 \r
@@ -480,7 +464,6 @@ GetFwVolHeader (
 EFI_STATUS\r
 FvCheck (\r
   IN OUT FV_DEVICE  *FvDevice\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r
index abe8730124b66ddc3067e690c6e725cd0001170c..ffe97a5fc4c33a3bc7a299401b255796d92bd421 100644 (file)
@@ -1,16 +1,15 @@
-/** @file \r
-\r
+/** @file\r
   GCD Operations and data structure used to \r
   convert from GCD attributes to EFI Memory Map attributes.\r
-  \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index bff13b3bf666148325e72545e0045c12932b0cfe..8536647fe7eb6025ec89b7e70d22cebef41966c6 100644 (file)
@@ -1,17 +1,16 @@
-/** @file \r
-\r
-    The file contains the GCD related services in the EFI Boot Services Table.\r
+/** @file\r
+  The file contains the GCD related services in the EFI Boot Services Table.\r
     The GCD services are used to manage the memory and I/O regions that \r
     are accessible to the CPU that is executing the DXE core.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -122,7 +121,6 @@ CoreReleaseGcdMemoryLock (
   Acquire memory lock on mGcdIoSpaceLock.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreAcquireGcdIoLock (\r
   VOID\r
@@ -136,7 +134,6 @@ CoreAcquireGcdIoLock (
   Release memory lock on mGcdIoSpaceLock.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreReleaseGcdIoLock (\r
   VOID\r
@@ -163,7 +160,6 @@ CoreReleaseGcdIoLock (
   @return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 AlignValue (\r
   IN UINT64   Value,\r
@@ -189,7 +185,6 @@ AlignValue (
   @return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 PageAlignAddress (\r
   IN UINT64 Value\r
@@ -207,7 +202,6 @@ PageAlignAddress (
   @return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 PageAlignLength (\r
   IN UINT64 Value\r
@@ -230,7 +224,6 @@ PageAlignLength (
   @retval EFI_SUCCESS            Both entries successfully allocated.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreAllocateGcdMapEntry (\r
   IN OUT EFI_GCD_MAP_ENTRY  **TopEntry,\r
@@ -266,7 +259,6 @@ CoreAllocateGcdMapEntry (
   @retval EFI_SUCCESS            The new range was inserted into the linked list\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreInsertGcdMapEntry (\r
   IN LIST_ENTRY           *Link,\r
@@ -311,7 +303,6 @@ CoreInsertGcdMapEntry (
   @retval EFI_UNSUPPORTED        These adjacent regions could not merge.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreMergeGcdMapEntry (\r
   IN LIST_ENTRY      *Link,\r
@@ -385,7 +376,6 @@ CoreMergeGcdMapEntry (
   @retval EFI_SUCCESS            GCD map successfully cleaned up.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreCleanupGcdMapEntry (\r
   IN EFI_GCD_MAP_ENTRY  *TopEntry,\r
@@ -430,7 +420,6 @@ CoreCleanupGcdMapEntry (
   @retval EFI_NOT_FOUND          Not found.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreSearchGcdMapEntry (\r
   IN  EFI_PHYSICAL_ADDRESS  BaseAddress,\r
@@ -475,7 +464,6 @@ CoreSearchGcdMapEntry (
   @return The count.\r
 \r
 **/\r
-STATIC\r
 UINTN\r
 CoreCountGcdMapEntry (\r
   IN LIST_ENTRY  *Map\r
@@ -503,11 +491,10 @@ CoreCountGcdMapEntry (
   @return The enum value of memory attribute.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 ConverToCpuArchAttributes (\r
   UINT64 Attributes\r
-  ) \r
+  )\r
 {\r
   if ( (Attributes & EFI_MEMORY_UC) == EFI_MEMORY_UC) {\r
     return EFI_MEMORY_UC;\r
@@ -557,7 +544,6 @@ ConverToCpuArchAttributes (
   @retval EFI_OUT_OF_RESOURCES   No buffer could be allocated.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreConvertSpace (\r
   IN UINTN                 Operation,\r
@@ -801,7 +787,6 @@ Done:
                                  space.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreAllocateSpaceCheckEntry (\r
   IN UINTN                Operation,\r
@@ -849,7 +834,6 @@ CoreAllocateSpaceCheckEntry (
   @retval EFI_SUCCESS            Space successfully allocated.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreAllocateSpace (\r
   IN     UINTN                  Operation,\r
@@ -1096,7 +1080,6 @@ Done:
   @retval EFI_SUCCESS            Successfully add a segment of memory space.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreInternalAddMemorySpace (\r
   IN EFI_GCD_MEMORY_TYPE   GcdMemoryType,\r
@@ -1283,7 +1266,6 @@ CoreRemoveMemorySpace (
   @param  Entry                  According to this entry\r
 \r
 **/\r
-STATIC\r
 VOID\r
 BuildMemoryDescriptor (\r
   IN OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR  *Descriptor,\r
@@ -1558,7 +1540,6 @@ CoreRemoveIoSpace (
   @param  Entry                  According to this entry\r
 \r
 **/\r
-STATIC\r
 VOID\r
 BuildIoDescriptor (\r
   IN EFI_GCD_IO_SPACE_DESCRIPTOR  *Descriptor,\r
@@ -1701,7 +1682,6 @@ Done:
   @return The capabilities mask for an EFI Memory Descriptor.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 CoreConvertResourceDescriptorHobAttributesToCapabilities (\r
   EFI_GCD_MEMORY_TYPE  GcdMemoryType,\r
index e52b7e390d2a82d5562955b3810f8cfc14914530..c6a698dbd4302c0e4200194430263a2648303dc1 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Support functions for managing protocol.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -113,10 +112,9 @@ typedef struct {
 **/\r
 PROTOCOL_ENTRY  *\r
 CoreFindProtocolEntry (\r
-  IN EFI_GUID     *Protocol,\r
-  IN BOOLEAN      Create\r
-  )\r
-;\r
+  IN EFI_GUID   *Protocol,\r
+  IN BOOLEAN    Create\r
+  );\r
 \r
 \r
 /**\r
@@ -127,9 +125,8 @@ CoreFindProtocolEntry (
 **/\r
 VOID\r
 CoreNotifyProtocolEntry (\r
-  IN PROTOCOL_ENTRY       *ProtEntry\r
-  )\r
-;\r
+  IN PROTOCOL_ENTRY   *ProtEntry\r
+  );\r
 \r
 \r
 /**\r
@@ -146,11 +143,10 @@ CoreNotifyProtocolEntry (
 **/\r
 PROTOCOL_INTERFACE *\r
 CoreFindProtocolInterface (\r
-  IN IHANDLE              *Handle,\r
-  IN EFI_GUID             *Protocol,\r
-  IN VOID                 *Interface\r
-  )\r
-;\r
+  IN IHANDLE        *Handle,\r
+  IN EFI_GUID       *Protocol,\r
+  IN VOID           *Interface\r
+  );\r
 \r
 \r
 /**\r
@@ -165,11 +161,10 @@ CoreFindProtocolInterface (
 **/\r
 PROTOCOL_INTERFACE *\r
 CoreRemoveInterfaceFromProtocol (\r
-  IN IHANDLE              *Handle,\r
-  IN EFI_GUID             *Protocol,\r
-  IN VOID                 *Interface\r
-  )\r
-;\r
+  IN IHANDLE        *Handle,\r
+  IN EFI_GUID       *Protocol,\r
+  IN VOID           *Interface\r
+  );\r
 \r
 \r
 /**\r
@@ -183,9 +178,8 @@ CoreRemoveInterfaceFromProtocol (
 **/\r
 EFI_STATUS\r
 CoreUnregisterProtocolNotify (\r
-  IN EFI_EVENT            Event\r
-  )\r
-;\r
+  IN EFI_EVENT      Event\r
+  );\r
 \r
 \r
 /**\r
@@ -206,8 +200,7 @@ EFI_STATUS
 CoreDisconnectControllersUsingProtocolInterface (\r
   IN EFI_HANDLE           UserHandle,\r
   IN PROTOCOL_INTERFACE   *Prot\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -217,8 +210,7 @@ CoreDisconnectControllersUsingProtocolInterface (
 VOID\r
 CoreAcquireProtocolLock (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -228,8 +220,7 @@ CoreAcquireProtocolLock (
 VOID\r
 CoreReleaseProtocolLock (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -244,8 +235,7 @@ CoreReleaseProtocolLock (
 EFI_STATUS\r
 CoreValidateHandle (\r
   IN  EFI_HANDLE                UserHandle\r
-  )\r
-;\r
+  );\r
 \r
 //\r
 // Externs\r
index 09adddfb532e7aa648d65a6a0a76219b4bf21ee2..930003304a8969af62b5a99d0f38de6be4d7e982 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Support functions to connect/disconnect UEFI Driver model Protocol\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -42,8 +41,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 EFI_STATUS \r
 CoreConnectSingleController (\r
   IN  EFI_HANDLE                ControllerHandle,\r
-  IN  EFI_HANDLE                *DriverImageHandle    OPTIONAL,\r
-  IN  EFI_DEVICE_PATH_PROTOCOL  *RemainingDevicePath  OPTIONAL\r
+  IN  EFI_HANDLE                *ContextDriverImageHandles OPTIONAL,\r
+  IN  EFI_DEVICE_PATH_PROTOCOL  *RemainingDevicePath       OPTIONAL     \r
   );\r
 \r
 //\r
index d95cef76dfe7ac44e31e3486f5118997c8c5600d..b07a3a2a58a8e56b899059b80d4b69b0aac716c1 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   UEFI handle & protocol handling.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -22,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 // gProtocolDatabaseLock - Lock to protect the mProtocolDatabase\r
 // gHandleDatabaseKey    -  The Key to show that the handle has been created/modified\r
 //\r
-static LIST_ENTRY      mProtocolDatabase     = INITIALIZE_LIST_HEAD_VARIABLE (mProtocolDatabase);\r
+STATIC LIST_ENTRY      mProtocolDatabase     = INITIALIZE_LIST_HEAD_VARIABLE (mProtocolDatabase);\r
 LIST_ENTRY             gHandleList           = INITIALIZE_LIST_HEAD_VARIABLE (gHandleList);\r
 EFI_LOCK               gProtocolDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);\r
 UINT64                 gHandleDatabaseKey    = 0;\r
@@ -220,7 +219,6 @@ CoreFindProtocolInterface (
   @return EFI_NOT_FOUND if the event was not found in the protocl database.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreUnregisterProtocolNotifyEvent (\r
   IN EFI_EVENT      Event\r
@@ -878,7 +876,6 @@ CoreUninstallMultipleProtocolInterfaces (
   @return The requested protocol interface for the handle\r
 \r
 **/\r
-STATIC\r
 PROTOCOL_INTERFACE  *\r
 CoreGetProtocolInterface (\r
   IN  EFI_HANDLE                UserHandle,\r
index 9c423837911d8259980c33a9c1253cc62d886794..c8ea7a83a8cf557ef0215bb1f042b677d1a5bf96 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
+/** @file\r
+  Locate handle functions\r
 \r
-  Locate handle functions \r
+Copyright (c) 2006 - 2008, 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
+http://opensource.org/licenses/bsd-license.php\r
 \r
-Copyright (c) 2006 - 2008, 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
+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
@@ -50,7 +49,6 @@ IHANDLE *
                                  returned if it's the end of the list.\r
 \r
 **/\r
-STATIC\r
 IHANDLE *\r
 CoreGetNextLocateAllHandles (\r
   IN OUT LOCATE_POSITION    *Position,\r
@@ -70,7 +68,6 @@ CoreGetNextLocateAllHandles (
                                  returned if it's the end of the list.\r
 \r
 **/\r
-STATIC\r
 IHANDLE *\r
 CoreGetNextLocateByRegisterNotify (\r
   IN OUT LOCATE_POSITION    *Position,\r
@@ -89,7 +86,6 @@ CoreGetNextLocateByRegisterNotify (
                                  returned if it's the end of the list.\r
 \r
 **/\r
-STATIC\r
 IHANDLE *\r
 CoreGetNextLocateByProtocol (\r
   IN OUT LOCATE_POSITION    *Position,\r
@@ -276,7 +272,6 @@ CoreLocateHandle (
                                  returned if it's the end of the list.\r
 \r
 **/\r
-STATIC\r
 IHANDLE *\r
 CoreGetNextLocateAllHandles (\r
   IN OUT LOCATE_POSITION    *Position,\r
@@ -317,7 +312,6 @@ CoreGetNextLocateAllHandles (
                                  returned if it's the end of the list.\r
 \r
 **/\r
-STATIC\r
 IHANDLE *\r
 CoreGetNextLocateByRegisterNotify (\r
   IN OUT LOCATE_POSITION    *Position,\r
@@ -368,7 +362,6 @@ CoreGetNextLocateByRegisterNotify (
                                  returned if it's the end of the list.\r
 \r
 **/\r
-STATIC\r
 IHANDLE *\r
 CoreGetNextLocateByProtocol (\r
   IN OUT LOCATE_POSITION    *Position,\r
index 7ee81b984e78b965114104231373966c577318a3..395cdd45773520fd9b59eed3bfe855fdb80390e3 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   UEFI notify infrastructure\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index 0b8201ee5efc43e17930ab162f0bbe074d5c9c56..e84a05f6322c820410a04caf729209f24a6110a6 100644 (file)
@@ -1,8 +1,7 @@
-/** @file \r
-  \r
+/** @file\r
   Data structure and functions to load and unload PeImage.\r
-  \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+\r
+Copyright (c) 2006 - 2008, 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
@@ -122,8 +121,7 @@ CoreOpenImageFile (
   OUT EFI_HANDLE                    *DeviceHandle,\r
   IN IMAGE_FILE_HANDLE              *ImageFileHandle,\r
   OUT UINT32                        *AuthenticationStatus\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -144,12 +142,11 @@ CoreOpenImageFile (
 EFI_STATUS\r
 EFIAPI\r
 CoreReadImageFile (\r
-  IN     VOID     *UserHandle,\r
-  IN     UINTN    Offset,\r
-  IN OUT UINTN    *ReadSize,\r
-  OUT     VOID    *Buffer\r
-  )\r
-;\r
+  IN     VOID    *UserHandle,\r
+  IN     UINTN   Offset,\r
+  IN OUT UINTN   *ReadSize,\r
+  OUT    VOID    *Buffer\r
+  );\r
 \r
 \r
 /**\r
@@ -162,8 +159,7 @@ VOID
 EFIAPI\r
 CoreCloseImageFile (\r
   IN IMAGE_FILE_HANDLE *ImageFileHandle\r
-  )\r
-;\r
+  );\r
 \r
 //\r
 // Image processing worker functions\r
@@ -185,11 +181,10 @@ CoreCloseImageFile (
 EFI_STATUS\r
 CoreDevicePathToInterface (\r
   IN EFI_GUID                     *Protocol,\r
-  IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath,\r
+  IN EFI_DEVICE_PATH_PROTOCOL     **FilePath,\r
   OUT VOID                        **Interface,\r
   OUT EFI_HANDLE                  *Handle\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -215,14 +210,13 @@ CoreDevicePathToInterface (
 **/\r
 EFI_STATUS\r
 CoreLoadPeImage (\r
-  IN  BOOLEAN                    BootPolicy,\r
-  IN  VOID                       *Pe32Handle,\r
-  IN  LOADED_IMAGE_PRIVATE_DATA  *Image,\r
-  IN  EFI_PHYSICAL_ADDRESS       DstBuffer   OPTIONAL,\r
+  IN BOOLEAN                     BootPolicy,  \r
+  IN VOID                        *Pe32Handle,\r
+  IN LOADED_IMAGE_PRIVATE_DATA   *Image,\r
+  IN EFI_PHYSICAL_ADDRESS        DstBuffer    OPTIONAL,\r
   OUT EFI_PHYSICAL_ADDRESS       *EntryPoint  OPTIONAL,\r
   IN  UINT32                     Attribute\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -236,8 +230,7 @@ CoreLoadPeImage (
 LOADED_IMAGE_PRIVATE_DATA *\r
 CoreLoadedImageInfo (\r
   IN EFI_HANDLE  ImageHandle\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -251,8 +244,7 @@ VOID
 CoreUnloadAndCloseImage (\r
   IN LOADED_IMAGE_PRIVATE_DATA  *Image,\r
   IN BOOLEAN                    FreePage\r
-  )\r
-;\r
+  );\r
 \r
 \r
 //\r
@@ -292,7 +284,7 @@ CoreUnloadAndCloseImage (
 EFI_STATUS\r
 EFIAPI\r
 CoreLoadImageEx (\r
-  IN EFI_PE32_IMAGE_PROTOCOL           *This,\r
+  IN  EFI_PE32_IMAGE_PROTOCOL          *This,\r
   IN  EFI_HANDLE                       ParentImageHandle,\r
   IN  EFI_DEVICE_PATH_PROTOCOL         *FilePath,\r
   IN  VOID                             *SourceBuffer       OPTIONAL,\r
@@ -302,8 +294,7 @@ CoreLoadImageEx (
   OUT EFI_HANDLE                       *ImageHandle,\r
   OUT EFI_PHYSICAL_ADDRESS             *EntryPoint         OPTIONAL,\r
   IN  UINT32                           Attribute\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -320,8 +311,7 @@ CoreLoadImageEx (
 EFI_STATUS\r
 EFIAPI\r
 CoreUnloadImageEx (\r
-  IN EFI_PE32_IMAGE_PROTOCOL            *This,\r
+  IN EFI_PE32_IMAGE_PROTOCOL  *This,\r
   IN EFI_HANDLE                         ImageHandle\r
-  )\r
-;\r
+  );\r
 #endif\r
index 0770399cd99bf522648af6cb267331b879148be4..64e5e34fc4386c2b0e4ab157c227a614c9e1aede 100644 (file)
@@ -1,8 +1,7 @@
-/** @file \r
-\r
+/** @file\r
   Core image handling services to load and unload PeImage.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, 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
@@ -603,7 +602,6 @@ CoreLoadedImageInfo (
                                   resources.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreLoadImageCommon (\r
   IN  BOOLEAN                          BootPolicy,\r
index d3f28e2a265231516cc69e3b554e3056dccded84..e78b88d608d8e9e3dbd2ea359cb637de598cb5eb 100644 (file)
@@ -1,8 +1,7 @@
 /** @file\r
-  \r
-  Handle services to image file. \r
-   \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+  Handle services to image file.\r
+\r
+Copyright (c) 2006 - 2008, 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
index 0caaa4303e9bcfb306154a679ba7c7bd80162c13..e8f1553a8e27f79484118bb18021589bfd60e63e 100644 (file)
@@ -1,16 +1,14 @@
-/** @file \r
-  \r
+/** @file\r
   Data structure and functions to allocate and free memory space.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -70,11 +68,10 @@ typedef struct {
 **/\r
 VOID *\r
 CoreAllocatePoolPages (\r
-  IN EFI_MEMORY_TYPE   PoolType,\r
-  IN UINTN             NumberOfPages,\r
-  IN UINTN             Alignment\r
-  )\r
-;\r
+  IN EFI_MEMORY_TYPE    PoolType,\r
+  IN UINTN              NumberOfPages,\r
+  IN UINTN              Alignment\r
+  );\r
 \r
 \r
 \r
@@ -89,8 +86,7 @@ VOID
 CoreFreePoolPages (\r
   IN EFI_PHYSICAL_ADDRESS   Memory,\r
   IN UINTN                  NumberOfPages\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -108,8 +104,7 @@ VOID *
 CoreAllocatePoolI (\r
   IN EFI_MEMORY_TYPE  PoolType,\r
   IN UINTN            Size\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -125,9 +120,8 @@ CoreAllocatePoolI (
 **/\r
 EFI_STATUS\r
 CoreFreePoolI (\r
-  IN VOID           *Buffer\r
-  )\r
-;\r
+  IN VOID       *Buffer\r
+  );\r
 \r
 \r
 \r
@@ -138,8 +132,7 @@ CoreFreePoolI (
 VOID\r
 CoreAcquireMemoryLock (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -149,8 +142,7 @@ CoreAcquireMemoryLock (
 VOID\r
 CoreReleaseMemoryLock (\r
   VOID\r
-  )\r
-;\r
+  );\r
 \r
 \r
 //\r
index 067f0dab5e63cb905675416470726fb4df6e4f69..a489bd59d1998c1d5e251e1cafebe50103eb473d 100644 (file)
@@ -1,16 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Internal functions shared in DxeCore module.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -30,8 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 VOID\r
 CoreReportProgressCode (\r
   IN  EFI_STATUS_CODE_VALUE   Value\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -48,8 +45,7 @@ VOID
 CoreReportProgressCodeSpecific (\r
   IN  EFI_STATUS_CODE_VALUE   Value,\r
   IN  EFI_HANDLE              Handle\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -63,9 +59,8 @@ CoreReportProgressCodeSpecific (
 **/\r
 VOID\r
 CoreAcquireLock (\r
-  IN EFI_LOCK *Lock\r
-  )\r
-;\r
+  IN EFI_LOCK  *Lock\r
+  );\r
 \r
 \r
 /**\r
@@ -84,8 +79,7 @@ CoreAcquireLock (
 EFI_STATUS\r
 CoreAcquireLockOrFail (\r
   IN EFI_LOCK  *Lock\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -99,9 +93,8 @@ CoreAcquireLockOrFail (
 **/\r
 VOID\r
 CoreReleaseLock (\r
-  IN EFI_LOCK *Lock\r
-  )\r
-;\r
+  IN EFI_LOCK  *Lock\r
+  );\r
 \r
 //\r
 // Device Path functions\r
@@ -119,8 +112,7 @@ CoreReleaseLock (
 UINTN\r
 CoreDevicePathSize (\r
   IN EFI_DEVICE_PATH_PROTOCOL  *DevicePath\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -135,8 +127,7 @@ CoreDevicePathSize (
 BOOLEAN\r
 CoreIsDevicePathMultiInstance (\r
   IN EFI_DEVICE_PATH_PROTOCOL  *DevicePath\r
-  )\r
-;\r
+  );\r
 \r
 \r
 \r
@@ -152,8 +143,7 @@ CoreIsDevicePathMultiInstance (
 EFI_DEVICE_PATH_PROTOCOL *\r
 CoreDuplicateDevicePath (\r
   IN EFI_DEVICE_PATH_PROTOCOL   *DevicePath\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -171,8 +161,7 @@ EFI_DEVICE_PATH_PROTOCOL *
 CoreAppendDevicePath (\r
   IN EFI_DEVICE_PATH_PROTOCOL  *Src1,\r
   IN EFI_DEVICE_PATH_PROTOCOL  *Src2\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -186,8 +175,7 @@ CoreAppendDevicePath (
 VOID *\r
 CoreAllocateBootServicesPool (\r
   IN  UINTN   AllocationSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -201,8 +189,7 @@ CoreAllocateBootServicesPool (
 VOID *\r
 CoreAllocateZeroBootServicesPool (\r
   IN  UINTN   AllocationSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -219,9 +206,8 @@ CoreAllocateZeroBootServicesPool (
 EFI_STATUS\r
 CoreGetConfigTable (\r
   IN EFI_GUID *Guid,\r
-  IN OUT VOID **Table\r
-  )\r
-;\r
+  OUT VOID    **Table\r
+  );\r
 \r
 \r
 /**\r
@@ -238,8 +224,7 @@ VOID *
 CoreAllocateRuntimeCopyPool (\r
   IN  UINTN   AllocationSize,\r
   IN  VOID    *Buffer\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -253,8 +238,7 @@ CoreAllocateRuntimeCopyPool (
 VOID *\r
 CoreAllocateRuntimePool (\r
   IN  UINTN   AllocationSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -271,8 +255,7 @@ VOID *
 CoreAllocateCopyPool (\r
   IN  UINTN   AllocationSize,\r
   IN  VOID    *Buffer\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -299,7 +282,6 @@ CoreCreateProtocolNotifyEvent (
   IN VOID                 *NotifyContext,\r
   OUT VOID                **Registration,\r
   IN  BOOLEAN             SignalFlag\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r
index fa53788371de2bf55bf482e1a0cc2c81b84a6b75..cdef6a9ec61394e9c373c544d6953e5ecbd95fdf 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   DXE Core library services.\r
-  \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+\r
+Copyright (c) 2006 - 2008, 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
index 6995e513ad149cf849a37ce41c99317c51d8c16a..a523fbc00a39df5e0ee694b5c9551e2a92104c5e 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   Global data used in memory service\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index 190715e2710c56a54822503df3c5b9b8d1cfa5d8..5da740cb7c4081b3e871d7639cda572fdd9c066a 100644 (file)
@@ -1,15 +1,14 @@
 /** @file\r
-\r
   UEFI Memory page management functions.\r
 \r
-Copyright (c) 2007 - 2008, 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) 2007 - 2008, 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
+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
@@ -95,8 +94,7 @@ EFI_MEMORY_TYPE_INFORMATION gMemoryTypeInformation[EfiMaxMemoryType + 1] = {
   Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable.\r
 \r
 **/\r
-STATIC\r
-VOID \r
+VOID\r
 PromoteMemoryResource (\r
   VOID\r
   );\r
@@ -115,7 +113,6 @@ PromoteMemoryResource (
   @return None.  The range is added to the memory map\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreAddRange (\r
   IN EFI_MEMORY_TYPE          Type,\r
@@ -129,7 +126,6 @@ CoreAddRange (
   temporary descriptor stack to heap.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreFreeMemoryMapStack (\r
   VOID\r
@@ -151,7 +147,6 @@ CoreFreeMemoryMapStack (
                                  specified type.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreConvertPages (\r
   IN UINT64           Start,\r
@@ -165,7 +160,6 @@ CoreConvertPages (
   @param  Entry                  The entry to remove\r
 \r
 **/\r
-STATIC\r
 VOID\r
 RemoveMemoryMapEntry (\r
   MEMORY_MAP      *Entry\r
@@ -184,7 +178,6 @@ RemoveMemoryMapEntry (
   @return The Memory map descriptor dequed from the mFreeMemoryMapEntryList\r
 \r
 **/\r
-STATIC\r
 MEMORY_MAP *\r
 AllocateMemoryMapEntry (\r
   VOID\r
@@ -222,7 +215,6 @@ CoreReleaseMemoryLock (
   Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 PromoteMemoryResource (\r
   VOID\r
@@ -449,7 +441,6 @@ CoreAddMemoryDescriptor (
   @return None.  The range is added to the memory map\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreAddRange (\r
   IN EFI_MEMORY_TYPE          Type,\r
@@ -542,7 +533,6 @@ CoreAddRange (
   temporary descriptor stack to heap.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CoreFreeMemoryMapStack (\r
   VOID\r
@@ -621,7 +611,6 @@ CoreFreeMemoryMapStack (
   @param  Entry                  The entry to remove\r
 \r
 **/\r
-STATIC\r
 VOID\r
 RemoveMemoryMapEntry (\r
   MEMORY_MAP      *Entry\r
@@ -652,7 +641,6 @@ RemoveMemoryMapEntry (
   @return The Memory map descriptor dequed from the mFreeMemoryMapEntryList\r
 \r
 **/\r
-STATIC\r
 MEMORY_MAP *\r
 AllocateMemoryMapEntry (\r
   VOID\r
@@ -705,7 +693,6 @@ AllocateMemoryMapEntry (
                                  specified type.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CoreConvertPages (\r
   IN UINT64           Start,\r
@@ -898,7 +885,6 @@ CoreConvertPages (
   @return The base address of the range, or 0 if the range was not found\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 CoreFindFreePagesI (\r
   IN UINT64           MaxAddress,\r
@@ -1019,7 +1005,6 @@ CoreFindFreePagesI (
   @return The base address of the range, or 0 if the range was not found.\r
 \r
 **/\r
-STATIC\r
 UINT64\r
 FindFreePages (\r
     IN UINT64           MaxAddress,\r
index 1adaa1f26970536ae97381617165b5b852112283..f0af2b88004493ecf3b4564b283d203aca888955 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   UEFI Memory pool management functions.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -110,7 +109,6 @@ CoreInitializePool (
   @return Pointer of Corresponding pool head.\r
 \r
 **/\r
-STATIC\r
 POOL *\r
 LookupPoolHead (\r
   IN EFI_MEMORY_TYPE  MemoryType\r
index afe668fe45a0b5739bbf4dfff7cf1458c95efe16..56308ed67469f2eb2577c59b6d171834359e5575 100644 (file)
@@ -1,16 +1,15 @@
-/** @file \r
-\r
+/** @file\r
   Support functions for managing debug image info table when loading and unloading\r
   images.\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index 95d0393a8419db22d3fb13f4da18c75d8fe8fb17..821595a4f27ed24edf2041dd1308cea17a623b31 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   UEFI Miscellaneous boot Services InstallConfigurationTable service\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index c17c1a8deb5103824fe7623706c7f87e4fb75571..c7798133b1632b3989ff67be2b2c3371f2848d39 100644 (file)
@@ -1,15 +1,14 @@
-/** @file \r
-\r
+/** @file\r
   UEFI Miscellaneous boot Services SetWatchdogTimer service implementation\r
 \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
index 8ab48e6cf30e7f1f2dd045c78076da520ca7060c..43a3a3ebed604df5334ba51d47204e981c66c1d1 100644 (file)
@@ -1,8 +1,7 @@
-/** @file \r
-\r
+/** @file\r
   UEFI Miscellaneous boot Services Stall service implementation\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2008, 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
index 7ed011cb494fa5461e3b3b542eeb8262b3e670b1..48143507e4b28448dab48ccf6c2df7a120c78edc 100644 (file)
      \r
   3) A support protocol is not found, and the data is not available to be read\r
      without it.  This results in EFI_PROTOCOL_ERROR.\r
-     \r
-Copyright (c) 2006 - 2008, 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 - 2008, 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
+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
@@ -115,13 +115,12 @@ typedef struct {
   @retval FALSE                  The child doesn't match\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 ChildIsType (\r
-  IN CORE_SECTION_STREAM_NODE                 *Stream,\r
-  IN CORE_SECTION_CHILD_NODE                  *Child,\r
-  IN EFI_SECTION_TYPE                         SearchType,\r
-  IN EFI_GUID                                 *SectionDefinitionGuid\r
+  IN CORE_SECTION_STREAM_NODE *Stream,\r
+  IN CORE_SECTION_CHILD_NODE  *Child,\r
+  IN EFI_SECTION_TYPE         SearchType,\r
+  IN EFI_GUID                 *SectionDefinitionGuid\r
   );\r
 \r
 #if 0\r
@@ -134,19 +133,18 @@ ChildIsType (
                                  identify the relevent encapsulation...\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 NotifyGuidedExtraction (\r
-  IN  EFI_EVENT                             Event,\r
-  IN  VOID                                  *RpnContext\r
+  IN   EFI_EVENT   Event,\r
+  IN   VOID        *RpnContext\r
   );\r
 #endif\r
 \r
 #if 0\r
 /**\r
   Worker function.  Constructor for RPN event if needed to keep AuthenticationStatus\r
-  cache correct when a missing GUIDED_SECTION_EXTRACTION_PROTOCOL appears.\r
+  cache correct when a missing GUIDED_SECTION_EXTRACTION_PROTOCOL appears...\r
 \r
   @param  ParentStream           Indicates the parent of the ecnapsulation \r
                                  section (child) \r
@@ -154,11 +152,10 @@ NotifyGuidedExtraction (
                                  encapsulation section.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CreateGuidedExtractionRpnEvent (\r
-  IN CORE_SECTION_STREAM_NODE                 *ParentStream,\r
-  IN CORE_SECTION_CHILD_NODE                  *ChildNode\r
+  IN CORE_SECTION_STREAM_NODE       *ParentStream,\r
+  IN CORE_SECTION_CHILD_NODE        *ChildNode\r
   );\r
 #endif\r
 \r
@@ -174,11 +171,10 @@ CreateGuidedExtractionRpnEvent (
                                  database.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 FindStreamNode (\r
-  IN  UINTN                                   SearchHandle,\r
-  OUT CORE_SECTION_STREAM_NODE                **FoundStream\r
+  IN  UINTN                                     SearchHandle,\r
+  OUT CORE_SECTION_STREAM_NODE                  **FoundStream\r
   );\r
   \r
 /**\r
@@ -207,16 +203,15 @@ FindStreamNode (
                                  does not exist\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 FindChildNode (\r
-  IN     CORE_SECTION_STREAM_NODE             *SourceStream,\r
-  IN     EFI_SECTION_TYPE                     SearchType,\r
-  IN     UINTN                                *SectionInstance,\r
-  IN     EFI_GUID                             *SectionDefinitionGuid,\r
-  OUT    CORE_SECTION_CHILD_NODE              **FoundChild,\r
-  OUT    CORE_SECTION_STREAM_NODE             **FoundStream,\r
-  OUT    UINT32                               *AuthenticationStatus\r
+  IN     CORE_SECTION_STREAM_NODE                   *SourceStream,\r
+  IN     EFI_SECTION_TYPE                           SearchType,\r
+  IN OUT UINTN                                      *SectionInstance,\r
+  IN     EFI_GUID                                   *SectionDefinitionGuid,\r
+  OUT    CORE_SECTION_CHILD_NODE                    **FoundChild,\r
+  OUT    CORE_SECTION_STREAM_NODE                   **FoundStream,\r
+  OUT    UINT32                                     *AuthenticationStatus\r
   );\r
   \r
 /**\r
@@ -240,12 +235,11 @@ FindChildNode (
                                  returned by OpenSectionStreamEx.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CreateChildNode (\r
-  IN     CORE_SECTION_STREAM_NODE             *Stream,\r
-  IN     UINT32                               ChildOffset,\r
-  OUT    CORE_SECTION_CHILD_NODE              **ChildNode\r
+  IN     CORE_SECTION_STREAM_NODE              *Stream,\r
+  IN     UINT32                                ChildOffset,\r
+     OUT CORE_SECTION_CHILD_NODE               **ChildNode\r
   );\r
   \r
 /**\r
@@ -254,10 +248,9 @@ CreateChildNode (
   @param  ChildNode              Indicates the node to destroy\r
 \r
 **/\r
-STATIC\r
 VOID\r
 FreeChildNode (\r
-  IN  CORE_SECTION_CHILD_NODE                 *ChildNode\r
+  IN  CORE_SECTION_CHILD_NODE                   *ChildNode\r
   );\r
   \r
 /**\r
@@ -293,14 +286,13 @@ FreeChildNode (
   @retval EFI_OUT_OF_RESOURCES   memory allocation failed.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 OpenSectionStreamEx (\r
-  IN     UINTN                                SectionStreamLength,\r
-  IN     VOID                                 *SectionStream,\r
-  IN     BOOLEAN                              AllocateBuffer,\r
-  IN     UINT32                               AuthenticationStatus,   \r
-     OUT UINTN                                *SectionStreamHandle\r
+  IN     UINTN                                     SectionStreamLength,\r
+  IN     VOID                                      *SectionStream,\r
+  IN     BOOLEAN                                   AllocateBuffer,\r
+  IN     UINT32                                    AuthenticationStatus,   \r
+     OUT UINTN                                     *SectionStreamHandle\r
   );\r
   \r
 /**\r
@@ -312,11 +304,10 @@ OpenSectionStreamEx (
   @return A boolean value indicating the validness of the section stream.\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 IsValidSectionStream (\r
-  IN  VOID                                    *SectionStream,\r
-  IN  UINTN                                   SectionStreamLength\r
+  IN  VOID              *SectionStream,\r
+  IN  UINTN             SectionStreamLength\r
   );\r
 \r
 /**\r
@@ -406,7 +397,7 @@ IsValidSectionStream (
 EFI_STATUS\r
 EFIAPI\r
 CustomGuidedSectionExtract (\r
-  IN CONST  EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL  *This,\r
+  IN CONST  EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This,\r
   IN CONST  VOID                                   *InputSection,\r
   OUT       VOID                                   **OutputBuffer,\r
   OUT       UINTN                                  *OutputSize,\r
@@ -729,7 +720,6 @@ CloseSectionStream (
   @retval FALSE                  The child doesn't match\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 ChildIsType (\r
   IN CORE_SECTION_STREAM_NODE *Stream,\r
@@ -781,7 +771,6 @@ ChildIsType (
                                  does not exist\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 FindChildNode (\r
   IN     CORE_SECTION_STREAM_NODE                   *SourceStream,\r
@@ -933,7 +922,6 @@ FindChildNode (
                                  returned by OpenSectionStreamEx.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 CreateChildNode (\r
   IN     CORE_SECTION_STREAM_NODE              *Stream,\r
@@ -1176,7 +1164,6 @@ CreateChildNode (
                                  encapsulation section.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 CreateGuidedExtractionRpnEvent (\r
   IN CORE_SECTION_STREAM_NODE       *ParentStream,\r
@@ -1216,7 +1203,6 @@ CreateGuidedExtractionRpnEvent (
                                  identify the relevent encapsulation...\r
 \r
 **/\r
-STATIC\r
 VOID\r
 EFIAPI\r
 NotifyGuidedExtraction (\r
@@ -1287,7 +1273,6 @@ NotifyGuidedExtraction (
   @param  ChildNode              Indicates the node to destroy\r
 \r
 **/\r
-STATIC\r
 VOID\r
 FreeChildNode (\r
   IN  CORE_SECTION_CHILD_NODE                   *ChildNode\r
@@ -1347,7 +1332,6 @@ FreeChildNode (
   @retval EFI_OUT_OF_RESOURCES   memory allocation failed.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 OpenSectionStreamEx (\r
   IN     UINTN                                     SectionStreamLength,\r
@@ -1433,7 +1417,6 @@ OpenSectionStreamEx (
                                  database.\r
 \r
 **/\r
-STATIC\r
 EFI_STATUS\r
 FindStreamNode (\r
   IN  UINTN                                     SearchHandle,\r
@@ -1470,7 +1453,6 @@ FindStreamNode (
   @return A boolean value indicating the validness of the section stream.\r
 \r
 **/\r
-STATIC\r
 BOOLEAN\r
 IsValidSectionStream (\r
   IN  VOID              *SectionStream,\r