diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-13 09:09:11 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-13 09:09:11 +0000 |
commit | db405d1b8948cdfdd3719e5d94af5eb8a9526e62 (patch) | |
tree | 716f72c65d938dda1ce15e78663dca9b2fd11af5 /MdeModulePkg | |
parent | 366219abde17df91986cea33d9ea198cd9d12f03 (diff) | |
download | edk2-platforms-db405d1b8948cdfdd3719e5d94af5eb8a9526e62.tar.xz |
Minor coding style adjustment for DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5196 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/DxeMain.h | 4 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/Event/timer.c | 10 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c | 4 | ||||
-rw-r--r-- | MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c | 6 |
7 files changed, 15 insertions, 15 deletions
diff --git a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c index 554a07c42b..5a0efad1b7 100644 --- a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c @@ -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,
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h index 30f7fe33be..63eeeecd74 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.h +++ b/MdeModulePkg/Core/Dxe/DxeMain.h @@ -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
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c index b0a5c60f28..1e600a9877 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c @@ -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
diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c index 42a7a054e6..2c2283d3a0 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c @@ -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" },
diff --git a/MdeModulePkg/Core/Dxe/Event/timer.c b/MdeModulePkg/Core/Dxe/Event/timer.c index 1388512fb8..35ab5874a2 100644 --- a/MdeModulePkg/Core/Dxe/Event/timer.c +++ b/MdeModulePkg/Core/Dxe/Event/timer.c @@ -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
diff --git a/MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c b/MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c index e318b4239f..afe668fe45 100644 --- a/MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c +++ b/MdeModulePkg/Core/Dxe/Misc/DebugImageInfo.c @@ -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;
diff --git a/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c b/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c index 54049cffb6..7ed011cb49 100644 --- a/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c +++ b/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c @@ -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
|