]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix a bug in HII thunk that ThunkCallback does not support callback for a text tag...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 1 Feb 2010 04:06:24 +0000 (04:06 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 1 Feb 2010 04:06:24 +0000 (04:06 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9895 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c

index 2969f6b34671b099f668c7ae51c453a22378c23a..8f3c31f09254e99ad2b9a86777fa8566f4227543 100644 (file)
@@ -3,7 +3,7 @@
   by HII Thunk Modules. These Config access Protocols are used to thunk UEFI Config \r
   Access Callback to Framework HII Callback and EFI Variable Set/Get operations.\r
   \r
-Copyright (c) 2008, Intel Corporation\r
+Copyright (c) 2008 - 2010, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -700,6 +700,10 @@ CreateIfrDataArray (
         Size = StrSize (String);\r
       }\r
       break;\r
+\r
+    case EFI_IFR_TYPE_ACTION:\r
+      Size = 0;\r
+      break;\r
       \r
     default:\r
       ASSERT (FALSE);\r
@@ -755,6 +759,10 @@ CreateIfrDataArray (
           FreePool (String);\r
         }\r
         break;\r
+\r
+      case EFI_IFR_TYPE_ACTION:\r
+        break;\r
+\r
       default:\r
         ASSERT (FALSE);\r
         break;\r