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