diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-08 08:09:47 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-08 08:09:47 +0000 |
commit | 211cc6e5cd697c9ca9d32a8e4f6938494c7aaa0d (patch) | |
tree | 1c7e47a3b7b1c334c9024ed6dd640f16dacd366b /MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | |
parent | 5b127d7565ba66a9dc8502938f3efd2a131946ff (diff) | |
download | edk2-platforms-211cc6e5cd697c9ca9d32a8e4f6938494c7aaa0d.tar.xz |
Add new "Refresh guid" opcode, also add sample code to use it.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11767 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c index 469b274b44..d13a89797a 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c @@ -2069,6 +2069,14 @@ ParseOpCodes ( break;
//
+ // Refresh guid.
+ //
+ case EFI_IFR_REFRESH_ID_OP:
+ ASSERT (CurrentStatement != NULL);
+ CopyMem (&CurrentStatement->RefreshGuid, &((EFI_IFR_REFRESH_ID *) OpCodeData)->RefreshEventGroupId, sizeof (EFI_GUID));
+ break;
+
+ //
// Modal tag
//
case EFI_IFR_MODAL_TAG_OP:
|