From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id DE50C74003C for ; Fri, 22 Dec 2023 06:33:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xB4g7PyP7SVUYUld3I/Ke+J4cVTilOb471xJvMbs/oo=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1703226781; v=1; b=NMCfx3KzjFL+JSVfVkxlRAALE3NJyEvyuHbTCC5hTUCDps6WCySw0jahbwSSdq34C9qx8A3n xvcdH1/aXxav5OOOeKCkNqhvFYuMZzBD7WNfuvkQ5NJJ/SlkGrCjKSUM4rzRL9oWLmIcWKVszwA hqU1/h16CZLNxyDbE4S5rFtE= X-Received: by 127.0.0.2 with SMTP id NCpwYY7687511xdNsy9yh75T; Thu, 21 Dec 2023 22:33:01 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.17597.1703226780725181509 for ; Thu, 21 Dec 2023 22:33:01 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="375570895" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="375570895" X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 22:32:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="776964903" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="776964903" X-Received: from srenx-mobl1.ccr.corp.intel.com ([10.239.216.131]) by orsmga002.jf.intel.com with ESMTP; 21 Dec 2023 22:32:48 -0800 From: "SuqiangX Ren" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Yi Li Subject: [edk2-devel] [PATCH 1/1] MdePkg: Update the comments of callback in EFI_FORM_BROWSER2_PROTOCOL Date: Fri, 22 Dec 2023 14:32:30 +0800 Message-Id: <3fe3cc1abeac93dc8c31818a059191b56ae320ef.1703226639.git.suqiangx.ren@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,suqiangx.ren@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: W1yRrZP4YFF2c5AKYysVHEp8x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=NMCfx3Kz; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Add status code return for BROWSER callback in EFI_FORM_BROWSER2_PROTOCOL to align with UEFI spec 2.10. REF: UEFI spec 2.10 Table 35.6.3 Signed-off-by: RenSuqiang Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Yi Li --- MdePkg/Include/Protocol/FormBrowser2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Protocol/FormBrowser2.h b/MdePkg/Include/Protocol/FormBrowser2.h index 436a7723c1da..bc214caa7d93 100644 --- a/MdePkg/Include/Protocol/FormBrowser2.h +++ b/MdePkg/Include/Protocol/FormBrowser2.h @@ -138,10 +138,13 @@ EFI_STATUS @retval EFI_SUCCESS The results have been distributed or are awaiting distribution. - @retval EFI_OUT_OF_RESOURCES The ResultsDataSize specified + @retval EFI_BUFFER_TOO_SMALL The ResultsDataSize specified was too small to contain the results data. + @retval EFI_UNSUPPORTED Uncommitted browser state is not available + at the current stage of execution. + **/ typedef EFI_STATUS -- 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112837): https://edk2.groups.io/g/devel/message/112837 Mute This Topic: https://groups.io/mt/103314459/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-