diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-28 05:16:21 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-28 05:16:21 +0000 |
commit | 20515cd1aa640ad62b69883b8f9b546103db502b (patch) | |
tree | 6f490b54990c86e851a5b94b15046ce7b195a885 /EdkNt32Pkg/Library | |
parent | 8c395f7b13997a5991cfe4435ccd36496d86d4cb (diff) | |
download | edk2-platforms-20515cd1aa640ad62b69883b8f9b546103db502b.tar.xz |
Introduce a new Guid with CName gEfiGenericPlatformVariableGuid to pair with those Unicode String names, which are forbidden to pair with gEfiGlobalVariableGuid according to newest Uefi Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2145 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg/Library')
-rw-r--r-- | EdkNt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.msa | 3 | ||||
-rw-r--r-- | EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/EdkNt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.msa b/EdkNt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.msa index ae5b9f5ee5..c2f8d5bd16 100644 --- a/EdkNt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.msa +++ b/EdkNt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLib.msa @@ -105,6 +105,9 @@ <GuidCNames Usage="ALWAYS_CONSUMED">
<GuidCName>gEfiShellFileGuid</GuidCName>
</GuidCNames>
+ <GuidCNames Usage="ALWAYS_CONSUMED">
+ <GuidCName>gEfiGenericPlatformVariableGuid</GuidCName>
+ </GuidCNames>
</Guids>
<Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
diff --git a/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c b/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c index 4748ffca51..f0ac12e0d6 100644 --- a/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c +++ b/EdkNt32Pkg/Library/EdkGenericBdsLib/Performance.c @@ -376,7 +376,7 @@ Done: gRT->SetVariable (
L"PerfDataMemAddr",
- &gEfiGlobalVariableGuid,
+ &gEfiGenericPlatformVariableGuid,
EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
sizeof (UINT32),
(VOID *) &mAcpiLowMemoryBase
|