From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web11.31660.1634529153035590716 for ; Sun, 17 Oct 2021 20:52:33 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: ianx.kuo@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10140"; a="228112647" X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="228112647" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2021 20:52:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="719160502" Received: from ikuox-desk1.gar.corp.intel.com ([10.227.107.18]) by fmsmga005.fm.intel.com with ESMTP; 17 Oct 2021 20:52:30 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: amy.chan@intel.com, ray.ni@intel.com, IanX Kuo Subject: [PATCH v4 0/3] Add function QuickSort into MdePkg/BaseLib Date: Mon, 18 Oct 2021 11:52:19 +0800 Message-Id: <20211018035222.110-1-ianx.kuo@intel.com> X-Mailer: git-send-email 2.30.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: IanX Kuo 1. MdeModulePkg/SortLib: Use QuickSort instead of QuickSortWorker 1-1: Drop cast (V2) 2. CryptLib/CryptLib: Remove duplicate QuickSortWorker 2-1: Drop cast (V3) 3. CpuCacheInfoLib: Remove MdeModulePkg dependency 3-1: Drop cast (V2) 3-2: Add runtime check (V2) 3-3: Drop assert check (V3) 3-4: Remove allocate pool (V4) IanX Kuo (3): MdeModulePkg/SortLib: Add QuickSort function on BaseLib CryptoPkg/CryptLib: Add QuickSort function on BaseLib UefiCpuPkg/CpuCacheInfoLib: Add QuickSort function on BaseLib .../Library/BaseCryptLib/SysCall/CrtWrapper.c | 92 +------------- .../Library/BaseSortLib/BaseSortLib.c | 115 +---------------- .../Library/UefiSortLib/UefiSortLib.c | 116 +----------------- .../Library/CpuCacheInfoLib/CpuCacheInfoLib.c | 3 +- .../CpuCacheInfoLib/DxeCpuCacheInfoLib.inf | 2 - .../CpuCacheInfoLib/InternalCpuCacheInfoLib.h | 1 - .../CpuCacheInfoLib/PeiCpuCacheInfoLib.inf | 2 - 7 files changed, 12 insertions(+), 319 deletions(-) -- 2.30.0.windows.1