Reviewed-by: Eric Dong
> -Original Message-
> From: Ni, Ray
> Sent: Friday, July 24, 2020 2:42 PM
> To: devel@edk2.groups.io
> Cc: Kinney, Michael D ; Shao, Ming
> ; Dong, Eric ; Laszlo Ersek
> ; Sean Brogan ; Bret
> Barkelew ; Yao, Jiewen
>
> Subject: [PATCH v2] UefiCpuPkg/MtrrLib/Unit
Reviewed-by: Michael D Kinney
> -Original Message-
> From: Ni, Ray
> Sent: Thursday, July 23, 2020 11:42 PM
> To: devel@edk2.groups.io
> Cc: Kinney, Michael D ;
> Shao, Ming ; Dong, Eric
> ; Laszlo Ersek
> ; Sean Brogan
> ; Bret Barkelew
> ; Yao, Jiewen
>
> Subject: [PATCH v2] UefiCpuPk
On 07/24/20 08:41, Ray Ni wrote:
> Add host based unit tests for the MtrrLib services.
> The BaseLib services AsmCpuid(), AsmReadMsr64(), and
> AsmWriteMsr64() are hooked and provide simple emulation
> of the CPUID leafs and MSRs required by the MtrrLib to
> run as a host based unit test.
>
> Test
Add host based unit tests for the MtrrLib services.
The BaseLib services AsmCpuid(), AsmReadMsr64(), and
AsmWriteMsr64() are hooked and provide simple emulation
of the CPUID leafs and MSRs required by the MtrrLib to
run as a host based unit test.
Test cases are developed for each of the API.
For