);\r
}\r
\r
+#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
+EFI_STATUS\r
+EFIAPI\r
+RuntimeServiceQueryVariableInfo (\r
+ IN UINT32 Attributes,\r
+ OUT UINT64 *MaximumVariableStorageSize,\r
+ OUT UINT64 *RemainingVariableStorageSize,\r
+ OUT UINT64 *MaximumVariableSize\r
+ )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+Arguments:\r
+\r
+Returns:\r
+\r
+--*/\r
+{\r
+ return QueryVariableInfo (\r
+ Attributes,\r
+ MaximumVariableStorageSize,\r
+ RemainingVariableStorageSize,\r
+ MaximumVariableSize,\r
+ &mVariableModuleGlobal->VariableBase[Physical],\r
+ mVariableModuleGlobal->FvbInstance\r
+ );\r
+}\r
+#endif\r
+\r
VOID\r
EFIAPI\r
VariableClassAddressChangeEvent (\r
SystemTable->RuntimeServices->GetVariable = RuntimeServiceGetVariable;\r
SystemTable->RuntimeServices->GetNextVariableName = RuntimeServiceGetNextVariableName;\r
SystemTable->RuntimeServices->SetVariable = RuntimeServiceSetVariable;\r
+#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
+ SystemTable->RuntimeServices->QueryVariableInfo = RuntimeServiceQueryVariableInfo;\r
+#endif\r
\r
//\r
// Now install the Variable Runtime Architectural Protocol on a new handle\r