]> git.proxmox.com Git - mirror_edk2.git/commit
Framework code may call PreparePacckage with NULL GUID and both IFR and String Packages.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Sep 2008 06:47:08 +0000 (06:47 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Sep 2008 06:47:08 +0000 (06:47 +0000)
commitbc226416097a57790586bd88cc2d3004c48fa64e
tree8014fb7bfbb8dfa498df4e71e070fe90fdda140a
parent8335866b0b47fb67e5f4fef108c8e5d0caf13578
Framework code may call PreparePacckage with NULL GUID and both IFR and String Packages.
    PackageList = PreparePackages (2, NULL, IfrPack, StringPack);

    mHii->NewPack( mHii, PackageList, &HiiHandle );

Framework HII database make use of the formset GUID as ID to retrieve String using

EFI_STATUS
GetStringFromToken (
  IN  EFI_GUID                  *ProducerGuid,
  IN  STRING_REF                Token,
  OUT CHAR16                    **String
  )

Update the code to cache the Formset GUID too.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5896 6f19259b-4bc3-4df7-8a09-765794883524
EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Package.c
EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.c
EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.h