From nobody Tue Feb 10 04:17:25 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+41304+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+41304+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1558674286; cv=none; d=zoho.com; s=zohoarc; b=lAlDcmZgUIn1YRORv0fRnwpNMkSUIsWulZtNQ3MmD7+m6IbkwZr2HlYhfRwjkvZRD1eniykryOVsVByrVwh9sW3gkHoVMSDPyzOjnZrlmBu9Ouql+j5Zb/FasSOqAOCEOSscPJ1S272+7cnEytAP6NMAm1dRsfsSUEGbSR7AmWw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558674286; 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=acP1SSJlzhvtML1NW7x8EiXg9IYUpGsXT8Onf7IrCqk=; b=K9CytF7n190q9GNjI19mCOJKNG1nvR38k7hzer6pc5VaoiQDbR+UFBG0wydgSelvJjyEgFVptcDaZQLJU5NasdtA9mnWtwuovDOklj+z+oyG+GKcRjXn1VXRhpKch+BlZO1AUy2yy3a618l5R1xRwvcbDvIg66DXFV/DMh77FC8= 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+41304+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 1558674286807880.7017323843945; Thu, 23 May 2019 22:04:46 -0700 (PDT) Return-Path: X-Received: from mga03.intel.com (mga03.intel.com []) by groups.io with SMTP; Thu, 23 May 2019 22:04: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 orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 May 2019 22:04:45 -0700 X-ExtLoop1: 1 X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga001.fm.intel.com with ESMTP; 23 May 2019 22:04:43 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Sean Brogan , Michael D Kinney , Liming Gao , Michael Turner , Bret Barkelew Subject: [edk2-devel] [PATCH 2/6] MdePkg/BaseLib.h: Add EnableInterruptsAndSleep function declare Date: Fri, 24 May 2019 13:04:33 +0800 Message-Id: <20190524050437.38616-3-zhichao.gao@intel.com> In-Reply-To: <20190524050437.38616-1-zhichao.gao@intel.com> References: <20190524050437.38616-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=1558674286; bh=2t0WtHJb68ZCXZi/cxrXikgtceN6muxVkQVc6KYmOwo=; h=Cc:Date:From:Reply-To:Subject:To; b=sTx3jKb386RU73Wrsehpk/izHNdipWN1TO9layhVPm8qAcqIaWseXA/BDs5mhfRGzRM mpJhPMbBa6PZrebf7kiyBMsEEVA7s7Ej6YDXgwK0kTvqKvMp/oDJQkxeVTAmuseG3kAAa xOX0wsDj7T65cGBcR04brS6528Le0Hr/7Ps= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Sean Brogan REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1400 Add EnableInterruptsAndSleep function. Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Michael Turner Cc: Bret Barkelew Signed-off-by: Zhichao Gao --- MdePkg/Include/Library/BaseLib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/Base= Lib.h index ebd7dd274c..8ab2c12328 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -5033,6 +5033,17 @@ LongJump ( ); =20 =20 +/** + Enables CPU interrupts and then waits for an interrupt to arrive. + +**/ +VOID +EFIAPI +EnableInterruptsAndSleep ( + VOID + ); + + /** Enables CPU interrupts. =20 --=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 (#41304): https://edk2.groups.io/g/devel/message/41304 Mute This Topic: https://groups.io/mt/31741729/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-