Introduce a new Guid with CName gEfiGenericPlatformVariableGuid to pair with those...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Dec 2006 05:16:21 +0000 (05:16 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Dec 2006 05:16:21 +0000 (05:16 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2145 6f19259b-4bc3-4df7-8a09-765794883524

EdkNt32Pkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
EdkNt32Pkg/Dxe/PlatformBds/PlatformBds.msa
EdkNt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.msa
EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c

index 3f648b7..c186fee 100644 (file)
@@ -76,7 +76,7 @@ Returns:
     CallbackInfo->Data.VideoBIOS = (UINT8) (UINTN) (((EFI_IFR_DATA_ENTRY *)(DataArray + 1))->Data);\r
     gRT->SetVariable (\r
           L"VBIOS",\r
-          &gEfiGlobalVariableGuid,\r
+          &gEfiGenericPlatformVariableGuid,\r
           EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE,\r
           sizeof (UINT8),\r
           &CallbackInfo->Data.VideoBIOS\r
@@ -395,7 +395,7 @@ Returns:
   //\r
   VideoOption = BdsLibGetVariableAndSize (\r
                   L"VBIOS",\r
-                  &gEfiGlobalVariableGuid,\r
+                  &gEfiGenericPlatformVariableGuid,\r
                   &VideoOptionSize\r
                   );\r
   if (NULL == VideoOption) {\r
index 3508095..748340d 100644 (file)
     <GuidCNames Usage="ALWAYS_CONSUMED">\r
       <GuidCName>gEfiGlobalVariableGuid</GuidCName>\r
     </GuidCNames>\r
+    <GuidCNames Usage="ALWAYS_CONSUMED">\r
+      <GuidCName>gEfiGenericPlatformVariableGuid</GuidCName>\r
+    </GuidCNames>\r
     <GuidCNames Usage="ALWAYS_CONSUMED">\r
       <GuidCName>gEfiFlashMapHobGuid</GuidCName>\r
     </GuidCNames>\r
index ae5b9f5..c2f8d5b 100644 (file)
     <GuidCNames Usage="ALWAYS_CONSUMED">\r
       <GuidCName>gEfiShellFileGuid</GuidCName>\r
     </GuidCNames>\r
+    <GuidCNames Usage="ALWAYS_CONSUMED">\r
+      <GuidCName>gEfiGenericPlatformVariableGuid</GuidCName>\r
+    </GuidCNames>\r
   </Guids>\r
   <Externs>\r
     <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
index 4748ffc..f0ac12e 100644 (file)
@@ -376,7 +376,7 @@ Done:
 \r
   gRT->SetVariable (\r
         L"PerfDataMemAddr",\r
-        &gEfiGlobalVariableGuid,\r
+        &gEfiGenericPlatformVariableGuid,\r
         EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,\r
         sizeof (UINT32),\r
         (VOID *) &mAcpiLowMemoryBase\r