summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal/StatusCode
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:08:09 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:08:09 +0000
commit819d1488930d30b30bb467fcb3bf0f05b28d675e (patch)
treee7b823354b941131c3321d53f05fb9de55af9ba9 /IntelFrameworkModulePkg/Universal/StatusCode
parentdf1f748c87c8f7a6f3a691fda2015c20f24da364 (diff)
downloadedk2-platforms-819d1488930d30b30bb467fcb3bf0f05b28d675e.tar.xz
Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6298 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/StatusCode')
-rw-r--r--IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c9
-rw-r--r--IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCodeCommon.c3
-rw-r--r--IntelFrameworkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c1
-rw-r--r--IntelFrameworkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c1
-rw-r--r--IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c2
5 files changed, 1 insertions, 15 deletions
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c
index 0936c093eb..221c561bbc 100644
--- a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c
+++ b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c
@@ -17,18 +17,13 @@
//
// Initialize FIFO to cache records.
//
-STATIC
LIST_ENTRY mRecordsFifo = INITIALIZE_LIST_HEAD_VARIABLE (mRecordsFifo);
-STATIC
LIST_ENTRY mRecordsBuffer = INITIALIZE_LIST_HEAD_VARIABLE (mRecordsBuffer);
-STATIC
UINT32 mLogDataHubStatus = 0;
-STATIC
EFI_EVENT mLogDataHubEvent;
//
// Cache data hub protocol.
//
-STATIC
EFI_DATA_HUB_PROTOCOL *mDataHubProtocol;
@@ -41,7 +36,6 @@ EFI_DATA_HUB_PROTOCOL *mDataHubProtocol;
@retval !NULL Point to buffer of record.
**/
-STATIC
DATA_HUB_STATUS_CODE_DATA_RECORD *
AcquireRecordBuffer (
VOID
@@ -97,7 +91,6 @@ AcquireRecordBuffer (
@return NULL the FIFO of record is empty.
**/
-STATIC
DATA_HUB_STATUS_CODE_DATA_RECORD *
RetrieveRecord (
VOID
@@ -131,7 +124,6 @@ RetrieveRecord (
from AcquireRecordBuffer.
**/
-STATIC
VOID
ReleaseRecord (
DATA_HUB_STATUS_CODE_DATA_RECORD *RecordData
@@ -274,7 +266,6 @@ DataHubStatusCodeReportWorker (
@param Context Context of the event.
**/
-STATIC
VOID
EFIAPI
LogDataHubEventCallBack (
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCodeCommon.c b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCodeCommon.c
index eecf38db58..b1f5ebff09 100644
--- a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCodeCommon.c
+++ b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCodeCommon.c
@@ -17,7 +17,7 @@
//
// Event for Exit Boot Services Callback
//
-STATIC EFI_EVENT mExitBootServicesEvent = NULL;
+EFI_EVENT mExitBootServicesEvent = NULL;
/**
Report status code to all supported device.
@@ -59,7 +59,6 @@ ReportDispatcher (
//
// Declaration of status code protocol.
//
-STATIC
EFI_STATUS_CODE_PROTOCOL mEfiStatusCodeProtocol = {
ReportDispatcher
};
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
index fbf533950b..166e70567d 100644
--- a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
+++ b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
@@ -15,7 +15,6 @@
#include "DxeStatusCode.h"
#include "DebugInfo.h"
-STATIC
EFI_SERIAL_IO_PROTOCOL *mSerialIoProtocol;
/**
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c b/IntelFrameworkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c
index 442fc064b6..c8ebabbec5 100644
--- a/IntelFrameworkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c
+++ b/IntelFrameworkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c
@@ -25,7 +25,6 @@
@return Always return pointer of memory status code packet.
**/
-STATIC
MEMORY_STATUSCODE_PACKET_HEADER *
CreateMemoryStatusCodePacket (
UINT16 PacketIndex
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c b/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c
index 51c127bca1..5b4553da3f 100644
--- a/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c
+++ b/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c
@@ -16,12 +16,10 @@
#include "PeiStatusCode.h"
-STATIC
EFI_PEI_PROGRESS_CODE_PPI mStatusCodePpi = {
ReportDispatcher
};
-STATIC
EFI_PEI_PPI_DESCRIPTOR mStatusCodePpiDescriptor = {
EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST,
&gEfiPeiStatusCodePpiGuid,