mirror of https://github.com/acidanthera/audk.git
Minor coding style adjustment for DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5196 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
366219abde
commit
db405d1b89
|
@ -76,7 +76,7 @@ VOID *mFwVolEventRegistration;
|
|||
//
|
||||
// List of file types supported by dispatcher
|
||||
//
|
||||
static EFI_FV_FILETYPE mDxeFileTypes[] = {
|
||||
STATIC EFI_FV_FILETYPE mDxeFileTypes[] = {
|
||||
EFI_FV_FILETYPE_DRIVER,
|
||||
EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER,
|
||||
EFI_FV_FILETYPE_DXE_CORE,
|
||||
|
|
|
@ -2269,7 +2269,7 @@ DxeMainUefiDecompressGetInfo (
|
|||
This protocol is designed so that the decompression algorithm can be
|
||||
implemented without using any memory services. As a result, the Decompress()
|
||||
Function is not allowed to call AllocatePool() or AllocatePages() in its
|
||||
implementation. It is the caller¡¯s responsibility to allocate and free the
|
||||
implementation. It is the caller's responsibility to allocate and free the
|
||||
Destination and Scratch buffers.
|
||||
If the compressed source data specified by Source and SourceSize is
|
||||
sucessfully decompressed into Destination, then EFI_SUCCESS is returned. If
|
||||
|
@ -2355,7 +2355,7 @@ OpenSectionStream (
|
|||
callee allocated) of *Buffer.
|
||||
@param AuthenticationStatus A pointer to a caller-allocated UINT32 that
|
||||
indicates the authentication status of the
|
||||
output buffer. If the input section¡¯s
|
||||
output buffer. If the input section's
|
||||
GuidedSectionHeader.Attributes field
|
||||
has the EFI_GUIDED_SECTION_AUTH_STATUS_VALID
|
||||
bit as clear, AuthenticationStatus must return
|
||||
|
|
|
@ -840,7 +840,7 @@ DxeMainUefiDecompressGetInfo (
|
|||
This protocol is designed so that the decompression algorithm can be
|
||||
implemented without using any memory services. As a result, the Decompress()
|
||||
Function is not allowed to call AllocatePool() or AllocatePages() in its
|
||||
implementation. It is the caller¡¯s responsibility to allocate and free the
|
||||
implementation. It is the caller's responsibility to allocate and free the
|
||||
Destination and Scratch buffers.
|
||||
If the compressed source data specified by Source and SourceSize is
|
||||
sucessfully decompressed into Destination, then EFI_SUCCESS is returned. If
|
||||
|
|
|
@ -220,7 +220,7 @@ typedef struct {
|
|||
CHAR16 *GuidString;
|
||||
} GUID_TO_STRING_PROTOCOL_ENTRY;
|
||||
|
||||
static const GUID_TO_STRING_PROTOCOL_ENTRY MissingProtocols[] = {
|
||||
STATIC CONST GUID_TO_STRING_PROTOCOL_ENTRY MissingProtocols[] = {
|
||||
{ &gEfiSecurityArchProtocolGuid, (CHAR16 *)L"Security" },
|
||||
{ &gEfiCpuArchProtocolGuid, (CHAR16 *)L"CPU" },
|
||||
{ &gEfiMetronomeArchProtocolGuid, (CHAR16 *)L"Metronome" },
|
||||
|
|
|
@ -64,12 +64,12 @@ CoreInsertEventTimer (
|
|||
// Internal data
|
||||
//
|
||||
|
||||
static LIST_ENTRY mEfiTimerList = INITIALIZE_LIST_HEAD_VARIABLE (mEfiTimerList);
|
||||
static EFI_LOCK mEfiTimerLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL - 1);
|
||||
static EFI_EVENT mEfiCheckTimerEvent;
|
||||
STATIC LIST_ENTRY mEfiTimerList = INITIALIZE_LIST_HEAD_VARIABLE (mEfiTimerList);
|
||||
STATIC EFI_LOCK mEfiTimerLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL - 1);
|
||||
STATIC EFI_EVENT mEfiCheckTimerEvent;
|
||||
|
||||
static EFI_LOCK mEfiSystemTimeLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL);
|
||||
static UINT64 mEfiSystemTime = 0;
|
||||
STATIC EFI_LOCK mEfiSystemTimeLock = EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL);
|
||||
STATIC UINT64 mEfiSystemTime = 0;
|
||||
|
||||
//
|
||||
// Timer functions
|
||||
|
|
|
@ -17,13 +17,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include <DxeMain.h>
|
||||
|
||||
|
||||
static EFI_DEBUG_IMAGE_INFO_TABLE_HEADER mDebugInfoTableHeader = {
|
||||
STATIC EFI_DEBUG_IMAGE_INFO_TABLE_HEADER mDebugInfoTableHeader = {
|
||||
0, // volatile UINT32 UpdateStatus;
|
||||
0, // UINT32 TableSize;
|
||||
NULL // EFI_DEBUG_IMAGE_INFO *EfiDebugImageInfoTable;
|
||||
};
|
||||
|
||||
static EFI_SYSTEM_TABLE_POINTER *mDebugTable = NULL;
|
||||
STATIC EFI_SYSTEM_TABLE_POINTER *mDebugTable = NULL;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -272,7 +272,7 @@ FreeChildNode (
|
|||
stream.
|
||||
@param AuthenticationStatus A pointer to a caller-allocated UINT32 that
|
||||
indicates the authentication status of the
|
||||
output buffer. If the input section¡¯s
|
||||
output buffer. If the input section's
|
||||
GuidedSectionHeader.Attributes field
|
||||
has the EFI_GUIDED_SECTION_AUTH_STATUS_VALID
|
||||
bit as clear, AuthenticationStatus must return
|
||||
|
@ -531,7 +531,7 @@ OpenSectionStream (
|
|||
callee allocated) of *Buffer.
|
||||
@param AuthenticationStatus A pointer to a caller-allocated UINT32 that
|
||||
indicates the authentication status of the
|
||||
output buffer. If the input section¡¯s
|
||||
output buffer. If the input section's
|
||||
GuidedSectionHeader.Attributes field
|
||||
has the EFI_GUIDED_SECTION_AUTH_STATUS_VALID
|
||||
bit as clear, AuthenticationStatus must return
|
||||
|
@ -1326,7 +1326,7 @@ FreeChildNode (
|
|||
stream.
|
||||
@param AuthenticationStatus A pointer to a caller-allocated UINT32 that
|
||||
indicates the authentication status of the
|
||||
output buffer. If the input section¡¯s
|
||||
output buffer. If the input section's
|
||||
GuidedSectionHeader.Attributes field
|
||||
has the EFI_GUIDED_SECTION_AUTH_STATUS_VALID
|
||||
bit as clear, AuthenticationStatus must return
|
||||
|
|
Loading…
Reference in New Issue