From nobody Mon Feb 9 22:38:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+43429+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43429+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1562661647; cv=none; d=zoho.com; s=zohoarc; b=FdzZfqabZTCzcVfSLTIshq4cA7q7ugZpdMlP+1mBLbdQ8VPlMPZq0oWOIZeezqPPbKWpxMCd5H+qBKGglUvskVwhFOeYrPUrcrK2Zshe469BKXWJWpbhBV1qufreogKEKRfJqYPaNkeG3U8G9QjTFaXz+NhYf2PRcWlGYZM1R9I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562661647; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=h9ITon68j1PzDVg7HBcdIu13WXJkuxkrkcoPri8gUUg=; b=B7i+5hdNDIBj3fgPBsIUyLy/V+pkliQaGiCJikkQgJjWYGdiQKKsC8df7445gITwiVUh25DkvI7WrTc2anjA6nxfrigh11Qk097ipVIMADhafySSeLwaGk+G5vIv8EieaVHBzvnKtFjRA0wr6kIl1jrOSEEPiC+bnqX93deaA0U= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43429+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1562661646991335.2234408501532; Tue, 9 Jul 2019 01:40:46 -0700 (PDT) Return-Path: X-Received: from mga02.intel.com (mga02.intel.com []) by groups.io with SMTP; Tue, 09 Jul 2019 01:40:46 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 01:40:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,470,1557212400"; d="scan'208";a="185865609" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga001.fm.intel.com with ESMTP; 09 Jul 2019 01:40:06 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu , Ray Ni , Star Zeng , Liming gao , Sean Brogan , Michael Turner , Bret Barkelew Subject: [edk2-devel] [PATCH V2 3/4] MdeModulePkg: Add gEdkiiCommonEventProtocolGuid for creating event Date: Tue, 9 Jul 2019 16:39:55 +0800 Message-Id: <20190709083956.13024-4-zhichao.gao@intel.com> In-Reply-To: <20190709083956.13024-1-zhichao.gao@intel.com> References: <20190709083956.13024-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,zhichao.gao@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1562661646; bh=GEY4DNI0j1YcLVkGTy2BOTREovoltMgGq4ESZWuGhMU=; h=Cc:Date:From:Reply-To:Subject:To; b=iiEt8zYBs5QZi01o5xeVZ5FWapTedakXsyQvWbiDX0a047FWsk9QN1FiJpr/Jr/8E5L HAitAjBA+YP0iwb96sjuyzXR63SVsS503LcM9y1uXABPFb6J1IXrb1wAJJU/gF0iRz559 /8n7PeocUf0zNV8td43jQUVnx7ihiVW/gOo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1400 Add common event protocol to support all TPL event: Add the guid and header file of it. Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Signed-off-by: Zhichao Gao --- MdeModulePkg/Include/Protocol/CommonEvent.h | 18 ++++++++++++++++++ MdeModulePkg/MdeModulePkg.dec | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 MdeModulePkg/Include/Protocol/CommonEvent.h diff --git a/MdeModulePkg/Include/Protocol/CommonEvent.h b/MdeModulePkg/Inc= lude/Protocol/CommonEvent.h new file mode 100644 index 0000000000..176be14101 --- /dev/null +++ b/MdeModulePkg/Include/Protocol/CommonEvent.h @@ -0,0 +1,18 @@ +/** @file + Common event protocol would provide a service of event. + + Copyright (c) 2019, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ +#ifndef __COMMON_EVENT_H__ +#define __COMMON_EVENT_H__ + +#include + +typedef struct { + EFI_CREATE_EVENT_EX CreateEventEx; + EFI_WAIT_FOR_EVENT WaitForEvent; +} EDKII_COMMON_EVENT_PROTOCOL; + +#endif diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 354241c2ab..8c746927e5 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -623,6 +623,9 @@ ## Include/Protocol/Cpu2.h gEdkiiCpu2ProtocolGuid =3D { 0x55198405, 0x26C0, 0x4765, {0x8B, 0x7D, 0x= BE, 0x1D, 0xF5, 0xF9, 0x97, 0x12 }} =20 + ## Include/Protocole/CommonEvent.h + gEdkiiCommonEventProtocolGuid =3D { 0x8bfb3718, 0xdb10, 0x4cc1, { 0xa9, = 0xf5, 0x84, 0xae, 0xce, 0xce, 0x99, 0x55 } } + # # [Error.gEfiMdeModulePkgTokenSpaceGuid] # 0x80000001 | Invalid value provided. --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43429): https://edk2.groups.io/g/devel/message/43429 Mute This Topic: https://groups.io/mt/32403451/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-