The table count module level symbols are now reset when
executing the core method, rather than the shell command
wrapper.
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Tomas Pilar <tomas.pilar@arm.com>
EfiConfigurationTable = NULL;\r
OriginalAttribute = 0;\r
\r
+ // Reset Table counts\r
+ mTableCount = 0;\r
+ mBinTableCount = 0;\r
+\r
// Reset The error/warning counters\r
ResetErrorCount ();\r
ResetWarningCount ();\r
CONST CHAR16* MandatoryTableSpecStr;\r
CONST CHAR16 *SelectedTableName;\r
\r
- // Set Defaults\r
- mTableCount = 0;\r
- mBinTableCount = 0;\r
+ // Set configuration defaults\r
AcpiConfigSetDefaults ();\r
\r
ShellStatus = SHELL_SUCCESS;\r