diff options
| author | snowpiaoling <1972997989@qq.com> | 2026-08-07 07:30:07 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-08-30 04:48:20 +0300 |
| commit | 15a434a2bdac898e68d21cd659969abcadec37cb (patch) | |
| tree | 09b8f348707208d422dc8697f1a5b7cb0d237457 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | cc47dd45611737bda2cd9c6920e6a6b1bef6e4bb (diff) | |
| download | edk2-15a434a2bdac898e68d21cd659969abcadec37cb.tar.xz | |
EmbeddedPkg: normalize mmc interaction latency to 1us
Upon inspecting the source code, I found that the original implementation
of eMMC timeout in MmcDxe is affected by the CPU execution speed. With
higher-performance CPUs, the actual timeout duration would be shortened as
it was not based on wall clock.
Add a precise 1us delay to each iteration of the wait loop to make the
actual duration of the delay clock- and performance-agnostic.
Signed-off-by: snowpiaoling <1972997989@qq.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
