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

View File

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

View File

@ -26,7 +26,7 @@
Depex - Dependency Expresion.
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
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
@ -105,7 +105,6 @@ FV_FILEPATH_DEVICE_PATH mFvDevicePath;
@param InsertedDriverEntry The driver to insert on the ScheduledLink Queue
**/
STATIC
VOID
CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
IN EFI_CORE_DRIVER_ENTRY *InsertedDriverEntry
@ -128,7 +127,6 @@ CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
@param Context Event Context, not used.
**/
STATIC
VOID
EFIAPI
CoreFwVolEventProtocolNotify (
@ -149,7 +147,6 @@ CoreFwVolEventProtocolNotify (
@return Pointer to device path constructed from FvHandle and DriverName
**/
STATIC
EFI_DEVICE_PATH_PROTOCOL *
CoreFvToDevicePath (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -177,7 +174,6 @@ CoreFvToDevicePath (
time.
**/
STATIC
EFI_STATUS
CoreAddToDriverList (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -197,7 +193,6 @@ CoreAddToDriverList (
@retval EFI_SUCCESS Function successfully returned.
**/
STATIC
EFI_STATUS
CoreProcessFvImageFile (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -210,7 +205,6 @@ CoreProcessFvImageFile (
Enter critical section by gaining lock on mDispatcherLock.
**/
STATIC
VOID
CoreAcquireDispatcherLock (
VOID
@ -224,7 +218,6 @@ CoreAcquireDispatcherLock (
Exit critical section by releasing lock on mDispatcherLock.
**/
STATIC
VOID
CoreReleaseDispatcherLock (
VOID
@ -246,7 +239,6 @@ CoreReleaseDispatcherLock (
@retval Error DEPEX not found.
**/
STATIC
EFI_STATUS
CoreGetDepexSectionAndPreProccess (
IN EFI_CORE_DRIVER_ENTRY *DriverEntry
@ -314,7 +306,6 @@ CoreGetDepexSectionAndPreProccess (
not set.
**/
EFI_DXESERVICE
EFI_STATUS
EFIAPI
CoreSchedule (
@ -361,7 +352,6 @@ CoreSchedule (
@retval EFI_NOT_FOUND The file was not found in the untrusted state.
**/
EFI_DXESERVICE
EFI_STATUS
EFIAPI
CoreTrust (
@ -413,7 +403,6 @@ CoreTrust (
@retval EFI_SUCCESS One or more DXE Drivers were dispatched
**/
EFI_DXESERVICE
EFI_STATUS
EFIAPI
CoreDispatcher (
@ -558,7 +547,6 @@ CoreDispatcher (
@param InsertedDriverEntry The driver to insert on the ScheduledLink Queue
**/
STATIC
VOID
CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
IN EFI_CORE_DRIVER_ENTRY *InsertedDriverEntry
@ -620,7 +608,6 @@ CoreInsertOnScheduledQueueWhileProcessingBeforeAndAfter (
processed
**/
STATIC
BOOLEAN
FvHasBeenProcessed (
IN EFI_HANDLE FvHandle
@ -647,7 +634,6 @@ FvHasBeenProcessed (
@param FvHandle The handle of a FV that has been processed
**/
STATIC
VOID
FvIsBeingProcesssed (
IN EFI_HANDLE FvHandle
@ -679,7 +665,6 @@ FvIsBeingProcesssed (
@return Pointer to device path constructed from FvHandle and DriverName
**/
STATIC
EFI_DEVICE_PATH_PROTOCOL *
CoreFvToDevicePath (
IN EFI_FIRMWARE_VOLUME2_PROTOCOL *Fv,
@ -785,7 +770,6 @@ CoreAddToDriverList (
@retval FALSE Not found.
**/
STATIC
BOOLEAN
FvFoundInHobFv2 (
IN EFI_HANDLE FvHandle,
@ -922,7 +906,6 @@ CoreProcessFvImageFile (
@param Context Event Context, not used.
**/
STATIC
VOID
EFIAPI
CoreFwVolEventProtocolNotify (

View File

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

View File

@ -1,9 +1,10 @@
#/** @file
#
# Component description file for DxeMain module.
#
# 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
# 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
@ -12,7 +13,6 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
[Defines]

View File

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

View File

@ -1,10 +1,9 @@
/** @file
This file deals with Architecture Protocol (AP) registration in
the Dxe Core. The mArchProtocols[] array represents a list of
events that represent the Architectural Protocols.
Copyright (c) 2006 - 2008, Intel Corporation
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@ -82,7 +81,6 @@ CoreAllEfiServicesAvailable (
@param Context Event Context, not used.
**/
STATIC
VOID
EFIAPI
GenericArchProtocolNotify (

View File

@ -1,8 +1,7 @@
/** @file
UEFI Event support functions implemented in this file.
Copyright (c) 2006 - 2008, Intel Corporation
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@ -67,7 +66,6 @@ UINT32 mEventTable[] = {
Enter critical section by acquiring the lock on gEventQueueLock.
**/
STATIC
VOID
CoreAcquireEventLock (
VOID
@ -81,7 +79,6 @@ CoreAcquireEventLock (
Exit critical section by releasing the lock on gEventQueueLock.
**/
STATIC
VOID
CoreReleaseEventLock (
VOID
@ -180,7 +177,6 @@ CoreDispatchEventNotifies (
@param Event The Event to notify
**/
STATIC
VOID
CoreNotifyEvent (
IN IEVENT *Event

View File

@ -1,8 +1,7 @@
/** @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
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

View File

@ -1,8 +1,7 @@
/** @file
Core Timer Services
Copyright (c) 2006 - 2008, Intel Corporation
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@ -25,7 +24,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@return The current system time
**/
STATIC
UINT64
CoreCurrentSystemTime (
VOID
@ -39,11 +37,10 @@ CoreCurrentSystemTime (
@param Context Not used
**/
STATIC
VOID
EFIAPI
CoreCheckTimers (
IN EFI_EVENT Event,
IN EFI_EVENT CheckEvent,
IN VOID *Context
);
@ -54,7 +51,6 @@ CoreCheckTimers (
to be installed
**/
STATIC
VOID
CoreInsertEventTimer (
IN IEVENT *Event
@ -104,7 +100,6 @@ CoreInitializeTimer (
@return The current system time
**/
STATIC
UINT64
CoreCurrentSystemTime (
VOID
@ -171,7 +166,6 @@ CoreTimerTick (
@param Context Not used
**/
STATIC
VOID
EFIAPI
CoreCheckTimers (
@ -250,7 +244,6 @@ CoreCheckTimers (
to be installed
**/
STATIC
VOID
CoreInsertEventTimer (
IN IEVENT *Event

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -22,7 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param Enable The state of enable or disable interrupt
**/
STATIC
VOID
CoreSetInterruptState (
IN BOOLEAN Enable

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -84,8 +83,7 @@ typedef struct {
VOID
CoreDispatchEventNotifies (
IN EFI_TPL Priority
)
;
);
@ -100,8 +98,7 @@ CoreDispatchEventNotifies (
UINTN
CoreHighestSetBit (
IN UINTN Number
)
;
);
@ -115,8 +112,7 @@ CoreHighestSetBit (
BOOLEAN
GetInterruptState (
VOID
)
;
);
//
// Exported functions
@ -130,8 +126,7 @@ GetInterruptState (
VOID
CoreEventVirtualAddressFixup (
VOID
)
;
);
@ -142,8 +137,7 @@ CoreEventVirtualAddressFixup (
VOID
CoreInitializeTimer (
VOID
)
;
);
//
// extern data declarations

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -137,7 +136,6 @@ VerifyFvHeaderChecksum (
@retval FALSE Checksum verification failed
**/
STATIC
BOOLEAN
VerifyHeaderChecksum (
IN EFI_FFS_FILE_HEADER *FfsHeader

View File

@ -3,7 +3,7 @@
Layers on top of Firmware Block protocol to produce a file abstraction
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
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
@ -125,7 +125,6 @@ GetFwVolHeader (
@return None.
**/
STATIC
VOID
FreeFvDeviceResource (
IN FV_DEVICE *FvDevice
@ -382,7 +381,6 @@ Done:
@param Context For EFI compatiblity. Not used.
**/
STATIC
VOID
EFIAPI
NotifyFwVolBlock (

View File

@ -1,8 +1,7 @@
/** @file
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
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

View File

@ -1,8 +1,7 @@
/** @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
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
@ -45,7 +44,6 @@ UINT8 mFvAttributes[] = {0, 4, 7, 9, 10, 12, 15, 16};
@return The attributes of EFI_FV_FILE_ATTRIBUTES
**/
STATIC
EFI_FV_FILE_ATTRIBUTES
FfsAttributes2FvFileAttributes (
IN EFI_FFS_FILE_ATTRIBUTES FfsAttributes

View File

@ -1,8 +1,7 @@
/** @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
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

View File

@ -1,9 +1,8 @@
/** @file
Firmware Volume Block protocol functions.
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
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
@ -64,8 +63,7 @@ EFIAPI
FwVolBlockDriverInit (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
@ -83,8 +81,7 @@ EFIAPI
FwVolBlockGetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_FVB_ATTRIBUTES *Attributes
)
;
);
@ -106,8 +103,7 @@ EFIAPI
FwVolBlockSetAttributes (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
IN CONST EFI_FVB_ATTRIBUTES *Attributes
)
;
);
@ -139,8 +135,7 @@ EFIAPI
FwVolBlockEraseBlock (
IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
...
)
;
);
@ -172,8 +167,7 @@ FwVolBlockReadBlock (
IN CONST UINTN Offset,
IN OUT UINTN *NumBytes,
IN OUT UINT8 *Buffer
)
;
);
@ -209,8 +203,7 @@ FwVolBlockWriteBlock (
IN UINTN Offset,
IN OUT UINTN *NumBytes,
IN UINT8 *Buffer
)
;
);
@ -229,8 +222,7 @@ EFIAPI
FwVolBlockGetPhysicalAddress (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
OUT EFI_PHYSICAL_ADDRESS *Address
)
;
);
@ -256,10 +248,9 @@ EFIAPI
FwVolBlockGetBlockSize (
IN CONST EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *This,
IN CONST EFI_LBA Lba,
OUT UINTN *BlockSize,
OUT UINTN *NumberOfBlocks
)
;
IN OUT UINTN *BlockSize,
IN OUT UINTN *NumberOfBlocks
);
/**
This routine is the driver initialization entry point. It initializes the
@ -274,11 +265,11 @@ FwVolBlockGetBlockSize (
**/
EFI_STATUS
EFIAPI
FwVolBlockDriverInit (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
/**
@ -304,7 +295,6 @@ ProduceFVBProtocolOnBuffer (
IN UINT64 Length,
IN EFI_HANDLE ParentHandle,
OUT EFI_HANDLE *FvProtocol OPTIONAL
)
;
);
#endif

View File

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

View File

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

View File

@ -1,9 +1,8 @@
/** @file
GCD Operations and data structure used to
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
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

View File

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

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -115,8 +114,7 @@ PROTOCOL_ENTRY *
CoreFindProtocolEntry (
IN EFI_GUID *Protocol,
IN BOOLEAN Create
)
;
);
/**
@ -128,8 +126,7 @@ CoreFindProtocolEntry (
VOID
CoreNotifyProtocolEntry (
IN PROTOCOL_ENTRY *ProtEntry
)
;
);
/**
@ -149,8 +146,7 @@ CoreFindProtocolInterface (
IN IHANDLE *Handle,
IN EFI_GUID *Protocol,
IN VOID *Interface
)
;
);
/**
@ -168,8 +164,7 @@ CoreRemoveInterfaceFromProtocol (
IN IHANDLE *Handle,
IN EFI_GUID *Protocol,
IN VOID *Interface
)
;
);
/**
@ -184,8 +179,7 @@ CoreRemoveInterfaceFromProtocol (
EFI_STATUS
CoreUnregisterProtocolNotify (
IN EFI_EVENT Event
)
;
);
/**
@ -206,8 +200,7 @@ EFI_STATUS
CoreDisconnectControllersUsingProtocolInterface (
IN EFI_HANDLE UserHandle,
IN PROTOCOL_INTERFACE *Prot
)
;
);
/**
@ -217,8 +210,7 @@ CoreDisconnectControllersUsingProtocolInterface (
VOID
CoreAcquireProtocolLock (
VOID
)
;
);
/**
@ -228,8 +220,7 @@ CoreAcquireProtocolLock (
VOID
CoreReleaseProtocolLock (
VOID
)
;
);
/**
@ -244,8 +235,7 @@ CoreReleaseProtocolLock (
EFI_STATUS
CoreValidateHandle (
IN EFI_HANDLE UserHandle
)
;
);
//
// Externs

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -42,7 +41,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
CoreConnectSingleController (
IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE *DriverImageHandle OPTIONAL,
IN EFI_HANDLE *ContextDriverImageHandles OPTIONAL,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
);

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -22,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// gProtocolDatabaseLock - Lock to protect the mProtocolDatabase
// gHandleDatabaseKey - The Key to show that the handle has been created/modified
//
static LIST_ENTRY mProtocolDatabase = INITIALIZE_LIST_HEAD_VARIABLE (mProtocolDatabase);
STATIC LIST_ENTRY mProtocolDatabase = INITIALIZE_LIST_HEAD_VARIABLE (mProtocolDatabase);
LIST_ENTRY gHandleList = INITIALIZE_LIST_HEAD_VARIABLE (gHandleList);
EFI_LOCK gProtocolDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_NOTIFY);
UINT64 gHandleDatabaseKey = 0;
@ -220,7 +219,6 @@ CoreFindProtocolInterface (
@return EFI_NOT_FOUND if the event was not found in the protocl database.
**/
STATIC
EFI_STATUS
CoreUnregisterProtocolNotifyEvent (
IN EFI_EVENT Event
@ -878,7 +876,6 @@ CoreUninstallMultipleProtocolInterfaces (
@return The requested protocol interface for the handle
**/
STATIC
PROTOCOL_INTERFACE *
CoreGetProtocolInterface (
IN EFI_HANDLE UserHandle,

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -50,7 +49,6 @@ IHANDLE *
returned if it's the end of the list.
**/
STATIC
IHANDLE *
CoreGetNextLocateAllHandles (
IN OUT LOCATE_POSITION *Position,
@ -70,7 +68,6 @@ CoreGetNextLocateAllHandles (
returned if it's the end of the list.
**/
STATIC
IHANDLE *
CoreGetNextLocateByRegisterNotify (
IN OUT LOCATE_POSITION *Position,
@ -89,7 +86,6 @@ CoreGetNextLocateByRegisterNotify (
returned if it's the end of the list.
**/
STATIC
IHANDLE *
CoreGetNextLocateByProtocol (
IN OUT LOCATE_POSITION *Position,
@ -276,7 +272,6 @@ CoreLocateHandle (
returned if it's the end of the list.
**/
STATIC
IHANDLE *
CoreGetNextLocateAllHandles (
IN OUT LOCATE_POSITION *Position,
@ -317,7 +312,6 @@ CoreGetNextLocateAllHandles (
returned if it's the end of the list.
**/
STATIC
IHANDLE *
CoreGetNextLocateByRegisterNotify (
IN OUT LOCATE_POSITION *Position,
@ -368,7 +362,6 @@ CoreGetNextLocateByRegisterNotify (
returned if it's the end of the list.
**/
STATIC
IHANDLE *
CoreGetNextLocateByProtocol (
IN OUT LOCATE_POSITION *Position,

View File

@ -1,8 +1,7 @@
/** @file
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
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

View File

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

View File

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

View File

@ -1,8 +1,7 @@
/** @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
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

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -11,7 +10,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _IMEM_H_
@ -73,8 +71,7 @@ CoreAllocatePoolPages (
IN EFI_MEMORY_TYPE PoolType,
IN UINTN NumberOfPages,
IN UINTN Alignment
)
;
);
@ -89,8 +86,7 @@ VOID
CoreFreePoolPages (
IN EFI_PHYSICAL_ADDRESS Memory,
IN UINTN NumberOfPages
)
;
);
@ -108,8 +104,7 @@ VOID *
CoreAllocatePoolI (
IN EFI_MEMORY_TYPE PoolType,
IN UINTN Size
)
;
);
@ -126,8 +121,7 @@ CoreAllocatePoolI (
EFI_STATUS
CoreFreePoolI (
IN VOID *Buffer
)
;
);
@ -138,8 +132,7 @@ CoreFreePoolI (
VOID
CoreAcquireMemoryLock (
VOID
)
;
);
/**
@ -149,8 +142,7 @@ CoreAcquireMemoryLock (
VOID
CoreReleaseMemoryLock (
VOID
)
;
);
//

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -11,7 +10,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _DXE_LIBRARY_H_
@ -30,8 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID
CoreReportProgressCode (
IN EFI_STATUS_CODE_VALUE Value
)
;
);
/**
@ -48,8 +45,7 @@ VOID
CoreReportProgressCodeSpecific (
IN EFI_STATUS_CODE_VALUE Value,
IN EFI_HANDLE Handle
)
;
);
/**
@ -64,8 +60,7 @@ CoreReportProgressCodeSpecific (
VOID
CoreAcquireLock (
IN EFI_LOCK *Lock
)
;
);
/**
@ -84,8 +79,7 @@ CoreAcquireLock (
EFI_STATUS
CoreAcquireLockOrFail (
IN EFI_LOCK *Lock
)
;
);
/**
@ -100,8 +94,7 @@ CoreAcquireLockOrFail (
VOID
CoreReleaseLock (
IN EFI_LOCK *Lock
)
;
);
//
// Device Path functions
@ -119,8 +112,7 @@ CoreReleaseLock (
UINTN
CoreDevicePathSize (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
)
;
);
/**
@ -135,8 +127,7 @@ CoreDevicePathSize (
BOOLEAN
CoreIsDevicePathMultiInstance (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
)
;
);
@ -152,8 +143,7 @@ CoreIsDevicePathMultiInstance (
EFI_DEVICE_PATH_PROTOCOL *
CoreDuplicateDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
)
;
);
/**
@ -171,8 +161,7 @@ EFI_DEVICE_PATH_PROTOCOL *
CoreAppendDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *Src1,
IN EFI_DEVICE_PATH_PROTOCOL *Src2
)
;
);
/**
@ -186,8 +175,7 @@ CoreAppendDevicePath (
VOID *
CoreAllocateBootServicesPool (
IN UINTN AllocationSize
)
;
);
/**
@ -201,8 +189,7 @@ CoreAllocateBootServicesPool (
VOID *
CoreAllocateZeroBootServicesPool (
IN UINTN AllocationSize
)
;
);
/**
@ -219,9 +206,8 @@ CoreAllocateZeroBootServicesPool (
EFI_STATUS
CoreGetConfigTable (
IN EFI_GUID *Guid,
IN OUT VOID **Table
)
;
OUT VOID **Table
);
/**
@ -238,8 +224,7 @@ VOID *
CoreAllocateRuntimeCopyPool (
IN UINTN AllocationSize,
IN VOID *Buffer
)
;
);
/**
@ -253,8 +238,7 @@ CoreAllocateRuntimeCopyPool (
VOID *
CoreAllocateRuntimePool (
IN UINTN AllocationSize
)
;
);
/**
@ -271,8 +255,7 @@ VOID *
CoreAllocateCopyPool (
IN UINTN AllocationSize,
IN VOID *Buffer
)
;
);
/**
@ -299,7 +282,6 @@ CoreCreateProtocolNotifyEvent (
IN VOID *NotifyContext,
OUT VOID **Registration,
IN BOOLEAN SignalFlag
)
;
);
#endif

View File

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

View File

@ -1,8 +1,7 @@
/** @file
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
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

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -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.
**/
STATIC
VOID
PromoteMemoryResource (
VOID
@ -115,7 +113,6 @@ PromoteMemoryResource (
@return None. The range is added to the memory map
**/
STATIC
VOID
CoreAddRange (
IN EFI_MEMORY_TYPE Type,
@ -129,7 +126,6 @@ CoreAddRange (
temporary descriptor stack to heap.
**/
STATIC
VOID
CoreFreeMemoryMapStack (
VOID
@ -151,7 +147,6 @@ CoreFreeMemoryMapStack (
specified type.
**/
STATIC
EFI_STATUS
CoreConvertPages (
IN UINT64 Start,
@ -165,7 +160,6 @@ CoreConvertPages (
@param Entry The entry to remove
**/
STATIC
VOID
RemoveMemoryMapEntry (
MEMORY_MAP *Entry
@ -184,7 +178,6 @@ RemoveMemoryMapEntry (
@return The Memory map descriptor dequed from the mFreeMemoryMapEntryList
**/
STATIC
MEMORY_MAP *
AllocateMemoryMapEntry (
VOID
@ -222,7 +215,6 @@ CoreReleaseMemoryLock (
Find untested but initialized memory regions in GCD map and convert them to be DXE allocatable.
**/
STATIC
VOID
PromoteMemoryResource (
VOID
@ -449,7 +441,6 @@ CoreAddMemoryDescriptor (
@return None. The range is added to the memory map
**/
STATIC
VOID
CoreAddRange (
IN EFI_MEMORY_TYPE Type,
@ -542,7 +533,6 @@ CoreAddRange (
temporary descriptor stack to heap.
**/
STATIC
VOID
CoreFreeMemoryMapStack (
VOID
@ -621,7 +611,6 @@ CoreFreeMemoryMapStack (
@param Entry The entry to remove
**/
STATIC
VOID
RemoveMemoryMapEntry (
MEMORY_MAP *Entry
@ -652,7 +641,6 @@ RemoveMemoryMapEntry (
@return The Memory map descriptor dequed from the mFreeMemoryMapEntryList
**/
STATIC
MEMORY_MAP *
AllocateMemoryMapEntry (
VOID
@ -705,7 +693,6 @@ AllocateMemoryMapEntry (
specified type.
**/
STATIC
EFI_STATUS
CoreConvertPages (
IN UINT64 Start,
@ -898,7 +885,6 @@ CoreConvertPages (
@return The base address of the range, or 0 if the range was not found
**/
STATIC
UINT64
CoreFindFreePagesI (
IN UINT64 MaxAddress,
@ -1019,7 +1005,6 @@ CoreFindFreePagesI (
@return The base address of the range, or 0 if the range was not found.
**/
STATIC
UINT64
FindFreePages (
IN UINT64 MaxAddress,

View File

@ -1,8 +1,7 @@
/** @file
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
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
@ -110,7 +109,6 @@ CoreInitializePool (
@return Pointer of Corresponding pool head.
**/
STATIC
POOL *
LookupPoolHead (
IN EFI_MEMORY_TYPE MemoryType

View File

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

View File

@ -1,8 +1,7 @@
/** @file
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
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

View File

@ -1,8 +1,7 @@
/** @file
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
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

View File

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

View File

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