-/*++\r
+/**@file\r
\r
Copyright (c) 2006, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
This driver parses the mMiscSubclassDataTable structure and reports\r
any generated data to the DataHub.\r
\r
---*/\r
-\r
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
+**/\r
\r
#include "MiscSubclassDriver.h"\r
\r
+BOOLEAN mDone = FALSE;\r
+\r
//\r
//\r
//\r
LogRecordData was NULL.\r
--*/\r
{\r
- STATIC BOOLEAN Done = FALSE;\r
-\r
//\r
// First check for invalid parameters.\r
//\r
//\r
// Is this the first time through this function?\r
//\r
- if (!Done) {\r
+ if (!mDone) {\r
//\r
// Yes, this is the first time. Inspect/Change the contents of the\r
// RecordData structure.\r
//\r
// ((EFI_MISC_SYSTEM_MANUFACTURER_DATA *)RecordData)->SystemWakeupType = %%TBD\r
//\r
- // Set Done flag to TRUE for next pass through this function.\r
+ // Set mDone flag to TRUE for next pass through this function.\r
// Set *LogRecordData to TRUE so data will get logged to Data Hub.\r
//\r
- Done = TRUE;\r
+ mDone = TRUE;\r
*LogRecordData = TRUE;\r
} else {\r
//\r
- // No, this is the second time. Reset the state of the Done flag\r
+ // No, this is the second time. Reset the state of the mDone flag\r
// to FALSE and tell the data logger that there is no more data\r
// to be logged for this record type. If any memory allocations\r
// were made by earlier passes, they must be released now.\r
//\r
- Done = FALSE;\r
+ mDone = FALSE;\r
*LogRecordData = FALSE;\r
}\r
\r