summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-01 04:06:24 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-01 04:06:24 +0000
commitd2f9134515361097c2d63ca404665217ea74d50d (patch)
tree179578fb05446e18b031c01c828a7b936bb8732c /EdkCompatibilityPkg
parentfa6d3ee4913eaf3b0fd9ddb8a4e3b618584bd965 (diff)
downloadedk2-platforms-d2f9134515361097c2d63ca404665217ea74d50d.tar.xz
Fix a bug in HII thunk that ThunkCallback does not support callback for a text tag with interactive flag in a Framework form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9895 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c
index 2969f6b346..8f3c31f092 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c
@@ -3,7 +3,7 @@
by HII Thunk Modules. These Config access Protocols are used to thunk UEFI Config
Access Callback to Framework HII Callback and EFI Variable Set/Get operations.
-Copyright (c) 2008, Intel Corporation
+Copyright (c) 2008 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -700,6 +700,10 @@ CreateIfrDataArray (
Size = StrSize (String);
}
break;
+
+ case EFI_IFR_TYPE_ACTION:
+ Size = 0;
+ break;
default:
ASSERT (FALSE);
@@ -755,6 +759,10 @@ CreateIfrDataArray (
FreePool (String);
}
break;
+
+ case EFI_IFR_TYPE_ACTION:
+ break;
+
default:
ASSERT (FALSE);
break;