Update to fix minor coding style issues.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5256 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-05-21 01:40:12 +00:00
parent 3b1d9fd579
commit 23c98c9417
41 changed files with 693 additions and 976 deletions

View File

@ -1,9 +1,8 @@
/** @file /** @file
Support functions for managing debug image info table when loading and unloading Support functions for managing debug image info table when loading and unloading
images. images.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -37,8 +36,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID VOID
CoreInitializeDebugImageInfoTable ( CoreInitializeDebugImageInfoTable (
VOID VOID
) );
;
/** /**
@ -52,8 +50,7 @@ CoreInitializeDebugImageInfoTable (
VOID VOID
CoreUpdateDebugTableCrc32 ( CoreUpdateDebugTableCrc32 (
VOID VOID
) );
;
/** /**
@ -68,11 +65,10 @@ CoreUpdateDebugTableCrc32 (
**/ **/
VOID VOID
CoreNewDebugImageInfoEntry ( CoreNewDebugImageInfoEntry (
UINT32 ImageInfoType, IN UINT32 ImageInfoType,
EFI_LOADED_IMAGE_PROTOCOL *LoadedImage, IN EFI_LOADED_IMAGE_PROTOCOL *LoadedImage,
EFI_HANDLE ImageHandle IN EFI_HANDLE ImageHandle
) );
;
/** /**
@ -84,7 +80,6 @@ CoreNewDebugImageInfoEntry (
VOID VOID
CoreRemoveDebugImageInfoEntry ( CoreRemoveDebugImageInfoEntry (
EFI_HANDLE ImageHandle EFI_HANDLE ImageHandle
) );
;
#endif #endif

View File

@ -1,12 +1,11 @@
/** @file /** @file
DXE Dispatcher Dependency Evaluator DXE Dispatcher Dependency Evaluator
This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) to determine This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) to determine
if a driver can be scheduled for execution. The criteria for if a driver can be scheduled for execution. The criteria for
schedulability is that the dependency expression is satisfied. schedulability is that the dependency expression is satisfied.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -39,7 +38,6 @@ BOOLEAN *mDepexEvaluationStackPointer = NULL;
stack. stack.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
GrowDepexStack ( GrowDepexStack (
VOID VOID
@ -96,7 +94,6 @@ GrowDepexStack (
stack. stack.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
PushBool ( PushBool (
IN BOOLEAN Value IN BOOLEAN Value
@ -137,7 +134,6 @@ PushBool (
@retval EFI_ACCESS_DENIED The pop operation underflowed the stack @retval EFI_ACCESS_DENIED The pop operation underflowed the stack
**/ **/
STATIC
EFI_STATUS EFI_STATUS
PopBool ( PopBool (
OUT BOOLEAN *Value OUT BOOLEAN *Value

View File

@ -26,7 +26,7 @@
Depex - Dependency Expresion. Depex - Dependency Expresion.
SOR - Schedule On Request - Don't schedule if this bit is set. SOR - Schedule On Request - Don't schedule if this bit is set.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -105,7 +105,6 @@ FV_FILEPATH_DEVICE_PATH mFvDevicePath;
@param InsertedDriverEntry The driver to insert on the ScheduledLink Queue @param InsertedDriverEntry The driver to insert on the ScheduledLink Queue
**/ **/
STATIC
VOID VOID
CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter ( CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
IN EFI_CORE_DRIVER_ENTRY *InsertedDriverEntry IN EFI_CORE_DRIVER_ENTRY *InsertedDriverEntry
@ -128,7 +127,6 @@ CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
@param Context Event Context, not used. @param Context Event Context, not used.
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
CoreFwVolEventProtocolNotify ( CoreFwVolEventProtocolNotify (
@ -149,7 +147,6 @@ CoreFwVolEventProtocolNotify (
@return Pointer to device path constructed from FvHandle and DriverName @return Pointer to device path constructed from FvHandle and DriverName
**/ **/
STATIC
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
CoreFvToDevicePath ( CoreFvToDevicePath (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -177,7 +174,6 @@ CoreFvToDevicePath (
time. time.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreAddToDriverList ( CoreAddToDriverList (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -197,7 +193,6 @@ CoreAddToDriverList (
@retval EFI_SUCCESS Function successfully returned. @retval EFI_SUCCESS Function successfully returned.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreProcessFvImageFile ( CoreProcessFvImageFile (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -210,7 +205,6 @@ CoreProcessFvImageFile (
Enter critical section by gaining lock on mDispatcherLock. Enter critical section by gaining lock on mDispatcherLock.
**/ **/
STATIC
VOID VOID
CoreAcquireDispatcherLock ( CoreAcquireDispatcherLock (
VOID VOID
@ -224,7 +218,6 @@ CoreAcquireDispatcherLock (
Exit critical section by releasing lock on mDispatcherLock. Exit critical section by releasing lock on mDispatcherLock.
**/ **/
STATIC
VOID VOID
CoreReleaseDispatcherLock ( CoreReleaseDispatcherLock (
VOID VOID
@ -246,7 +239,6 @@ CoreReleaseDispatcherLock (
@retval Error DEPEX not found. @retval Error DEPEX not found.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreGetDepexSectionAndPreProccess ( CoreGetDepexSectionAndPreProccess (
IN EFI_CORE_DRIVER_ENTRY *DriverEntry IN EFI_CORE_DRIVER_ENTRY *DriverEntry
@ -314,7 +306,6 @@ CoreGetDepexSectionAndPreProccess (
not set. not set.
**/ **/
EFI_DXESERVICE
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreSchedule ( CoreSchedule (
@ -361,7 +352,6 @@ CoreSchedule (
@retval EFI_NOT_FOUND The file was not found in the untrusted state. @retval EFI_NOT_FOUND The file was not found in the untrusted state.
**/ **/
EFI_DXESERVICE
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreTrust ( CoreTrust (
@ -413,7 +403,6 @@ CoreTrust (
@retval EFI_SUCCESS One or more DXE Drivers were dispatched @retval EFI_SUCCESS One or more DXE Drivers were dispatched
**/ **/
EFI_DXESERVICE
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDispatcher ( CoreDispatcher (
@ -558,7 +547,6 @@ CoreDispatcher (
@param InsertedDriverEntry The driver to insert on the ScheduledLink Queue @param InsertedDriverEntry The driver to insert on the ScheduledLink Queue
**/ **/
STATIC
VOID VOID
CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter ( CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
IN EFI_CORE_DRIVER_ENTRY *InsertedDriverEntry IN EFI_CORE_DRIVER_ENTRY *InsertedDriverEntry
@ -620,7 +608,6 @@ CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
processed processed
**/ **/
STATIC
BOOLEAN BOOLEAN
FvHasBeenProcessed ( FvHasBeenProcessed (
IN EFI_HANDLE FvHandle IN EFI_HANDLE FvHandle
@ -647,7 +634,6 @@ FvHasBeenProcessed (
@param FvHandle The handle of a FV that has been processed @param FvHandle The handle of a FV that has been processed
**/ **/
STATIC
VOID VOID
FvIsBeingProcesssed ( FvIsBeingProcesssed (
IN EFI_HANDLE FvHandle IN EFI_HANDLE FvHandle
@ -679,7 +665,6 @@ FvIsBeingProcesssed (
@return Pointer to device path constructed from FvHandle and DriverName @return Pointer to device path constructed from FvHandle and DriverName
**/ **/
STATIC
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
CoreFvToDevicePath ( CoreFvToDevicePath (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv, IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -785,7 +770,6 @@ CoreAddToDriverList (
@retval FALSE Not found. @retval FALSE Not found.
**/ **/
STATIC
BOOLEAN BOOLEAN
FvFoundInHobFv2 ( FvFoundInHobFv2 (
IN EFI_HANDLE FvHandle, IN EFI_HANDLE FvHandle,
@ -922,7 +906,6 @@ CoreProcessFvImageFile (
@param Context Event Context, not used. @param Context Event Context, not used.
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
CoreFwVolEventProtocolNotify ( CoreFwVolEventProtocolNotify (

View File

@ -1,9 +1,8 @@
/** @file /** @file
The internal header file includes the common header files, defines The internal header file includes the common header files, defines
internal structure and functions used by DxeCore module. internal structure and functions used by DxeCore module.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -238,8 +237,7 @@ extern EFI_RUNTIME_ARCH_PROTOCOL gRuntimeTemplate;
VOID VOID
CoreInitializePool ( CoreInitializePool (
VOID VOID
) );
;
/** /**
@ -263,8 +261,7 @@ CoreAddMemoryDescriptor (
IN EFI_PHYSICAL_ADDRESS Start, IN EFI_PHYSICAL_ADDRESS Start,
IN UINT64 NumberOfPages, IN UINT64 NumberOfPages,
IN UINT64 Attribute IN UINT64 Attribute
) );
;
/** /**
@ -274,8 +271,7 @@ CoreAddMemoryDescriptor (
VOID VOID
CoreReleaseGcdMemoryLock ( CoreReleaseGcdMemoryLock (
VOID VOID
) );
;
/** /**
@ -285,8 +281,7 @@ CoreReleaseGcdMemoryLock (
VOID VOID
CoreAcquireGcdMemoryLock ( CoreAcquireGcdMemoryLock (
VOID VOID
) );
;
/** /**
@ -308,10 +303,9 @@ CoreAcquireGcdMemoryLock (
EFI_STATUS EFI_STATUS
CoreInitializeMemoryServices ( CoreInitializeMemoryServices (
IN VOID **HobStart, IN VOID **HobStart,
IN EFI_PHYSICAL_ADDRESS *MemoryBaseAddress, OUT EFI_PHYSICAL_ADDRESS *MemoryBaseAddress,
IN UINT64 *MemoryLength OUT UINT64 *MemoryLength
) );
;
@ -337,8 +331,7 @@ CoreInitializeGcdServices (
IN OUT VOID **HobStart, IN OUT VOID **HobStart,
IN EFI_PHYSICAL_ADDRESS MemoryBaseAddress, IN EFI_PHYSICAL_ADDRESS MemoryBaseAddress,
IN UINT64 MemoryLength IN UINT64 MemoryLength
) );
;
/** /**
@ -351,8 +344,7 @@ CoreInitializeGcdServices (
EFI_STATUS EFI_STATUS
CoreInitializeEventServices ( CoreInitializeEventServices (
VOID VOID
) );
;
/** /**
@ -367,8 +359,7 @@ CoreInitializeEventServices (
EFI_STATUS EFI_STATUS
CoreInitializeImageServices ( CoreInitializeImageServices (
IN VOID *HobStart IN VOID *HobStart
) );
;
/** /**
@ -378,8 +369,7 @@ CoreInitializeImageServices (
VOID VOID
CoreNotifyOnArchProtocolInstallation ( CoreNotifyOnArchProtocolInstallation (
VOID VOID
) );
;
/** /**
@ -393,8 +383,7 @@ CoreNotifyOnArchProtocolInstallation (
EFI_STATUS EFI_STATUS
CoreAllEfiServicesAvailable ( CoreAllEfiServicesAvailable (
VOID VOID
) );
;
/** /**
@ -407,8 +396,7 @@ CoreAllEfiServicesAvailable (
VOID VOID
CalculateEfiHdrCrc ( CalculateEfiHdrCrc (
IN OUT EFI_TABLE_HEADER *Hdr IN OUT EFI_TABLE_HEADER *Hdr
) );
;
/** /**
@ -422,8 +410,7 @@ VOID
EFIAPI EFIAPI
CoreTimerTick ( CoreTimerTick (
IN UINT64 Duration IN UINT64 Duration
) );
;
/** /**
@ -434,8 +421,7 @@ CoreTimerTick (
VOID VOID
CoreInitializeDispatcher ( CoreInitializeDispatcher (
VOID VOID
) );
;
/** /**
@ -454,8 +440,7 @@ CoreInitializeDispatcher (
BOOLEAN BOOLEAN
CoreIsSchedulable ( CoreIsSchedulable (
IN EFI_CORE_DRIVER_ENTRY *DriverEntry IN EFI_CORE_DRIVER_ENTRY *DriverEntry
) );
;
/** /**
@ -473,8 +458,7 @@ CoreIsSchedulable (
EFI_STATUS EFI_STATUS
CorePreProcessDepex ( CorePreProcessDepex (
IN EFI_CORE_DRIVER_ENTRY *DriverEntry IN EFI_CORE_DRIVER_ENTRY *DriverEntry
) );
;
@ -493,8 +477,7 @@ EFIAPI
CoreExitBootServices ( CoreExitBootServices (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN UINTN MapKey IN UINTN MapKey
) );
;
/** /**
@ -511,8 +494,7 @@ CoreExitBootServices (
EFI_STATUS EFI_STATUS
CoreTerminateMemoryMap ( CoreTerminateMemoryMap (
IN UINTN MapKey IN UINTN MapKey
) );
;
/** /**
@ -524,8 +506,7 @@ CoreTerminateMemoryMap (
VOID VOID
CoreNotifySignalList ( CoreNotifySignalList (
IN EFI_GUID *EventGroup IN EFI_GUID *EventGroup
) );
;
@ -549,8 +530,7 @@ EFIAPI
CoreInstallConfigurationTable ( CoreInstallConfigurationTable (
IN EFI_GUID *Guid, IN EFI_GUID *Guid,
IN VOID *Table IN VOID *Table
) );
;
@ -567,8 +547,7 @@ EFI_TPL
EFIAPI EFIAPI
CoreRaiseTpl ( CoreRaiseTpl (
IN EFI_TPL NewTpl IN EFI_TPL NewTpl
) );
;
@ -583,8 +562,7 @@ VOID
EFIAPI EFIAPI
CoreRestoreTpl ( CoreRestoreTpl (
IN EFI_TPL NewTpl IN EFI_TPL NewTpl
) );
;
@ -602,8 +580,7 @@ EFI_STATUS
EFIAPI EFIAPI
CoreStall ( CoreStall (
IN UINTN Microseconds IN UINTN Microseconds
) );
;
@ -636,8 +613,7 @@ CoreSetWatchdogTimer (
IN UINT64 WatchdogCode, IN UINT64 WatchdogCode,
IN UINTN DataSize, IN UINTN DataSize,
IN CHAR16 *WatchdogData OPTIONAL IN CHAR16 *WatchdogData OPTIONAL
) );
;
@ -662,8 +638,7 @@ CoreInstallProtocolInterface (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_INTERFACE_TYPE InterfaceType, IN EFI_INTERFACE_TYPE InterfaceType,
IN VOID *Interface IN VOID *Interface
) );
;
/** /**
@ -690,8 +665,7 @@ CoreInstallProtocolInterfaceNotify (
IN EFI_INTERFACE_TYPE InterfaceType, IN EFI_INTERFACE_TYPE InterfaceType,
IN VOID *Interface, IN VOID *Interface,
IN BOOLEAN Notify IN BOOLEAN Notify
) );
;
@ -717,8 +691,7 @@ EFIAPI
CoreInstallMultipleProtocolInterfaces ( CoreInstallMultipleProtocolInterfaces (
IN OUT EFI_HANDLE *Handle, IN OUT EFI_HANDLE *Handle,
... ...
) );
;
@ -741,8 +714,7 @@ EFIAPI
CoreUninstallMultipleProtocolInterfaces ( CoreUninstallMultipleProtocolInterfaces (
IN EFI_HANDLE Handle, IN EFI_HANDLE Handle,
... ...
) );
;
@ -767,8 +739,7 @@ CoreReinstallProtocolInterface (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN VOID *OldInterface, IN VOID *OldInterface,
IN VOID *NewInterface IN VOID *NewInterface
) );
;
@ -791,8 +762,7 @@ CoreUninstallProtocolInterface (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN VOID *Interface IN VOID *Interface
) );
;
@ -813,8 +783,7 @@ CoreHandleProtocol (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
OUT VOID **Interface OUT VOID **Interface
) );
;
@ -847,8 +816,7 @@ CoreOpenProtocol (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN UINT32 Attributes IN UINT32 Attributes
) );
;
@ -870,8 +838,7 @@ CoreOpenProtocolInformation (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
OUT EFI_OPEN_PROTOCOL_INFORMATION_ENTRY **EntryBuffer, OUT EFI_OPEN_PROTOCOL_INFORMATION_ENTRY **EntryBuffer,
OUT UINTN *EntryCount OUT UINTN *EntryCount
) );
;
@ -907,8 +874,7 @@ CoreCloseProtocol (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_HANDLE AgentHandle, IN EFI_HANDLE AgentHandle,
IN EFI_HANDLE ControllerHandle IN EFI_HANDLE ControllerHandle
) );
;
@ -941,8 +907,7 @@ CoreProtocolsPerHandle (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
OUT EFI_GUID ***ProtocolBuffer, OUT EFI_GUID ***ProtocolBuffer,
OUT UINTN *ProtocolBufferCount OUT UINTN *ProtocolBufferCount
) );
;
@ -965,8 +930,7 @@ CoreRegisterProtocolNotify (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_EVENT Event, IN EFI_EVENT Event,
OUT VOID **Registration OUT VOID **Registration
) );
;
@ -996,8 +960,7 @@ CoreLocateHandle (
IN VOID *SearchKey OPTIONAL, IN VOID *SearchKey OPTIONAL,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT EFI_HANDLE *Buffer OUT EFI_HANDLE *Buffer
) );
;
@ -1022,8 +985,7 @@ CoreLocateDevicePath (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
OUT EFI_HANDLE *Device OUT EFI_HANDLE *Device
) );
;
@ -1057,8 +1019,7 @@ CoreLocateHandleBuffer (
IN VOID *SearchKey OPTIONAL, IN VOID *SearchKey OPTIONAL,
IN OUT UINTN *NumberHandles, IN OUT UINTN *NumberHandles,
OUT EFI_HANDLE **Buffer OUT EFI_HANDLE **Buffer
) );
;
@ -1084,8 +1045,7 @@ CoreLocateProtocol (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN VOID *Registration OPTIONAL, IN VOID *Registration OPTIONAL,
OUT VOID **Interface OUT VOID **Interface
) );
;
/** /**
@ -1098,8 +1058,7 @@ CoreLocateProtocol (
UINT64 UINT64
CoreGetHandleDatabaseKey ( CoreGetHandleDatabaseKey (
VOID VOID
) );
;
/** /**
@ -1112,8 +1071,7 @@ CoreGetHandleDatabaseKey (
VOID VOID
CoreConnectHandlesByKey ( CoreConnectHandlesByKey (
UINT64 Key UINT64 Key
) );
;
@ -1142,8 +1100,7 @@ CoreConnectController (
IN EFI_HANDLE *DriverImageHandle OPTIONAL, IN EFI_HANDLE *DriverImageHandle OPTIONAL,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL,
IN BOOLEAN Recursive IN BOOLEAN Recursive
) );
;
@ -1186,8 +1143,7 @@ CoreDisconnectController (
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE DriverImageHandle OPTIONAL, IN EFI_HANDLE DriverImageHandle OPTIONAL,
IN EFI_HANDLE ChildHandle OPTIONAL IN EFI_HANDLE ChildHandle OPTIONAL
) );
;
@ -1216,8 +1172,7 @@ CoreAllocatePages (
IN EFI_MEMORY_TYPE MemoryType, IN EFI_MEMORY_TYPE MemoryType,
IN UINTN NumberOfPages, IN UINTN NumberOfPages,
IN OUT EFI_PHYSICAL_ADDRESS *Memory IN OUT EFI_PHYSICAL_ADDRESS *Memory
) );
;
@ -1237,8 +1192,7 @@ EFIAPI
CoreFreePages ( CoreFreePages (
IN EFI_PHYSICAL_ADDRESS Memory, IN EFI_PHYSICAL_ADDRESS Memory,
IN UINTN NumberOfPages IN UINTN NumberOfPages
) );
;
@ -1280,8 +1234,7 @@ CoreGetMemoryMap (
OUT UINTN *MapKey, OUT UINTN *MapKey,
OUT UINTN *DescriptorSize, OUT UINTN *DescriptorSize,
OUT UINT32 *DescriptorVersion OUT UINT32 *DescriptorVersion
) );
;
@ -1304,8 +1257,7 @@ CoreAllocatePool (
IN EFI_MEMORY_TYPE PoolType, IN EFI_MEMORY_TYPE PoolType,
IN UINTN Size, IN UINTN Size,
OUT VOID **Buffer OUT VOID **Buffer
) );
;
@ -1322,8 +1274,7 @@ EFI_STATUS
EFIAPI EFIAPI
CoreFreePool ( CoreFreePool (
IN VOID *Buffer IN VOID *Buffer
) );
;
@ -1362,8 +1313,7 @@ CoreLoadImage (
IN VOID *SourceBuffer OPTIONAL, IN VOID *SourceBuffer OPTIONAL,
IN UINTN SourceSize, IN UINTN SourceSize,
OUT EFI_HANDLE *ImageHandle OUT EFI_HANDLE *ImageHandle
) );
;
@ -1383,8 +1333,7 @@ EFI_STATUS
EFIAPI EFIAPI
CoreUnloadImage ( CoreUnloadImage (
IN EFI_HANDLE ImageHandle IN EFI_HANDLE ImageHandle
) );
;
@ -1412,8 +1361,7 @@ CoreStartImage (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
OUT UINTN *ExitDataSize, OUT UINTN *ExitDataSize,
OUT CHAR16 **ExitData OPTIONAL OUT CHAR16 **ExitData OPTIONAL
) );
;
@ -1447,8 +1395,7 @@ CoreExit (
IN EFI_STATUS Status, IN EFI_STATUS Status,
IN UINTN ExitDataSize, IN UINTN ExitDataSize,
IN CHAR16 *ExitData OPTIONAL IN CHAR16 *ExitData OPTIONAL
) );
;
@ -1475,11 +1422,10 @@ EFIAPI
CoreCreateEvent ( CoreCreateEvent (
IN UINT32 Type, IN UINT32 Type,
IN EFI_TPL NotifyTpl, IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction, IN EFI_EVENT_NOTIFY NotifyFunction, OPTIONAL
IN VOID *NotifyContext, IN VOID *NotifyContext, OPTIONAL
OUT EFI_EVENT *Event OUT EFI_EVENT *Event
) );
;
@ -1512,8 +1458,7 @@ CoreCreateEventEx (
IN CONST VOID *NotifyContext, OPTIONAL IN CONST VOID *NotifyContext, OPTIONAL
IN CONST EFI_GUID *EventGroup, OPTIONAL IN CONST EFI_GUID *EventGroup, OPTIONAL
OUT EFI_EVENT *Event OUT EFI_EVENT *Event
) );
;
@ -1535,11 +1480,10 @@ CoreCreateEventEx (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreSetTimer ( CoreSetTimer (
IN EFI_EVENT Event, IN EFI_EVENT UserEvent,
IN EFI_TIMER_DELAY Type, IN EFI_TIMER_DELAY Type,
IN UINT64 TriggerTime IN UINT64 TriggerTime
) );
;
@ -1555,9 +1499,8 @@ CoreSetTimer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreSignalEvent ( CoreSignalEvent (
IN EFI_EVENT Event IN EFI_EVENT UserEvent
) );
;
@ -1581,8 +1524,7 @@ CoreWaitForEvent (
IN UINTN NumberOfEvents, IN UINTN NumberOfEvents,
IN EFI_EVENT *UserEvents, IN EFI_EVENT *UserEvents,
OUT UINTN *UserIndex OUT UINTN *UserIndex
) );
;
@ -1598,9 +1540,8 @@ CoreWaitForEvent (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreCloseEvent ( CoreCloseEvent (
IN EFI_EVENT Event IN EFI_EVENT UserEvent
) );
;
@ -1617,9 +1558,8 @@ CoreCloseEvent (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreCheckEvent ( CoreCheckEvent (
IN EFI_EVENT Event IN EFI_EVENT UserEvent
) );
;
/** /**
@ -1640,8 +1580,7 @@ CoreAddMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length, IN UINT64 Length,
IN UINT64 Capabilities IN UINT64 Capabilities
) );
;
/** /**
@ -1670,8 +1609,7 @@ CoreAllocateMemorySpace (
IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress,
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_HANDLE DeviceHandle OPTIONAL IN EFI_HANDLE DeviceHandle OPTIONAL
) );
;
/** /**
@ -1688,8 +1626,7 @@ EFI_STATUS
CoreFreeMemorySpace ( CoreFreeMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length IN UINT64 Length
) );
;
/** /**
@ -1706,8 +1643,7 @@ EFI_STATUS
CoreRemoveMemorySpace ( CoreRemoveMemorySpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length IN UINT64 Length
) );
;
/** /**
@ -1724,8 +1660,7 @@ EFI_STATUS
CoreGetMemorySpaceDescriptor ( CoreGetMemorySpaceDescriptor (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor
) );
;
/** /**
@ -1745,8 +1680,7 @@ CoreSetMemorySpaceAttributes (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length, IN UINT64 Length,
IN UINT64 Attributes IN UINT64 Attributes
) );
;
/** /**
@ -1765,8 +1699,7 @@ EFI_STATUS
CoreGetMemorySpaceMap ( CoreGetMemorySpaceMap (
OUT UINTN *NumberOfDescriptors, OUT UINTN *NumberOfDescriptors,
OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR **MemorySpaceMap
) );
;
/** /**
@ -1785,8 +1718,7 @@ CoreAddIoSpace (
IN EFI_GCD_IO_TYPE GcdIoType, IN EFI_GCD_IO_TYPE GcdIoType,
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length IN UINT64 Length
) );
;
/** /**
@ -1815,8 +1747,7 @@ CoreAllocateIoSpace (
IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress, IN OUT EFI_PHYSICAL_ADDRESS *BaseAddress,
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_HANDLE DeviceHandle OPTIONAL IN EFI_HANDLE DeviceHandle OPTIONAL
) );
;
/** /**
@ -1833,8 +1764,7 @@ EFI_STATUS
CoreFreeIoSpace ( CoreFreeIoSpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length IN UINT64 Length
) );
;
/** /**
@ -1851,8 +1781,7 @@ EFI_STATUS
CoreRemoveIoSpace ( CoreRemoveIoSpace (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length IN UINT64 Length
) );
;
/** /**
@ -1869,8 +1798,7 @@ EFI_STATUS
CoreGetIoSpaceDescriptor ( CoreGetIoSpaceDescriptor (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor OUT EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor
) );
;
/** /**
@ -1888,8 +1816,7 @@ EFI_STATUS
CoreGetIoSpaceMap ( CoreGetIoSpaceMap (
OUT UINTN *NumberOfDescriptors, OUT UINTN *NumberOfDescriptors,
OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap OUT EFI_GCD_IO_SPACE_DESCRIPTOR **IoSpaceMap
) );
;
/** /**
@ -1909,12 +1836,14 @@ CoreGetIoSpaceMap (
**/ **/
EFI_DXESERVICE EFI_DXESERVICE
/**
**/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDispatcher ( CoreDispatcher (
VOID VOID
) );
;
/** /**
Check every driver and locate a matching one. If the driver is found, the Unrequested Check every driver and locate a matching one. If the driver is found, the Unrequested
@ -1931,13 +1860,15 @@ CoreDispatcher (
**/ **/
EFI_DXESERVICE EFI_DXESERVICE
/**
**/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreSchedule ( CoreSchedule (
IN EFI_HANDLE FirmwareVolumeHandle, IN EFI_HANDLE FirmwareVolumeHandle,
IN EFI_GUID *DriverName IN EFI_GUID *DriverName
) );
;
/** /**
@ -1953,13 +1884,15 @@ CoreSchedule (
**/ **/
EFI_DXESERVICE EFI_DXESERVICE
/**
**/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreTrust ( CoreTrust (
IN EFI_HANDLE FirmwareVolumeHandle, IN EFI_HANDLE FirmwareVolumeHandle,
IN EFI_GUID *DriverName IN EFI_GUID *DriverName
) );
;
/** /**
@ -1982,8 +1915,7 @@ CoreGrowBuffer (
IN OUT EFI_STATUS *Status, IN OUT EFI_STATUS *Status,
IN OUT VOID **Buffer, IN OUT VOID **Buffer,
IN UINTN BufferSize IN UINTN BufferSize
) );
;
/** /**
@ -2002,8 +1934,7 @@ EFIAPI
FwVolDriverInit ( FwVolDriverInit (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
) );
;
/** /**
@ -2022,8 +1953,7 @@ EFIAPI
InitializeSectionExtraction ( InitializeSectionExtraction (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
) );
;
/** /**
@ -2048,8 +1978,7 @@ CoreProcessFirmwareVolume (
IN VOID *FvHeader, IN VOID *FvHeader,
IN UINTN Size, IN UINTN Size,
OUT EFI_HANDLE *FVProtocolHandle OUT EFI_HANDLE *FVProtocolHandle
) );
;
// //
//Functions used during debug buils //Functions used during debug buils
@ -2057,14 +1986,13 @@ CoreProcessFirmwareVolume (
/** /**
Displays Architectural protocols that were not loaded and are required for DXE 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 VOID
CoreDisplayMissingArchProtocols ( CoreDisplayMissingArchProtocols (
VOID VOID
) );
;
/** /**
@ -2075,13 +2003,12 @@ CoreDisplayMissingArchProtocols (
VOID VOID
CoreDisplayDiscoveredNotDispatched ( CoreDisplayDiscoveredNotDispatched (
VOID 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 @return EFI_NOT_AVAILABLE_YET
@ -2090,12 +2017,12 @@ EFI_STATUS
EFIAPI EFIAPI
CoreEfiNotAvailableYetArg0 ( CoreEfiNotAvailableYetArg0 (
VOID 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 @param Arg1 Undefined
@ -2106,8 +2033,7 @@ EFI_STATUS
EFIAPI EFIAPI
CoreEfiNotAvailableYetArg1 ( CoreEfiNotAvailableYetArg1 (
UINTN Arg1 UINTN Arg1
) );
;
/** /**
@ -2124,8 +2050,7 @@ EFIAPI
CoreEfiNotAvailableYetArg2 ( CoreEfiNotAvailableYetArg2 (
UINTN Arg1, UINTN Arg1,
UINTN Arg2 UINTN Arg2
) );
;
/** /**
@ -2144,8 +2069,7 @@ CoreEfiNotAvailableYetArg3 (
UINTN Arg1, UINTN Arg1,
UINTN Arg2, UINTN Arg2,
UINTN Arg3 UINTN Arg3
) );
;
/** /**
@ -2166,8 +2090,7 @@ CoreEfiNotAvailableYetArg4 (
UINTN Arg2, UINTN Arg2,
UINTN Arg3, UINTN Arg3,
UINTN Arg4 UINTN Arg4
) );
;
/** /**
@ -2190,8 +2113,7 @@ CoreEfiNotAvailableYetArg5 (
UINTN Arg3, UINTN Arg3,
UINTN Arg4, UINTN Arg4,
UINTN Arg5 UINTN Arg5
) );
;
/** /**
@ -2209,8 +2131,7 @@ EFI_STATUS
CoreGetPeiProtocol ( CoreGetPeiProtocol (
IN EFI_GUID *ProtocolGuid, IN EFI_GUID *ProtocolGuid,
IN VOID **Interface IN VOID **Interface
) );
;
/** /**
@ -2253,6 +2174,7 @@ CoreGetPeiProtocol (
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
DxeMainUefiDecompressGetInfo ( DxeMainUefiDecompressGetInfo (
IN EFI_DECOMPRESS_PROTOCOL *This, IN EFI_DECOMPRESS_PROTOCOL *This,
IN VOID *Source, IN VOID *Source,

View File

@ -1,9 +1,10 @@
#/** @file #/** @file
#
# Component description file for DxeMain module. # Component description file for DxeMain module.
# #
# This module provide an DXE CIS compliant implementation of DXE Core. # This module provide an DXE CIS compliant implementation of DXE Core.
# Copyright (c) 2006 - 2007, Intel Corporation
# #
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# All rights reserved. This program and the accompanying materials # All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # 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 # which accompanies this distribution. The full text of the license may be found at
@ -12,7 +13,6 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# #
#
#**/ #**/
[Defines] [Defines]

View File

@ -1,7 +1,7 @@
/** @file /** @file
DXE Core Main Entry Point 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,10 +1,9 @@
/** @file /** @file
This file deals with Architecture Protocol (AP) registration in This file deals with Architecture Protocol (AP) registration in
the Dxe Core. The mArchProtocols[] array represents a list of the Dxe Core. The mArchProtocols[] array represents a list of
events that represent the Architectural Protocols. 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 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. @param Context Event Context, not used.
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
GenericArchProtocolNotify ( GenericArchProtocolNotify (

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Event support functions implemented in this 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 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. Enter critical section by acquiring the lock on gEventQueueLock.
**/ **/
STATIC
VOID VOID
CoreAcquireEventLock ( CoreAcquireEventLock (
VOID VOID
@ -81,7 +79,6 @@ CoreAcquireEventLock (
Exit critical section by releasing the lock on gEventQueueLock. Exit critical section by releasing the lock on gEventQueueLock.
**/ **/
STATIC
VOID VOID
CoreReleaseEventLock ( CoreReleaseEventLock (
VOID VOID
@ -180,7 +177,6 @@ CoreDispatchEventNotifies (
@param Event The Event to notify @param Event The Event to notify
**/ **/
STATIC
VOID VOID
CoreNotifyEvent ( CoreNotifyEvent (
IN IEVENT *Event IN IEVENT *Event

View File

@ -1,8 +1,7 @@
/** @file /** @file
Event data is declared in this file. Event data is declared 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
Core Timer Services 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 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 @return The current system time
**/ **/
STATIC
UINT64 UINT64
CoreCurrentSystemTime ( CoreCurrentSystemTime (
VOID VOID
@ -39,11 +37,10 @@ CoreCurrentSystemTime (
@param Context Not used @param Context Not used
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
CoreCheckTimers ( CoreCheckTimers (
IN EFI_EVENT Event, IN EFI_EVENT CheckEvent,
IN VOID *Context IN VOID *Context
); );
@ -54,7 +51,6 @@ CoreCheckTimers (
to be installed to be installed
**/ **/
STATIC
VOID VOID
CoreInsertEventTimer ( CoreInsertEventTimer (
IN IEVENT *Event IN IEVENT *Event
@ -104,7 +100,6 @@ CoreInitializeTimer (
@return The current system time @return The current system time
**/ **/
STATIC
UINT64 UINT64
CoreCurrentSystemTime ( CoreCurrentSystemTime (
VOID VOID
@ -171,7 +166,6 @@ CoreTimerTick (
@param Context Not used @param Context Not used
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
CoreCheckTimers ( CoreCheckTimers (
@ -250,7 +244,6 @@ CoreCheckTimers (
to be installed to be installed
**/ **/
STATIC
VOID VOID
CoreInsertEventTimer ( CoreInsertEventTimer (
IN IEVENT *Event IN IEVENT *Event

View File

@ -1,8 +1,7 @@
/** @file /** @file
Task priority (TPL) function Task priority (TPL) function
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -22,7 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param Enable The state of enable or disable interrupt @param Enable The state of enable or disable interrupt
**/ **/
STATIC
VOID VOID
CoreSetInterruptState ( CoreSetInterruptState (
IN BOOLEAN Enable IN BOOLEAN Enable

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Event support functions and structure. UEFI Event support functions and structure.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -84,8 +83,7 @@ typedef struct {
VOID VOID
CoreDispatchEventNotifies ( CoreDispatchEventNotifies (
IN EFI_TPL Priority IN EFI_TPL Priority
) );
;
@ -100,8 +98,7 @@ CoreDispatchEventNotifies (
UINTN UINTN
CoreHighestSetBit ( CoreHighestSetBit (
IN UINTN Number IN UINTN Number
) );
;
@ -115,8 +112,7 @@ CoreHighestSetBit (
BOOLEAN BOOLEAN
GetInterruptState ( GetInterruptState (
VOID VOID
) );
;
// //
// Exported functions // Exported functions
@ -130,8 +126,7 @@ GetInterruptState (
VOID VOID
CoreEventVirtualAddressFixup ( CoreEventVirtualAddressFixup (
VOID VOID
) );
;
@ -142,8 +137,7 @@ CoreEventVirtualAddressFixup (
VOID VOID
CoreInitializeTimer ( CoreInitializeTimer (
VOID VOID
) );
;
// //
// extern data declarations // extern data declarations

View File

@ -1,8 +1,7 @@
/** @file /** @file
FFS file access utilities. FFS file access utilities.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -137,7 +136,6 @@ VerifyFvHeaderChecksum (
@retval FALSE Checksum verification failed @retval FALSE Checksum verification failed
**/ **/
STATIC
BOOLEAN BOOLEAN
VerifyHeaderChecksum ( VerifyHeaderChecksum (
IN EFI_FFS_FILE_HEADER *FfsHeader IN EFI_FFS_FILE_HEADER *FfsHeader

View File

@ -3,7 +3,7 @@
Layers on top of Firmware Block protocol to produce a file abstraction Layers on top of Firmware Block protocol to produce a file abstraction
of FV based files. of FV based files.
Copyright (c) 2006 - 2008 Intel Corporation. <BR> Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -125,7 +125,6 @@ GetFwVolHeader (
@return None. @return None.
**/ **/
STATIC
VOID VOID
FreeFvDeviceResource ( FreeFvDeviceResource (
IN FV_DEVICE *FvDevice IN FV_DEVICE *FvDevice
@ -382,7 +381,6 @@ Done:
@param Context For EFI compatiblity. Not used. @param Context For EFI compatiblity. Not used.
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
NotifyFwVolBlock ( NotifyFwVolBlock (

View File

@ -1,8 +1,7 @@
/** @file /** @file
Implements get/set firmware volume attributes Implements get/set firmware volume attributes
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
Implements functions to read firmware file Implements functions to read firmware file
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -45,7 +44,6 @@ UINT8 mFvAttributes[] = {0, 4, 7, 9, 10, 12, 15, 16};
@return The attributes of EFI_FV_FILE_ATTRIBUTES @return The attributes of EFI_FV_FILE_ATTRIBUTES
**/ **/
STATIC
EFI_FV_FILE_ATTRIBUTES EFI_FV_FILE_ATTRIBUTES
FfsAttributes2FvFileAttributes ( FfsAttributes2FvFileAttributes (
IN EFI_FFS_FILE_ATTRIBUTES FfsAttributes IN EFI_FFS_FILE_ATTRIBUTES FfsAttributes

View File

@ -1,8 +1,7 @@
/** @file /** @file
Implements functions to write firmware file Implements functions to write firmware file
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,9 +1,8 @@
/** @file /** @file
Firmware Volume Block protocol functions. Firmware Volume Block protocol functions.
Consumes FV hobs and creates appropriate block protocols. Consumes FV hobs and creates appropriate block protocols.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -64,8 +63,7 @@ EFIAPI
FwVolBlockDriverInit ( FwVolBlockDriverInit (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
) );
;
@ -83,8 +81,7 @@ EFIAPI
FwVolBlockGetAttributes ( FwVolBlockGetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_FVB_ATTRIBUTES *Attributes OUT EFI_FVB_ATTRIBUTES *Attributes
) );
;
@ -106,8 +103,7 @@ EFIAPI
FwVolBlockSetAttributes ( FwVolBlockSetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
IN CONST EFI_FVB_ATTRIBUTES *Attributes IN CONST EFI_FVB_ATTRIBUTES *Attributes
) );
;
@ -139,8 +135,7 @@ EFIAPI
FwVolBlockEraseBlock ( FwVolBlockEraseBlock (
IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
... ...
) );
;
@ -172,8 +167,7 @@ FwVolBlockReadBlock (
IN CONST UINTN Offset, IN CONST UINTN Offset,
IN OUT UINTN *NumBytes, IN OUT UINTN *NumBytes,
IN OUT UINT8 *Buffer IN OUT UINT8 *Buffer
) );
;
@ -209,8 +203,7 @@ FwVolBlockWriteBlock (
IN UINTN Offset, IN UINTN Offset,
IN OUT UINTN *NumBytes, IN OUT UINTN *NumBytes,
IN UINT8 *Buffer IN UINT8 *Buffer
) );
;
@ -229,8 +222,7 @@ EFIAPI
FwVolBlockGetPhysicalAddress ( FwVolBlockGetPhysicalAddress (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_PHYSICAL_ADDRESS *Address OUT EFI_PHYSICAL_ADDRESS *Address
) );
;
@ -256,10 +248,9 @@ EFIAPI
FwVolBlockGetBlockSize ( FwVolBlockGetBlockSize (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This, IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
IN CONST EFI_LBA Lba, IN CONST EFI_LBA Lba,
OUT UINTN *BlockSize, IN OUT UINTN *BlockSize,
OUT UINTN *NumberOfBlocks IN OUT UINTN *NumberOfBlocks
) );
;
/** /**
This routine is the driver initialization entry point. It initializes the This routine is the driver initialization entry point. It initializes the
@ -274,11 +265,11 @@ FwVolBlockGetBlockSize (
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
FwVolBlockDriverInit ( FwVolBlockDriverInit (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
) );
;
/** /**
@ -304,7 +295,6 @@ ProduceFVBProtocolOnBuffer (
IN UINT64 Length, IN UINT64 Length,
IN EFI_HANDLE ParentHandle, IN EFI_HANDLE ParentHandle,
OUT EFI_HANDLE *FvProtocol OPTIONAL OUT EFI_HANDLE *FvProtocol OPTIONAL
) );
;
#endif #endif

View File

@ -5,7 +5,7 @@
Also consumes NT_NON_MM_FV envinronment variable and produces appropriate Also consumes NT_NON_MM_FV envinronment variable and produces appropriate
block protocols fro them also... (this is TBD) block protocols fro them also... (this is TBD)
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,9 +1,8 @@
/** @file /** @file
Firmware File System protocol. Layers on top of Firmware Firmware File System protocol. Layers on top of Firmware
Block protocol to produce a file abstraction of FV based files. Block protocol to produce a file abstraction of FV based files.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -63,8 +62,7 @@ EFIAPI
FvGetVolumeAttributes ( FvGetVolumeAttributes (
IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This,
OUT EFI_FV_ATTRIBUTES *Attributes OUT EFI_FV_ATTRIBUTES *Attributes
) );
;
/** /**
@ -82,8 +80,7 @@ EFIAPI
FvSetVolumeAttributes ( FvSetVolumeAttributes (
IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This,
IN OUT EFI_FV_ATTRIBUTES *Attributes IN OUT EFI_FV_ATTRIBUTES *Attributes
) );
;
/** /**
@ -141,8 +138,7 @@ FvGetNextFile (
OUT EFI_GUID *NameGuid, OUT EFI_GUID *NameGuid,
OUT EFI_FV_FILE_ATTRIBUTES *Attributes, OUT EFI_FV_FILE_ATTRIBUTES *Attributes,
OUT UINTN *Size OUT UINTN *Size
) );
;
@ -196,8 +192,7 @@ FvReadFile (
OUT EFI_FV_FILETYPE *FoundType, OUT EFI_FV_FILETYPE *FoundType,
OUT EFI_FV_FILE_ATTRIBUTES *FileAttributes, OUT EFI_FV_FILE_ATTRIBUTES *FileAttributes,
OUT UINT32 *AuthenticationStatus OUT UINT32 *AuthenticationStatus
) );
;
/** /**
@ -238,8 +233,7 @@ FvReadFileSection (
IN OUT VOID **Buffer, IN OUT VOID **Buffer,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT UINT32 *AuthenticationStatus OUT UINT32 *AuthenticationStatus
) );
;
/** /**
@ -270,8 +264,7 @@ FvWriteFile (
IN UINT32 NumberOfFiles, IN UINT32 NumberOfFiles,
IN EFI_FV_WRITE_POLICY WritePolicy, IN EFI_FV_WRITE_POLICY WritePolicy,
IN EFI_FV_WRITE_FILE_DATA *FileData IN EFI_FV_WRITE_FILE_DATA *FileData
) );
;
/** /**
@ -294,8 +287,7 @@ FvGetVolumeInfo (
IN CONST EFI_GUID *InformationType, IN CONST EFI_GUID *InformationType,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
) );
;
@ -319,8 +311,7 @@ FvSetVolumeInfo (
IN CONST EFI_GUID *InformationType, IN CONST EFI_GUID *InformationType,
IN UINTN BufferSize, IN UINTN BufferSize,
IN CONST VOID *Buffer IN CONST VOID *Buffer
) );
;
// //
//Internal functions //Internal functions
@ -349,10 +340,9 @@ typedef enum {
BOOLEAN BOOLEAN
IsBufferErased ( IsBufferErased (
IN UINT8 ErasePolarity, IN UINT8 ErasePolarity,
IN VOID *Buffer, IN VOID *InBuffer,
IN UINTN BufferSize IN UINTN BufferSize
) );
;
/** /**
@ -368,8 +358,7 @@ EFI_FFS_FILE_STATE
GetFileState ( GetFileState (
IN UINT8 ErasePolarity, IN UINT8 ErasePolarity,
IN EFI_FFS_FILE_HEADER *FfsHeader IN EFI_FFS_FILE_HEADER *FfsHeader
) );
;
/** /**
@ -385,8 +374,7 @@ VOID
SetFileState ( SetFileState (
IN UINT8 State, IN UINT8 State,
IN EFI_FFS_FILE_HEADER *FfsHeader IN EFI_FFS_FILE_HEADER *FfsHeader
) );
;
/** /**
@ -401,8 +389,7 @@ SetFileState (
BOOLEAN BOOLEAN
VerifyFvHeaderChecksum ( VerifyFvHeaderChecksum (
IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader
) );
;
/** /**
@ -421,8 +408,7 @@ IsValidFfsHeader (
IN UINT8 ErasePolarity, IN UINT8 ErasePolarity,
IN EFI_FFS_FILE_HEADER *FfsHeader, IN EFI_FFS_FILE_HEADER *FfsHeader,
OUT EFI_FFS_FILE_STATE *FileState OUT EFI_FFS_FILE_STATE *FileState
) );
;
/** /**
@ -440,8 +426,7 @@ BOOLEAN
IsValidFfsFile ( IsValidFfsFile (
IN UINT8 ErasePolarity, IN UINT8 ErasePolarity,
IN EFI_FFS_FILE_HEADER *FfsHeader IN EFI_FFS_FILE_HEADER *FfsHeader
) );
;
/** /**
@ -462,8 +447,7 @@ EFI_STATUS
GetFwVolHeader ( GetFwVolHeader (
IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb, IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb,
OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader
) );
;
@ -480,7 +464,6 @@ GetFwVolHeader (
EFI_STATUS EFI_STATUS
FvCheck ( FvCheck (
IN OUT FV_DEVICE *FvDevice IN OUT FV_DEVICE *FvDevice
) );
;
#endif #endif

View File

@ -1,9 +1,8 @@
/** @file /** @file
GCD Operations and data structure used to GCD Operations and data structure used to
convert from GCD attributes to EFI Memory Map attributes. convert from GCD attributes to EFI Memory Map attributes.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,10 +1,9 @@
/** @file /** @file
The file contains the GCD related services in the EFI Boot Services Table. 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 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. are accessible to the CPU that is executing the DXE core.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -122,7 +121,6 @@ CoreReleaseGcdMemoryLock (
Acquire memory lock on mGcdIoSpaceLock. Acquire memory lock on mGcdIoSpaceLock.
**/ **/
STATIC
VOID VOID
CoreAcquireGcdIoLock ( CoreAcquireGcdIoLock (
VOID VOID
@ -136,7 +134,6 @@ CoreAcquireGcdIoLock (
Release memory lock on mGcdIoSpaceLock. Release memory lock on mGcdIoSpaceLock.
**/ **/
STATIC
VOID VOID
CoreReleaseGcdIoLock ( CoreReleaseGcdIoLock (
VOID VOID
@ -163,7 +160,6 @@ CoreReleaseGcdIoLock (
@return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment. @return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment.
**/ **/
STATIC
UINT64 UINT64
AlignValue ( AlignValue (
IN UINT64 Value, 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. @return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment.
**/ **/
STATIC
UINT64 UINT64
PageAlignAddress ( PageAlignAddress (
IN UINT64 Value 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. @return A 64 bit value is the aligned to the value nearest Value with an alignment by Alignment.
**/ **/
STATIC
UINT64 UINT64
PageAlignLength ( PageAlignLength (
IN UINT64 Value IN UINT64 Value
@ -230,7 +224,6 @@ PageAlignLength (
@retval EFI_SUCCESS Both entries successfully allocated. @retval EFI_SUCCESS Both entries successfully allocated.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreAllocateGcdMapEntry ( CoreAllocateGcdMapEntry (
IN OUT EFI_GCD_MAP_ENTRY **TopEntry, IN OUT EFI_GCD_MAP_ENTRY **TopEntry,
@ -266,7 +259,6 @@ CoreAllocateGcdMapEntry (
@retval EFI_SUCCESS The new range was inserted into the linked list @retval EFI_SUCCESS The new range was inserted into the linked list
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreInsertGcdMapEntry ( CoreInsertGcdMapEntry (
IN LIST_ENTRY *Link, IN LIST_ENTRY *Link,
@ -311,7 +303,6 @@ CoreInsertGcdMapEntry (
@retval EFI_UNSUPPORTED These adjacent regions could not merge. @retval EFI_UNSUPPORTED These adjacent regions could not merge.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreMergeGcdMapEntry ( CoreMergeGcdMapEntry (
IN LIST_ENTRY *Link, IN LIST_ENTRY *Link,
@ -385,7 +376,6 @@ CoreMergeGcdMapEntry (
@retval EFI_SUCCESS GCD map successfully cleaned up. @retval EFI_SUCCESS GCD map successfully cleaned up.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreCleanupGcdMapEntry ( CoreCleanupGcdMapEntry (
IN EFI_GCD_MAP_ENTRY *TopEntry, IN EFI_GCD_MAP_ENTRY *TopEntry,
@ -430,7 +420,6 @@ CoreCleanupGcdMapEntry (
@retval EFI_NOT_FOUND Not found. @retval EFI_NOT_FOUND Not found.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreSearchGcdMapEntry ( CoreSearchGcdMapEntry (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
@ -475,7 +464,6 @@ CoreSearchGcdMapEntry (
@return The count. @return The count.
**/ **/
STATIC
UINTN UINTN
CoreCountGcdMapEntry ( CoreCountGcdMapEntry (
IN LIST_ENTRY *Map IN LIST_ENTRY *Map
@ -503,7 +491,6 @@ CoreCountGcdMapEntry (
@return The enum value of memory attribute. @return The enum value of memory attribute.
**/ **/
STATIC
UINT64 UINT64
ConverToCpuArchAttributes ( ConverToCpuArchAttributes (
UINT64 Attributes UINT64 Attributes
@ -557,7 +544,6 @@ ConverToCpuArchAttributes (
@retval EFI_OUT_OF_RESOURCES No buffer could be allocated. @retval EFI_OUT_OF_RESOURCES No buffer could be allocated.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreConvertSpace ( CoreConvertSpace (
IN UINTN Operation, IN UINTN Operation,
@ -801,7 +787,6 @@ Done:
space. space.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreAllocateSpaceCheckEntry ( CoreAllocateSpaceCheckEntry (
IN UINTN Operation, IN UINTN Operation,
@ -849,7 +834,6 @@ CoreAllocateSpaceCheckEntry (
@retval EFI_SUCCESS Space successfully allocated. @retval EFI_SUCCESS Space successfully allocated.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreAllocateSpace ( CoreAllocateSpace (
IN UINTN Operation, IN UINTN Operation,
@ -1096,7 +1080,6 @@ Done:
@retval EFI_SUCCESS Successfully add a segment of memory space. @retval EFI_SUCCESS Successfully add a segment of memory space.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreInternalAddMemorySpace ( CoreInternalAddMemorySpace (
IN EFI_GCD_MEMORY_TYPE GcdMemoryType, IN EFI_GCD_MEMORY_TYPE GcdMemoryType,
@ -1283,7 +1266,6 @@ CoreRemoveMemorySpace (
@param Entry According to this entry @param Entry According to this entry
**/ **/
STATIC
VOID VOID
BuildMemoryDescriptor ( BuildMemoryDescriptor (
IN OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor, IN OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor,
@ -1558,7 +1540,6 @@ CoreRemoveIoSpace (
@param Entry According to this entry @param Entry According to this entry
**/ **/
STATIC
VOID VOID
BuildIoDescriptor ( BuildIoDescriptor (
IN EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor, IN EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor,
@ -1701,7 +1682,6 @@ Done:
@return The capabilities mask for an EFI Memory Descriptor. @return The capabilities mask for an EFI Memory Descriptor.
**/ **/
STATIC
UINT64 UINT64
CoreConvertResourceDescriptorHobAttributesToCapabilities ( CoreConvertResourceDescriptorHobAttributesToCapabilities (
EFI_GCD_MEMORY_TYPE GcdMemoryType, EFI_GCD_MEMORY_TYPE GcdMemoryType,

View File

@ -1,8 +1,7 @@
/** @file /** @file
Support functions for managing protocol. Support functions for managing protocol.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -115,8 +114,7 @@ PROTOCOL_ENTRY *
CoreFindProtocolEntry ( CoreFindProtocolEntry (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN BOOLEAN Create IN BOOLEAN Create
) );
;
/** /**
@ -128,8 +126,7 @@ CoreFindProtocolEntry (
VOID VOID
CoreNotifyProtocolEntry ( CoreNotifyProtocolEntry (
IN PROTOCOL_ENTRY *ProtEntry IN PROTOCOL_ENTRY *ProtEntry
) );
;
/** /**
@ -149,8 +146,7 @@ CoreFindProtocolInterface (
IN IHANDLE *Handle, IN IHANDLE *Handle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN VOID *Interface IN VOID *Interface
) );
;
/** /**
@ -168,8 +164,7 @@ CoreRemoveInterfaceFromProtocol (
IN IHANDLE *Handle, IN IHANDLE *Handle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN VOID *Interface IN VOID *Interface
) );
;
/** /**
@ -184,8 +179,7 @@ CoreRemoveInterfaceFromProtocol (
EFI_STATUS EFI_STATUS
CoreUnregisterProtocolNotify ( CoreUnregisterProtocolNotify (
IN EFI_EVENT Event IN EFI_EVENT Event
) );
;
/** /**
@ -206,8 +200,7 @@ EFI_STATUS
CoreDisconnectControllersUsingProtocolInterface ( CoreDisconnectControllersUsingProtocolInterface (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
IN PROTOCOL_INTERFACE *Prot IN PROTOCOL_INTERFACE *Prot
) );
;
/** /**
@ -217,8 +210,7 @@ CoreDisconnectControllersUsingProtocolInterface (
VOID VOID
CoreAcquireProtocolLock ( CoreAcquireProtocolLock (
VOID VOID
) );
;
/** /**
@ -228,8 +220,7 @@ CoreAcquireProtocolLock (
VOID VOID
CoreReleaseProtocolLock ( CoreReleaseProtocolLock (
VOID VOID
) );
;
/** /**
@ -244,8 +235,7 @@ CoreReleaseProtocolLock (
EFI_STATUS EFI_STATUS
CoreValidateHandle ( CoreValidateHandle (
IN EFI_HANDLE UserHandle IN EFI_HANDLE UserHandle
) );
;
// //
// Externs // Externs

View File

@ -1,8 +1,7 @@
/** @file /** @file
Support functions to connect/disconnect UEFI Driver model Protocol Support functions to connect/disconnect UEFI Driver model Protocol
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -42,7 +41,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS EFI_STATUS
CoreConnectSingleController ( CoreConnectSingleController (
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE *DriverImageHandle OPTIONAL, IN EFI_HANDLE *ContextDriverImageHandles OPTIONAL,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
); );

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI handle & protocol handling. UEFI handle & protocol handling.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -22,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// gProtocolDatabaseLock - Lock to protect the mProtocolDatabase // gProtocolDatabaseLock - Lock to protect the mProtocolDatabase
// gHandleDatabaseKey - The Key to show that the handle has been created/modified // 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); LIST_ENTRY gHandleList = INITIALIZE_LIST_HEAD_VARIABLE (gHandleList);
EFI_LOCK gProtocolDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY); EFI_LOCK gProtocolDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);
UINT64 gHandleDatabaseKey = 0; UINT64 gHandleDatabaseKey = 0;
@ -220,7 +219,6 @@ CoreFindProtocolInterface (
@return EFI_NOT_FOUND if the event was not found in the protocl database. @return EFI_NOT_FOUND if the event was not found in the protocl database.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreUnregisterProtocolNotifyEvent ( CoreUnregisterProtocolNotifyEvent (
IN EFI_EVENT Event IN EFI_EVENT Event
@ -878,7 +876,6 @@ CoreUninstallMultipleProtocolInterfaces (
@return The requested protocol interface for the handle @return The requested protocol interface for the handle
**/ **/
STATIC
PROTOCOL_INTERFACE * PROTOCOL_INTERFACE *
CoreGetProtocolInterface ( CoreGetProtocolInterface (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,

View File

@ -1,8 +1,7 @@
/** @file /** @file
Locate handle functions Locate handle functions
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -50,7 +49,6 @@ IHANDLE *
returned if it's the end of the list. returned if it's the end of the list.
**/ **/
STATIC
IHANDLE * IHANDLE *
CoreGetNextLocateAllHandles ( CoreGetNextLocateAllHandles (
IN OUT LOCATE_POSITION *Position, IN OUT LOCATE_POSITION *Position,
@ -70,7 +68,6 @@ CoreGetNextLocateAllHandles (
returned if it's the end of the list. returned if it's the end of the list.
**/ **/
STATIC
IHANDLE * IHANDLE *
CoreGetNextLocateByRegisterNotify ( CoreGetNextLocateByRegisterNotify (
IN OUT LOCATE_POSITION *Position, IN OUT LOCATE_POSITION *Position,
@ -89,7 +86,6 @@ CoreGetNextLocateByRegisterNotify (
returned if it's the end of the list. returned if it's the end of the list.
**/ **/
STATIC
IHANDLE * IHANDLE *
CoreGetNextLocateByProtocol ( CoreGetNextLocateByProtocol (
IN OUT LOCATE_POSITION *Position, IN OUT LOCATE_POSITION *Position,
@ -276,7 +272,6 @@ CoreLocateHandle (
returned if it's the end of the list. returned if it's the end of the list.
**/ **/
STATIC
IHANDLE * IHANDLE *
CoreGetNextLocateAllHandles ( CoreGetNextLocateAllHandles (
IN OUT LOCATE_POSITION *Position, IN OUT LOCATE_POSITION *Position,
@ -317,7 +312,6 @@ CoreGetNextLocateAllHandles (
returned if it's the end of the list. returned if it's the end of the list.
**/ **/
STATIC
IHANDLE * IHANDLE *
CoreGetNextLocateByRegisterNotify ( CoreGetNextLocateByRegisterNotify (
IN OUT LOCATE_POSITION *Position, IN OUT LOCATE_POSITION *Position,
@ -368,7 +362,6 @@ CoreGetNextLocateByRegisterNotify (
returned if it's the end of the list. returned if it's the end of the list.
**/ **/
STATIC
IHANDLE * IHANDLE *
CoreGetNextLocateByProtocol ( CoreGetNextLocateByProtocol (
IN OUT LOCATE_POSITION *Position, IN OUT LOCATE_POSITION *Position,

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI notify infrastructure UEFI notify infrastructure
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
Data structure and functions to load and unload PeImage. 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -122,8 +121,7 @@ CoreOpenImageFile (
OUT EFI_HANDLE *DeviceHandle, OUT EFI_HANDLE *DeviceHandle,
IN IMAGE_FILE_HANDLE *ImageFileHandle, IN IMAGE_FILE_HANDLE *ImageFileHandle,
OUT UINT32 *AuthenticationStatus OUT UINT32 *AuthenticationStatus
) );
;
@ -148,8 +146,7 @@ CoreReadImageFile (
IN UINTN Offset, IN UINTN Offset,
IN OUT UINTN *ReadSize, IN OUT UINTN *ReadSize,
OUT VOID *Buffer OUT VOID *Buffer
) );
;
/** /**
@ -162,8 +159,7 @@ VOID
EFIAPI EFIAPI
CoreCloseImageFile ( CoreCloseImageFile (
IN IMAGE_FILE_HANDLE *ImageFileHandle IN IMAGE_FILE_HANDLE *ImageFileHandle
) );
;
// //
// Image processing worker functions // Image processing worker functions
@ -185,11 +181,10 @@ CoreCloseImageFile (
EFI_STATUS EFI_STATUS
CoreDevicePathToInterface ( CoreDevicePathToInterface (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath, IN EFI_DEVICE_PATH_PROTOCOL **FilePath,
OUT VOID **Interface, OUT VOID **Interface,
OUT EFI_HANDLE *Handle OUT EFI_HANDLE *Handle
) );
;
/** /**
@ -221,8 +216,7 @@ CoreLoadPeImage (
IN EFI_PHYSICAL_ADDRESS DstBuffer OPTIONAL, IN EFI_PHYSICAL_ADDRESS DstBuffer OPTIONAL,
OUT EFI_PHYSICAL_ADDRESS *EntryPoint OPTIONAL, OUT EFI_PHYSICAL_ADDRESS *EntryPoint OPTIONAL,
IN UINT32 Attribute IN UINT32 Attribute
) );
;
/** /**
@ -236,8 +230,7 @@ CoreLoadPeImage (
LOADED_IMAGE_PRIVATE_DATA * LOADED_IMAGE_PRIVATE_DATA *
CoreLoadedImageInfo ( CoreLoadedImageInfo (
IN EFI_HANDLE ImageHandle IN EFI_HANDLE ImageHandle
) );
;
/** /**
@ -251,8 +244,7 @@ VOID
CoreUnloadAndCloseImage ( CoreUnloadAndCloseImage (
IN LOADED_IMAGE_PRIVATE_DATA *Image, IN LOADED_IMAGE_PRIVATE_DATA *Image,
IN BOOLEAN FreePage IN BOOLEAN FreePage
) );
;
// //
@ -302,8 +294,7 @@ CoreLoadImageEx (
OUT EFI_HANDLE *ImageHandle, OUT EFI_HANDLE *ImageHandle,
OUT EFI_PHYSICAL_ADDRESS *EntryPoint OPTIONAL, OUT EFI_PHYSICAL_ADDRESS *EntryPoint OPTIONAL,
IN UINT32 Attribute IN UINT32 Attribute
) );
;
/** /**
@ -322,6 +313,5 @@ EFIAPI
CoreUnloadImageEx ( CoreUnloadImageEx (
IN EFI_PE32_IMAGE_PROTOCOL *This, IN EFI_PE32_IMAGE_PROTOCOL *This,
IN EFI_HANDLE ImageHandle IN EFI_HANDLE ImageHandle
) );
;
#endif #endif

View File

@ -1,8 +1,7 @@
/** @file /** @file
Core image handling services to load and unload PeImage. 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -603,7 +602,6 @@ CoreLoadedImageInfo (
resources. resources.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreLoadImageCommon ( CoreLoadImageCommon (
IN BOOLEAN BootPolicy, IN BOOLEAN BootPolicy,

View File

@ -1,8 +1,7 @@
/** @file /** @file
Handle services to image file. Handle services to image file.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
Data structure and functions to allocate and free memory space. Data structure and functions to allocate and free memory space.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -11,7 +10,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#ifndef _IMEM_H_ #ifndef _IMEM_H_
@ -73,8 +71,7 @@ CoreAllocatePoolPages (
IN EFI_MEMORY_TYPE PoolType, IN EFI_MEMORY_TYPE PoolType,
IN UINTN NumberOfPages, IN UINTN NumberOfPages,
IN UINTN Alignment IN UINTN Alignment
) );
;
@ -89,8 +86,7 @@ VOID
CoreFreePoolPages ( CoreFreePoolPages (
IN EFI_PHYSICAL_ADDRESS Memory, IN EFI_PHYSICAL_ADDRESS Memory,
IN UINTN NumberOfPages IN UINTN NumberOfPages
) );
;
@ -108,8 +104,7 @@ VOID *
CoreAllocatePoolI ( CoreAllocatePoolI (
IN EFI_MEMORY_TYPE PoolType, IN EFI_MEMORY_TYPE PoolType,
IN UINTN Size IN UINTN Size
) );
;
@ -126,8 +121,7 @@ CoreAllocatePoolI (
EFI_STATUS EFI_STATUS
CoreFreePoolI ( CoreFreePoolI (
IN VOID *Buffer IN VOID *Buffer
) );
;
@ -138,8 +132,7 @@ CoreFreePoolI (
VOID VOID
CoreAcquireMemoryLock ( CoreAcquireMemoryLock (
VOID VOID
) );
;
/** /**
@ -149,8 +142,7 @@ CoreAcquireMemoryLock (
VOID VOID
CoreReleaseMemoryLock ( CoreReleaseMemoryLock (
VOID VOID
) );
;
// //

View File

@ -1,8 +1,7 @@
/** @file /** @file
Internal functions shared in DxeCore module. Internal functions shared in DxeCore module.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -11,7 +10,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#ifndef _DXE_LIBRARY_H_ #ifndef _DXE_LIBRARY_H_
@ -30,8 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID VOID
CoreReportProgressCode ( CoreReportProgressCode (
IN EFI_STATUS_CODE_VALUE Value IN EFI_STATUS_CODE_VALUE Value
) );
;
/** /**
@ -48,8 +45,7 @@ VOID
CoreReportProgressCodeSpecific ( CoreReportProgressCodeSpecific (
IN EFI_STATUS_CODE_VALUE Value, IN EFI_STATUS_CODE_VALUE Value,
IN EFI_HANDLE Handle IN EFI_HANDLE Handle
) );
;
/** /**
@ -64,8 +60,7 @@ CoreReportProgressCodeSpecific (
VOID VOID
CoreAcquireLock ( CoreAcquireLock (
IN EFI_LOCK *Lock IN EFI_LOCK *Lock
) );
;
/** /**
@ -84,8 +79,7 @@ CoreAcquireLock (
EFI_STATUS EFI_STATUS
CoreAcquireLockOrFail ( CoreAcquireLockOrFail (
IN EFI_LOCK *Lock IN EFI_LOCK *Lock
) );
;
/** /**
@ -100,8 +94,7 @@ CoreAcquireLockOrFail (
VOID VOID
CoreReleaseLock ( CoreReleaseLock (
IN EFI_LOCK *Lock IN EFI_LOCK *Lock
) );
;
// //
// Device Path functions // Device Path functions
@ -119,8 +112,7 @@ CoreReleaseLock (
UINTN UINTN
CoreDevicePathSize ( CoreDevicePathSize (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
) );
;
/** /**
@ -135,8 +127,7 @@ CoreDevicePathSize (
BOOLEAN BOOLEAN
CoreIsDevicePathMultiInstance ( CoreIsDevicePathMultiInstance (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
) );
;
@ -152,8 +143,7 @@ CoreIsDevicePathMultiInstance (
EFI_DEVICE_PATH_PROTOCOL * EFI_DEVICE_PATH_PROTOCOL *
CoreDuplicateDevicePath ( CoreDuplicateDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
) );
;
/** /**
@ -171,8 +161,7 @@ EFI_DEVICE_PATH_PROTOCOL *
CoreAppendDevicePath ( CoreAppendDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *Src1, IN EFI_DEVICE_PATH_PROTOCOL *Src1,
IN EFI_DEVICE_PATH_PROTOCOL *Src2 IN EFI_DEVICE_PATH_PROTOCOL *Src2
) );
;
/** /**
@ -186,8 +175,7 @@ CoreAppendDevicePath (
VOID * VOID *
CoreAllocateBootServicesPool ( CoreAllocateBootServicesPool (
IN UINTN AllocationSize IN UINTN AllocationSize
) );
;
/** /**
@ -201,8 +189,7 @@ CoreAllocateBootServicesPool (
VOID * VOID *
CoreAllocateZeroBootServicesPool ( CoreAllocateZeroBootServicesPool (
IN UINTN AllocationSize IN UINTN AllocationSize
) );
;
/** /**
@ -219,9 +206,8 @@ CoreAllocateZeroBootServicesPool (
EFI_STATUS EFI_STATUS
CoreGetConfigTable ( CoreGetConfigTable (
IN EFI_GUID *Guid, IN EFI_GUID *Guid,
IN OUT VOID **Table OUT VOID **Table
) );
;
/** /**
@ -238,8 +224,7 @@ VOID *
CoreAllocateRuntimeCopyPool ( CoreAllocateRuntimeCopyPool (
IN UINTN AllocationSize, IN UINTN AllocationSize,
IN VOID *Buffer IN VOID *Buffer
) );
;
/** /**
@ -253,8 +238,7 @@ CoreAllocateRuntimeCopyPool (
VOID * VOID *
CoreAllocateRuntimePool ( CoreAllocateRuntimePool (
IN UINTN AllocationSize IN UINTN AllocationSize
) );
;
/** /**
@ -271,8 +255,7 @@ VOID *
CoreAllocateCopyPool ( CoreAllocateCopyPool (
IN UINTN AllocationSize, IN UINTN AllocationSize,
IN VOID *Buffer IN VOID *Buffer
) );
;
/** /**
@ -299,7 +282,6 @@ CoreCreateProtocolNotifyEvent (
IN VOID *NotifyContext, IN VOID *NotifyContext,
OUT VOID **Registration, OUT VOID **Registration,
IN BOOLEAN SignalFlag IN BOOLEAN SignalFlag
) );
;
#endif #endif

View File

@ -1,7 +1,7 @@
/** @file /** @file
DXE Core library services. 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
Global data used in memory service Global data used in memory service
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Memory page management functions. UEFI Memory page management functions.
Copyright (c) 2007 - 2008, Intel Corporation Copyright (c) 2007 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -95,7 +94,6 @@ EFI_MEMORY_TYPE_INFORMATION gMemoryTypeInformation[EfiMaxMemoryType + 1] = {
Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable. Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable.
**/ **/
STATIC
VOID VOID
PromoteMemoryResource ( PromoteMemoryResource (
VOID VOID
@ -115,7 +113,6 @@ PromoteMemoryResource (
@return None. The range is added to the memory map @return None. The range is added to the memory map
**/ **/
STATIC
VOID VOID
CoreAddRange ( CoreAddRange (
IN EFI_MEMORY_TYPE Type, IN EFI_MEMORY_TYPE Type,
@ -129,7 +126,6 @@ CoreAddRange (
temporary descriptor stack to heap. temporary descriptor stack to heap.
**/ **/
STATIC
VOID VOID
CoreFreeMemoryMapStack ( CoreFreeMemoryMapStack (
VOID VOID
@ -151,7 +147,6 @@ CoreFreeMemoryMapStack (
specified type. specified type.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreConvertPages ( CoreConvertPages (
IN UINT64 Start, IN UINT64 Start,
@ -165,7 +160,6 @@ CoreConvertPages (
@param Entry The entry to remove @param Entry The entry to remove
**/ **/
STATIC
VOID VOID
RemoveMemoryMapEntry ( RemoveMemoryMapEntry (
MEMORY_MAP *Entry MEMORY_MAP *Entry
@ -184,7 +178,6 @@ RemoveMemoryMapEntry (
@return The Memory map descriptor dequed from the mFreeMemoryMapEntryList @return The Memory map descriptor dequed from the mFreeMemoryMapEntryList
**/ **/
STATIC
MEMORY_MAP * MEMORY_MAP *
AllocateMemoryMapEntry ( AllocateMemoryMapEntry (
VOID VOID
@ -222,7 +215,6 @@ CoreReleaseMemoryLock (
Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable. Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable.
**/ **/
STATIC
VOID VOID
PromoteMemoryResource ( PromoteMemoryResource (
VOID VOID
@ -449,7 +441,6 @@ CoreAddMemoryDescriptor (
@return None. The range is added to the memory map @return None. The range is added to the memory map
**/ **/
STATIC
VOID VOID
CoreAddRange ( CoreAddRange (
IN EFI_MEMORY_TYPE Type, IN EFI_MEMORY_TYPE Type,
@ -542,7 +533,6 @@ CoreAddRange (
temporary descriptor stack to heap. temporary descriptor stack to heap.
**/ **/
STATIC
VOID VOID
CoreFreeMemoryMapStack ( CoreFreeMemoryMapStack (
VOID VOID
@ -621,7 +611,6 @@ CoreFreeMemoryMapStack (
@param Entry The entry to remove @param Entry The entry to remove
**/ **/
STATIC
VOID VOID
RemoveMemoryMapEntry ( RemoveMemoryMapEntry (
MEMORY_MAP *Entry MEMORY_MAP *Entry
@ -652,7 +641,6 @@ RemoveMemoryMapEntry (
@return The Memory map descriptor dequed from the mFreeMemoryMapEntryList @return The Memory map descriptor dequed from the mFreeMemoryMapEntryList
**/ **/
STATIC
MEMORY_MAP * MEMORY_MAP *
AllocateMemoryMapEntry ( AllocateMemoryMapEntry (
VOID VOID
@ -705,7 +693,6 @@ AllocateMemoryMapEntry (
specified type. specified type.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CoreConvertPages ( CoreConvertPages (
IN UINT64 Start, IN UINT64 Start,
@ -898,7 +885,6 @@ CoreConvertPages (
@return The base address of the range, or 0 if the range was not found @return The base address of the range, or 0 if the range was not found
**/ **/
STATIC
UINT64 UINT64
CoreFindFreePagesI ( CoreFindFreePagesI (
IN UINT64 MaxAddress, IN UINT64 MaxAddress,
@ -1019,7 +1005,6 @@ CoreFindFreePagesI (
@return The base address of the range, or 0 if the range was not found. @return The base address of the range, or 0 if the range was not found.
**/ **/
STATIC
UINT64 UINT64
FindFreePages ( FindFreePages (
IN UINT64 MaxAddress, IN UINT64 MaxAddress,

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Memory pool management functions. UEFI Memory pool management functions.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -110,7 +109,6 @@ CoreInitializePool (
@return Pointer of Corresponding pool head. @return Pointer of Corresponding pool head.
**/ **/
STATIC
POOL * POOL *
LookupPoolHead ( LookupPoolHead (
IN EFI_MEMORY_TYPE MemoryType IN EFI_MEMORY_TYPE MemoryType

View File

@ -1,9 +1,8 @@
/** @file /** @file
Support functions for managing debug image info table when loading and unloading Support functions for managing debug image info table when loading and unloading
images. images.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Miscellaneous boot Services InstallConfigurationTable service UEFI Miscellaneous boot Services InstallConfigurationTable service
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Miscellaneous boot Services SetWatchdogTimer service implementation UEFI Miscellaneous boot Services SetWatchdogTimer service implementation
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -1,8 +1,7 @@
/** @file /** @file
UEFI Miscellaneous boot Services Stall service implementation 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 All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at

View File

@ -27,7 +27,7 @@
3) A support protocol is not found, and the data is not available to be read 3) A support protocol is not found, and the data is not available to be read
without it. This results in EFI_PROTOCOL_ERROR. without it. This results in EFI_PROTOCOL_ERROR.
Copyright (c) 2006 - 2008, Intel Corporation Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -115,7 +115,6 @@ typedef struct {
@retval FALSE The child doesn't match @retval FALSE The child doesn't match
**/ **/
STATIC
BOOLEAN BOOLEAN
ChildIsType ( ChildIsType (
IN CORE_SECTION_STREAM_NODE *Stream, IN CORE_SECTION_STREAM_NODE *Stream,
@ -134,7 +133,6 @@ ChildIsType (
identify the relevent encapsulation... identify the relevent encapsulation...
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
NotifyGuidedExtraction ( NotifyGuidedExtraction (
@ -146,7 +144,7 @@ NotifyGuidedExtraction (
#if 0 #if 0
/** /**
Worker function. Constructor for RPN event if needed to keep AuthenticationStatus 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 @param ParentStream Indicates the parent of the ecnapsulation
section (child) section (child)
@ -154,7 +152,6 @@ NotifyGuidedExtraction (
encapsulation section. encapsulation section.
**/ **/
STATIC
VOID VOID
CreateGuidedExtractionRpnEvent ( CreateGuidedExtractionRpnEvent (
IN CORE_SECTION_STREAM_NODE *ParentStream, IN CORE_SECTION_STREAM_NODE *ParentStream,
@ -174,7 +171,6 @@ CreateGuidedExtractionRpnEvent (
database. database.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
FindStreamNode ( FindStreamNode (
IN UINTN SearchHandle, IN UINTN SearchHandle,
@ -207,12 +203,11 @@ FindStreamNode (
does not exist does not exist
**/ **/
STATIC
EFI_STATUS EFI_STATUS
FindChildNode ( FindChildNode (
IN CORE_SECTION_STREAM_NODE *SourceStream, IN CORE_SECTION_STREAM_NODE *SourceStream,
IN EFI_SECTION_TYPE SearchType, IN EFI_SECTION_TYPE SearchType,
IN UINTN *SectionInstance, IN OUT UINTN *SectionInstance,
IN EFI_GUID *SectionDefinitionGuid, IN EFI_GUID *SectionDefinitionGuid,
OUT CORE_SECTION_CHILD_NODE **FoundChild, OUT CORE_SECTION_CHILD_NODE **FoundChild,
OUT CORE_SECTION_STREAM_NODE **FoundStream, OUT CORE_SECTION_STREAM_NODE **FoundStream,
@ -240,7 +235,6 @@ FindChildNode (
returned by OpenSectionStreamEx. returned by OpenSectionStreamEx.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CreateChildNode ( CreateChildNode (
IN CORE_SECTION_STREAM_NODE *Stream, IN CORE_SECTION_STREAM_NODE *Stream,
@ -254,7 +248,6 @@ CreateChildNode (
@param ChildNode Indicates the node to destroy @param ChildNode Indicates the node to destroy
**/ **/
STATIC
VOID VOID
FreeChildNode ( FreeChildNode (
IN CORE_SECTION_CHILD_NODE *ChildNode IN CORE_SECTION_CHILD_NODE *ChildNode
@ -293,7 +286,6 @@ FreeChildNode (
@retval EFI_OUT_OF_RESOURCES memory allocation failed. @retval EFI_OUT_OF_RESOURCES memory allocation failed.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
OpenSectionStreamEx ( OpenSectionStreamEx (
IN UINTN SectionStreamLength, IN UINTN SectionStreamLength,
@ -312,7 +304,6 @@ OpenSectionStreamEx (
@return A boolean value indicating the validness of the section stream. @return A boolean value indicating the validness of the section stream.
**/ **/
STATIC
BOOLEAN BOOLEAN
IsValidSectionStream ( IsValidSectionStream (
IN VOID *SectionStream, IN VOID *SectionStream,
@ -729,7 +720,6 @@ CloseSectionStream (
@retval FALSE The child doesn't match @retval FALSE The child doesn't match
**/ **/
STATIC
BOOLEAN BOOLEAN
ChildIsType ( ChildIsType (
IN CORE_SECTION_STREAM_NODE *Stream, IN CORE_SECTION_STREAM_NODE *Stream,
@ -781,7 +771,6 @@ ChildIsType (
does not exist does not exist
**/ **/
STATIC
EFI_STATUS EFI_STATUS
FindChildNode ( FindChildNode (
IN CORE_SECTION_STREAM_NODE *SourceStream, IN CORE_SECTION_STREAM_NODE *SourceStream,
@ -933,7 +922,6 @@ FindChildNode (
returned by OpenSectionStreamEx. returned by OpenSectionStreamEx.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
CreateChildNode ( CreateChildNode (
IN CORE_SECTION_STREAM_NODE *Stream, IN CORE_SECTION_STREAM_NODE *Stream,
@ -1176,7 +1164,6 @@ CreateChildNode (
encapsulation section. encapsulation section.
**/ **/
STATIC
VOID VOID
CreateGuidedExtractionRpnEvent ( CreateGuidedExtractionRpnEvent (
IN CORE_SECTION_STREAM_NODE *ParentStream, IN CORE_SECTION_STREAM_NODE *ParentStream,
@ -1216,7 +1203,6 @@ CreateGuidedExtractionRpnEvent (
identify the relevent encapsulation... identify the relevent encapsulation...
**/ **/
STATIC
VOID VOID
EFIAPI EFIAPI
NotifyGuidedExtraction ( NotifyGuidedExtraction (
@ -1287,7 +1273,6 @@ NotifyGuidedExtraction (
@param ChildNode Indicates the node to destroy @param ChildNode Indicates the node to destroy
**/ **/
STATIC
VOID VOID
FreeChildNode ( FreeChildNode (
IN CORE_SECTION_CHILD_NODE *ChildNode IN CORE_SECTION_CHILD_NODE *ChildNode
@ -1347,7 +1332,6 @@ FreeChildNode (
@retval EFI_OUT_OF_RESOURCES memory allocation failed. @retval EFI_OUT_OF_RESOURCES memory allocation failed.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
OpenSectionStreamEx ( OpenSectionStreamEx (
IN UINTN SectionStreamLength, IN UINTN SectionStreamLength,
@ -1433,7 +1417,6 @@ OpenSectionStreamEx (
database. database.
**/ **/
STATIC
EFI_STATUS EFI_STATUS
FindStreamNode ( FindStreamNode (
IN UINTN SearchHandle, IN UINTN SearchHandle,
@ -1470,7 +1453,6 @@ FindStreamNode (
@return A boolean value indicating the validness of the section stream. @return A boolean value indicating the validness of the section stream.
**/ **/
STATIC
BOOLEAN BOOLEAN
IsValidSectionStream ( IsValidSectionStream (
IN VOID *SectionStream, IN VOID *SectionStream,