diff options
author | Lou, Yun <Yun.Lou@intel.com> | 2021-08-06 22:37:13 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-08-09 03:01:17 +0000 |
commit | 4de77ae9890d241271f543e9195ab3516f3abec6 (patch) | |
tree | 1954d140f22caf0f881326e75db76b1924db9e5a /UefiCpuPkg/Include | |
parent | 97fdcbda4e69d6f085ec3f2bd9d29a04af2b50a4 (diff) | |
download | edk2-4de77ae9890d241271f543e9195ab3516f3abec6.zip edk2-4de77ae9890d241271f543e9195ab3516f3abec6.tar.gz edk2-4de77ae9890d241271f543e9195ab3516f3abec6.tar.bz2 |
UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3508
Sort the CpuCacheInfo array by CPU package ID, core type, cache level
and cache type.
Signed-off-by: Jason Lou <yun.lou@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Diffstat (limited to 'UefiCpuPkg/Include')
-rw-r--r-- | UefiCpuPkg/Include/Library/CpuCacheInfoLib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Include/Library/CpuCacheInfoLib.h b/UefiCpuPkg/Include/Library/CpuCacheInfoLib.h index a66152b..3422997 100644 --- a/UefiCpuPkg/Include/Library/CpuCacheInfoLib.h +++ b/UefiCpuPkg/Include/Library/CpuCacheInfoLib.h @@ -59,7 +59,7 @@ typedef struct { } CPU_CACHE_INFO;
/**
- Get CpuCacheInfo data array.
+ Get CpuCacheInfo data array. The array is sorted by CPU package ID, core type, cache level and cache type.
@param[in, out] CpuCacheInfo Pointer to the CpuCacheInfo array.
@param[in, out] CpuCacheInfoCount As input, point to the length of response CpuCacheInfo array.
|