mirror of https://github.com/acidanthera/audk.git
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@6295 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7829726671
commit
fe467413d2
|
@ -20,11 +20,11 @@
|
||||||
#include <Library/MemoryAllocationLib.h>
|
#include <Library/MemoryAllocationLib.h>
|
||||||
#include <Library/ExtractGuidedSectionLib.h>
|
#include <Library/ExtractGuidedSectionLib.h>
|
||||||
|
|
||||||
STATIC GUID *mExtractHandlerGuidTable;
|
GUID *mExtractHandlerGuidTable;
|
||||||
STATIC UINT32 mNumberOfExtractHandler = 0;
|
UINT32 mNumberOfExtractHandler = 0;
|
||||||
|
|
||||||
STATIC EXTRACT_GUIDED_SECTION_DECODE_HANDLER *mExtractDecodeHandlerTable;
|
EXTRACT_GUIDED_SECTION_DECODE_HANDLER *mExtractDecodeHandlerTable;
|
||||||
STATIC EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable;
|
EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Construtor allocates the global memory to store the registered guid and Handler list.
|
Construtor allocates the global memory to store the registered guid and Handler list.
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
#include <Library/BaseMemoryLib.h>
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
|
||||||
STATIC VOID *mHobList = NULL;
|
VOID *mHobList = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The constructor function caches the pointer to HOB list.
|
The constructor function caches the pointer to HOB list.
|
||||||
|
|
|
@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
//
|
//
|
||||||
// Globle varible to cache pointer to Smbus protocol.
|
// Globle varible to cache pointer to Smbus protocol.
|
||||||
//
|
//
|
||||||
STATIC EFI_SMBUS_HC_PROTOCOL *mSmbus = NULL;
|
EFI_SMBUS_HC_PROTOCOL *mSmbus = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The constructor function caches the pointer to Smbus protocol.
|
The constructor function caches the pointer to Smbus protocol.
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include <Library/PeiServicesTablePointerLib.h>
|
#include <Library/PeiServicesTablePointerLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
|
||||||
STATIC CONST EFI_PEI_SERVICES **gPeiServices;
|
CONST EFI_PEI_SERVICES **gPeiServices;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The function cache the pointer of PEI services to global variable.
|
The function cache the pointer of PEI services to global variable.
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
//
|
//
|
||||||
// Template for an end-of-device path node.
|
// Template for an end-of-device path node.
|
||||||
//
|
//
|
||||||
STATIC EFI_DEVICE_PATH_PROTOCOL mEndDevicePath = {
|
EFI_DEVICE_PATH_PROTOCOL mEndDevicePath = {
|
||||||
END_DEVICE_PATH_TYPE,
|
END_DEVICE_PATH_TYPE,
|
||||||
END_ENTIRE_DEVICE_PATH_SUBTYPE,
|
END_ENTIRE_DEVICE_PATH_SUBTYPE,
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include <Library/BaseMemoryLib.h>
|
#include <Library/BaseMemoryLib.h>
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
|
||||||
STATIC EFI_DEVICE_PATH_UTILITIES_PROTOCOL *mDevicePathUtilities = NULL;
|
EFI_DEVICE_PATH_UTILITIES_PROTOCOL *mDevicePathUtilities = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The constructor function caches the pointer to DevicePathUtilites protocol.
|
The constructor function caches the pointer to DevicePathUtilites protocol.
|
||||||
|
@ -361,4 +361,3 @@ FileDevicePath (
|
||||||
|
|
||||||
return DevicePath;
|
return DevicePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
#include "UefiIfrLibraryInternal.h"
|
#include "UefiIfrLibraryInternal.h"
|
||||||
|
|
||||||
STATIC CONST EFI_FORM_BROWSER2_PROTOCOL *mFormBrowser2 = NULL;
|
CONST EFI_FORM_BROWSER2_PROTOCOL *mFormBrowser2 = NULL;
|
||||||
STATIC CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL;
|
CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function locate FormBrowser2 protocols for later usage.
|
This function locate FormBrowser2 protocols for later usage.
|
||||||
|
|
|
@ -18,10 +18,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
/// Driver Lib Module Globals
|
/// Driver Lib Module Globals
|
||||||
///
|
///
|
||||||
|
|
||||||
STATIC EFI_EVENT mEfiVirtualNotifyEvent;
|
EFI_EVENT mEfiVirtualNotifyEvent;
|
||||||
STATIC EFI_EVENT mEfiExitBootServicesEvent;
|
EFI_EVENT mEfiExitBootServicesEvent;
|
||||||
STATIC BOOLEAN mEfiGoneVirtual = FALSE;
|
BOOLEAN mEfiGoneVirtual = FALSE;
|
||||||
STATIC BOOLEAN mEfiAtRuntime = FALSE;
|
BOOLEAN mEfiAtRuntime = FALSE;
|
||||||
EFI_RUNTIME_SERVICES *mRT;
|
EFI_RUNTIME_SERVICES *mRT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue