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 v3 0/3] Add function QuickSort into MdePkg/BaseLib
Date: Sun, 17 Oct 2021 06:34:03 +0800	[thread overview]
Message-ID: <20211016223406.935-1-ianx.kuo@intel.com> (raw)

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

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)

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 |   8 +-
 .../CpuCacheInfoLib/DxeCpuCacheInfoLib.inf    |   2 -
 .../CpuCacheInfoLib/InternalCpuCacheInfoLib.h |   1 -
 .../CpuCacheInfoLib/PeiCpuCacheInfoLib.inf    |   2 -
 7 files changed, 17 insertions(+), 319 deletions(-)

-- 
2.30.0.windows.1


             reply	other threads:[~2021-10-16 22:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-16 22:34 IanX Kuo [this message]
2021-10-16 22:34 ` [PATCH v3 1/3] MdeModulePkg/SortLib: Add QuickSort function on BaseLib IanX Kuo
2021-10-18  1:58   ` IanX Kuo
2021-10-18  2:50   ` 回复: [edk2-devel] " gaoliming
2021-10-16 22:34 ` [PATCH v3 2/3] CryptoPkg/CryptLib: " IanX Kuo
2021-10-17  2:23   ` Yao, Jiewen
2021-10-16 22:34 ` [PATCH v3 3/3] UefiCpuPkg/CpuCacheInfoLib: " IanX Kuo
2021-10-18  1:57   ` IanX Kuo
2021-10-18  3:42   ` Ni, Ray
2021-10-18  3:57     ` 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=20211016223406.935-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