audk/MdeModulePkg
Henz, Patrick fbbf4206c1 MdeModulePkg/XhciDxe: Non-zero start/stop values in XhcGetElapsedTicks
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4578

The implementation of XhcGetElapsedTicks did not account for
non-zero start and stop values for the performance counter
timer, potentially resulting in an incorrect elapsed tick
count getting returned to the caller. Account for non-zero
start and stop values when calculating the elapsed tick
count.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Patrick Henz <patrick.henz@hpe.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Hao A Wu <hao.a.wu@intel.com>
Message-ID: <c3038878c4d30c54e60cce7192cf1aa60c30ad2e.1698770394.git.patrick.henz@hpe.com>

Resolve rebase conflict from commit ff4c49a5ee ("MdeModulePkg/Bus: Fix
XhciDxe Linker Issues", 2023-12-06): rename "mPerformanceCounter*" to
"mXhciPerformanceCounter*".

Signed-off-by: Laszlo Ersek <laszlo.ersek@posteo.net>
2024-12-22 22:10:54 +00:00
..
Application MdeModulePkg/UiApp: fix HiiOpCodeHandle leak 2024-12-06 17:13:17 +00:00
Bus MdeModulePkg/XhciDxe: Non-zero start/stop values in XhcGetElapsedTicks 2024-12-22 22:10:54 +00:00
Core MdeModulePkg DxeMain: Add late initialization for Debug Agent. 2024-12-16 20:49:45 +00:00
Include MdeModulePkg DxeMain: Add late initialization for Debug Agent. 2024-12-16 20:49:45 +00:00
Library MdeModulePkg/BrotliCustomDecompressLib: Make the library buildable 2024-12-11 08:38:27 +08:00
Logo MdeModulePkg/Logo: Add LoongArch64 architecture. 2022-10-14 02:16:33 +00:00
Test MdeModulePkg/Bus/Pci/NvmExpressDxe: Nvm Express Media Sanitize Protocol. 2024-08-29 18:51:07 +00:00
Universal MdeModulePkg SmbiosMeasurementDxe: Release TableAddress after use 2024-12-11 09:51:45 +08:00
MdeModulePkg.ci.yaml MdeModulePkg/Bus/Pci/NvmExpressDxe: Nvm Express Media Sanitize Protocol. 2024-08-29 18:51:07 +00:00
MdeModulePkg.dec MdeModulePkg: Added PPI support in UFS PEI driver. 2024-10-28 05:39:52 +00:00
MdeModulePkg.dsc MdePkg: MdeLibs.dsc.inc: Apply StackCheckLibNull to All Module Types 2024-11-13 21:01:46 +00:00
MdeModulePkg.uni MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory 2024-04-09 07:03:08 +00:00
MdeModulePkgExtra.uni