From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 C75F320945BEF for ; Thu, 7 Sep 2017 22:15:49 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Sep 2017 22:18:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,360,1500966000"; d="scan'208";a="1216212598" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.14]) by fmsmga002.fm.intel.com with ESMTP; 07 Sep 2017 22:18:41 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Fri, 8 Sep 2017 13:18:23 +0800 Message-Id: <1504847905-384-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch 0/2] Add CalculateCrc32() API in MdePkg BaseLib 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: Fri, 08 Sep 2017 05:15:50 -0000 Add CalculateCrc32() as the public API for code sharing. Liming Gao (2): MdePkg BaseLib: Add new API CalculateCrc32() MdeModulePkg: Update modules to consume CalculateCrc32() MdeModulePkg/Core/RuntimeDxe/Crc32.c | 74 +----- MdeModulePkg/Core/RuntimeDxe/Runtime.c | 5 - MdeModulePkg/Core/RuntimeDxe/Runtime.h | 9 - .../PeiCrc32GuidedSectionExtractLib.c | 108 +------- .../PeiCrc32GuidedSectionExtractLib.inf | 3 +- MdePkg/Include/Library/BaseLib.h | 18 ++ MdePkg/Library/BaseLib/CheckSum.c | 294 +++++++++++++++++++++ 7 files changed, 323 insertions(+), 188 deletions(-) -- 2.8.0.windows.1