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 29C04D801B4 for ; Tue, 10 Oct 2023 00:19:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xH6QnT69Kb+ttLK9i1yyhE9Ozn9bdIVnPUsSnAm+Wms=; 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=1696897142; v=1; b=M+PPekt2MOVFsao5WVWZ83n6Igv8xvKq9IPPOvEk0f1b6AsYqeC8wYKFFz94MDhnlU7+ipME ygCNpiIGOseKa8LEY4CSdx5bIdiUoN+I2qdoL48KCJ39GTY/18+IZfBC/cZfJBJa+e8TH+vwx/B MbBewD5CGk4WHugi2imdlYcw= X-Received: by 127.0.0.2 with SMTP id jetlYY7687511xM4Xc7z3EVD; Mon, 09 Oct 2023 17:19:02 -0700 X-Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.79649.1696897142297258676 for ; Mon, 09 Oct 2023 17:19:02 -0700 X-Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1c60778a3bfso42426605ad.1 for ; Mon, 09 Oct 2023 17:19:02 -0700 (PDT) X-Gm-Message-State: xjRSDFENlgDJO2TabKpsdGNDx7686176AA= X-Google-Smtp-Source: AGHT+IHDG/wf9C6zKX4UXv5JZMxycV73xGAK9Do5NStbTssgE7i1mpbfHprtDc6ouvomPErxrsJwDw== X-Received: by 2002:a17:903:2645:b0:1c7:3156:ca3d with SMTP id je5-20020a170903264500b001c73156ca3dmr16089384plb.57.1696897141572; Mon, 09 Oct 2023 17:19:01 -0700 (PDT) X-Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:3:ad0d:fa50:c6ca:fefc]) by smtp.gmail.com with ESMTPSA id a12-20020a170902ee8c00b001acae9734c0sm10214809pld.266.2023.10.09.17.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 17:19:00 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Mike Turner Subject: [edk2-devel] [PATCH v2 1/4] MdePkg: DelayedDispatch: Correct PPI descriptions Date: Mon, 9 Oct 2023 17:18:52 -0700 Message-ID: <20231010001856.1567-2-kuqin12@gmail.com> In-Reply-To: <20231010001856.1567-1-kuqin12@gmail.com> References: <20231010001856.1567-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=M+PPekt2; 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 --- Notes: v2: - No review, no change. 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.42.0.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109467): https://edk2.groups.io/g/devel/message/109467 Mute This Topic: https://groups.io/mt/101865808/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-