Adjust the code so that global variable placed at beginning of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8172 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -26,6 +26,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
CONST EFI_GUID gZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
|
||||
|
||||
//
|
||||
// Module Global:
|
||||
// Since this driver will only ever produce one instance of the Logging Hub
|
||||
// protocol you are not required to dynamically allocate the PrivateData.
|
||||
//
|
||||
DATA_HUB_INSTANCE mPrivateData;
|
||||
|
||||
//
|
||||
// Worker functions private to this file
|
||||
//
|
||||
@ -531,12 +538,6 @@ GetNextDataRecord (
|
||||
|
||||
return Record;
|
||||
}
|
||||
//
|
||||
// Module Global:
|
||||
// Since this driver will only ever produce one instance of the Logging Hub
|
||||
// protocol you are not required to dynamically allocate the PrivateData.
|
||||
//
|
||||
DATA_HUB_INSTANCE mPrivateData;
|
||||
|
||||
/**
|
||||
|
||||
|
Reference in New Issue
Block a user