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 6630DD80056 for ; Thu, 20 Jul 2023 21:07:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=n2n7awl+dR/4HvfdmdpOgtKevRpSIVkAOdH0VsxYxek=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-Gm-Message-State:X-Google-Smtp-Source:X-Received:X-Received: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=1689887256; v=1; b=eHru09RdCILVD0Mrr+lGX35UGPb0UV5CfaC17FBO1YObb2uyWwaNqVQhdmQr3r0uOvbXO8ym XPQXuwnCAb5FpECYcvCeqhRI0qT9PIfTRDw3YK5hQu4CWAXrmll4fnCqqjQvpWUz9jtVJIawWTq 88KbjqaJcj7RFgjJJQhnnEc8= X-Received: by 127.0.0.2 with SMTP id 6Et0YY7687511xMnHw30GGpj; Thu, 20 Jul 2023 14:07:36 -0700 X-Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.1806.1689887255310684088 for ; Thu, 20 Jul 2023 14:07:35 -0700 X-Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1b9c5e07c1bso9250325ad.2 for ; Thu, 20 Jul 2023 14:07:35 -0700 (PDT) X-Gm-Message-State: sYVIOnhhDBv5CJPYDxPXYpcfx7686176AA= X-Google-Smtp-Source: APBJJlGOmbiWHcazIuPLqRPgu2HIZHzQ6UwHI5eTKpE87DbAaXv6SSLjwW/VtErPFP4xYD/PGeMu3Q== X-Received: by 2002:a17:902:ee82:b0:1b8:6a47:705f with SMTP id a2-20020a170902ee8200b001b86a47705fmr121030pld.69.1689887254558; Thu, 20 Jul 2023 14:07:34 -0700 (PDT) X-Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:37:e07c:3f9b:2f13:3c64]) by smtp.gmail.com with ESMTPSA id d1-20020a170902aa8100b001b9ecee9f81sm1855943plr.129.2023.07.20.14.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 14:07:34 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Mike Turner Subject: [edk2-devel] [PATCH v1 1/4] MdePkg: DelayedDispatch: Correct PPI descriptions Date: Thu, 20 Jul 2023 14:07:25 -0700 Message-ID: <20230720210729.774-2-kuqin12@gmail.com> In-Reply-To: <20230720210729.774-1-kuqin12@gmail.com> References: <20230720210729.774-1-kuqin12@gmail.com> 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,kuqin12@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=eHru09Rd; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4496 PI spec defined the `Register` function input argument `Delay` as output. However, this parameter should be used to define the minmal time delay the callback should fire. Thus it should be an input parameter. This change fixed the argument type. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Co-authored-by: Mike Turner Signed-off-by: Kun Qin --- MdePkg/Include/Ppi/DelayedDispatch.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/MdePkg/Include/Ppi/DelayedDispatch.h b/MdePkg/Include/Ppi/Dela= yedDispatch.h index f9b4fed30fb0..098d57758551 100644 --- a/MdePkg/Include/Ppi/DelayedDispatch.h +++ b/MdePkg/Include/Ppi/DelayedDispatch.h @@ -4,6 +4,7 @@ Provide timed event service in PEI=0D =0D Copyright (c) 2020, American Megatrends International LLC. All rights = reserved.=0D + Copyright (c) Microsoft Corporation.=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D **/=0D =0D @@ -15,7 +16,7 @@ ///=0D #define EFI_DELAYED_DISPATCH_PPI_GUID \=0D { \=0D - 0x869c711d, 0x649c, 0x44fe, { 0x8b, 0x9e, 0x2c, 0xbb, 0x29, 0x11, 0xc3= , 0xe6} } \=0D + 0x869c711d, 0x649c, 0x44fe, { 0x8b, 0x9e, 0x2c, 0xbb, 0x29, 0x11, 0xc3= , 0xe6} \=0D }=0D =0D /**=0D @@ -46,10 +47,10 @@ Register a callback to be called after a minimum delay = has occurred. =0D This service is the single member function of the EFI_DELAYED_DISPATCH_PPI= =0D =0D - @param This Pointer to the EFI_DELAYED_DISPATCH_PPI instance=0D - @param Function Function to call back=0D - @param Context Context data=0D - @param Delay Delay interval=0D + @param[in] This Pointer to the EFI_DELAYED_DISPATCH_PPI instan= ce=0D + @param[in] Function Function to call back=0D + @param[in] Context Context data=0D + @param[in] Delay Delay interval=0D =0D @retval EFI_SUCCESS Function successfully loaded=0D @retval EFI_INVALID_PARAMETER One of the Arguments is not supported= =0D @@ -61,8 +62,8 @@ EFI_STATUS (EFIAPI *EFI_DELAYED_DISPATCH_REGISTER)(=0D IN EFI_DELAYED_DISPATCH_PPI *This,=0D IN EFI_DELAYED_DISPATCH_FUNCTION Function,=0D - IN UINT64 Context,=0D - OUT UINT32 Delay=0D + IN UINT64 Context,=0D + IN UINT32 Delay=0D );=0D =0D ///=0D --=20 2.41.0.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107112): https://edk2.groups.io/g/devel/message/107112 Mute This Topic: https://groups.io/mt/100264776/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-