From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: eric.dong@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Tue, 28 May 2019 00:04:57 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 00:04:57 -0700 X-ExtLoop1: 1 Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by orsmga005.jf.intel.com with ESMTP; 28 May 2019 00:04:56 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Subject: [Patch v2 0/3] [edk2-platform] Add modules to BoardModulePkg. Date: Tue, 28 May 2019 15:04:51 +0800 Message-Id: <20190528070454.10656-1-eric.dong@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit V2 change: 1. Add platform DSC file to enable build for this package. 2. Add BZ link for the related changes. V1 change: Add new package BoardModulePkg in Platform/Intel folder. This folder used to keep the board generic modules, such as Cmos, BiosId. Add Cmos and BiosId related modules to BoardModulePkg. Eric Dong (3): Maintainers.txt: Add BoardModulePkg in Platform/Intel/ folder. Platform/Intel: Add Cmos related modules to BoardModulePkg Platform/Intel/BoardModulePkg: Add BiosId Module. Maintainers.txt | 4 + .../Intel/BoardModulePkg/BoardModulePkg.dec | 38 ++ .../BoardModulePkg/Include/Guid/BiosId.h | 59 +++ .../Include/Library/BiosIdLib.h | 57 ++ .../Include/Library/CmosAccessLib.h | 106 ++++ .../Include/Library/PlatformCmosAccessLib.h | 68 +++ .../Library/BiosIdLib/DxeBiosIdLib.c | 175 +++++++ .../Library/BiosIdLib/DxeBiosIdLib.inf | 42 ++ .../Library/BiosIdLib/PeiBiosIdLib.c | 191 +++++++ .../Library/BiosIdLib/PeiBiosIdLib.inf | 42 ++ .../Library/CmosAccessLib/CmosAccessLib.c | 486 ++++++++++++++++++ .../Library/CmosAccessLib/CmosAccessLib.inf | 28 + .../CmosAccessLib/CmosAccessLibInternal.h | 35 ++ .../PlatformCmosAccessLibNull.c | 39 ++ .../PlatformCmosAccessLibNull.inf | 23 + 15 files changed, 1393 insertions(+) create mode 100644 Platform/Intel/BoardModulePkg/BoardModulePkg.dec create mode 100644 Platform/Intel/BoardModulePkg/Include/Guid/BiosId.h create mode 100644 Platform/Intel/BoardModulePkg/Include/Library/BiosIdLib.h create mode 100644 Platform/Intel/BoardModulePkg/Include/Library/CmosAccessLib.h create mode 100644 Platform/Intel/BoardModulePkg/Include/Library/PlatformCmosAccessLib.h create mode 100644 Platform/Intel/BoardModulePkg/Library/BiosIdLib/DxeBiosIdLib.c create mode 100644 Platform/Intel/BoardModulePkg/Library/BiosIdLib/DxeBiosIdLib.inf create mode 100644 Platform/Intel/BoardModulePkg/Library/BiosIdLib/PeiBiosIdLib.c create mode 100644 Platform/Intel/BoardModulePkg/Library/BiosIdLib/PeiBiosIdLib.inf create mode 100644 Platform/Intel/BoardModulePkg/Library/CmosAccessLib/CmosAccessLib.c create mode 100644 Platform/Intel/BoardModulePkg/Library/CmosAccessLib/CmosAccessLib.inf create mode 100644 Platform/Intel/BoardModulePkg/Library/CmosAccessLib/CmosAccessLibInternal.h create mode 100644 Platform/Intel/BoardModulePkg/Library/PlatformCmosAccessLibNull/PlatformCmosAccessLibNull.c create mode 100644 Platform/Intel/BoardModulePkg/Library/PlatformCmosAccessLibNull/PlatformCmosAccessLibNull.inf -- 2.21.0.windows.1