public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "IanX Kuo" <ianx.kuo@intel.com>
To: devel@edk2.groups.io
Cc: amy.chan@intel.com, ray.ni@intel.com, IanX Kuo <ianx.kuo@intel.com>
Subject: [PATCH v4 0/4] Add function QuickSort into MdePkg/BaseLib
Date: Mon,  4 Oct 2021 12:46:23 +0800	[thread overview]
Message-ID: <20211004044627.1810-1-ianx.kuo@intel.com> (raw)

From: IanX Kuo <ianx.kuo@intel.com>

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3675

1. MdePkg/BaseLib: Add QuickSort function
2. MdeModulePkg/SortLib: Use QuickSort instead of QuickSortWorker
3. CryptLib/CryptLib: Remove duplicate QuickSortWorker
4. CpuCacheInfoLib: Remove MdeModulePkg dependency

IanX Kuo (4):
  MdePkg/BaseLib: Add QuickSort function on BaseLib
  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         | 117 +----------------
 .../Library/UefiSortLib/UefiSortLib.c         | 118 +-----------------
 MdePkg/Include/Library/BaseLib.h              |  49 ++++++++
 MdePkg/Library/BaseLib/BaseLib.inf            |   1 +
 MdePkg/Library/BaseLib/QuickSort.c            | 117 +++++++++++++++++
 .../Library/BaseLib/UnitTestHostBaseLib.inf   |   3 +-
 .../Library/CpuCacheInfoLib/CpuCacheInfoLib.c |   5 +-
 .../CpuCacheInfoLib/DxeCpuCacheInfoLib.inf    |   2 -
 .../CpuCacheInfoLib/InternalCpuCacheInfoLib.h |   2 -
 .../CpuCacheInfoLib/PeiCpuCacheInfoLib.inf    |   2 -
 11 files changed, 185 insertions(+), 323 deletions(-)
 create mode 100644 MdePkg/Library/BaseLib/QuickSort.c

-- 
2.30.0.windows.1


             reply	other threads:[~2021-10-04  4:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04  4:46 IanX Kuo [this message]
2021-10-04  4:46 ` [PATCH v4 1/4] MdePkg/BaseLib: Add QuickSort function on BaseLib IanX Kuo
2021-10-04  4:46 ` [PATCH v4 2/4] MdeModulePkg/SortLib: " IanX Kuo
2021-10-04  4:46 ` [PATCH v4 3/4] CryptoPkg/CryptLib: " IanX Kuo
2021-10-04  4:46 ` [PATCH v4 4/4] UefiCpuPkg/CpuCacheInfoLib: " IanX Kuo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211004044627.1810-1-ianx.kuo@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox