From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BAC3D2195407C for ; Mon, 24 Apr 2017 07:14:54 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 24 Apr 2017 07:14:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,244,1488873600"; d="scan'208";a="849215671" Received: from jyao1-mobl.ccr.corp.intel.com ([10.254.215.27]) by FMSMGA003.fm.intel.com with ESMTP; 24 Apr 2017 07:14:53 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Date: Mon, 24 Apr 2017 22:14:42 +0800 Message-Id: <1493043286-19452-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH V2 0/4] Add SmmIoLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2017 14:14:54 -0000 ==== V2 ==== Remove ASSERT(FALSE). (From Jeff Fan) ==== V1 ==== This patch series add SmmIoLib. It is the first part of bugzillar 491. https://bugzilla.tianocore.org/show_bug.cgi?id=491 Move generic function - OpalIsValidMmioSpace from OPAL driver to library. This SmmIoLib is similar to SmmMemLib. The second part of bugzillar 491 is to update consumer SecurityPkg/Tcg/Opal/OpalPasswordSmm. It will be handled in future patch series. Jiewen Yao (4): MdePkg/SmmIoLib: Add header file. MdePkg/SmmIoLib: Add sample instance. MdePkg/dec: Add SmmIoLib. MdePkg/dsc: add SmmIoLib MdePkg/Include/Library/SmmIoLib.h | 42 +++ MdePkg/Library/SmmIoLib/SmmIoLib.c | 330 ++++++++++++++++++++ MdePkg/Library/SmmIoLib/SmmIoLib.inf | 53 ++++ MdePkg/Library/SmmIoLib/SmmIoLib.uni | 23 ++ MdePkg/MdePkg.dec | 4 + MdePkg/MdePkg.dsc | 1 + 6 files changed, 453 insertions(+) create mode 100644 MdePkg/Include/Library/SmmIoLib.h create mode 100644 MdePkg/Library/SmmIoLib/SmmIoLib.c create mode 100644 MdePkg/Library/SmmIoLib/SmmIoLib.inf create mode 100644 MdePkg/Library/SmmIoLib/SmmIoLib.uni -- 2.7.4.windows.1