From d2f9134515361097c2d63ca404665217ea74d50d Mon Sep 17 00:00:00 2001 From: rsun3 Date: Mon, 1 Feb 2010 04:06:24 +0000 Subject: [PATCH] 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 --- .../FrameworkHiiOnUefiHiiThunk/ConfigAccess.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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; -- 2.39.2