summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorsnowpiaoling <1972997989@qq.com>2026-08-07 07:30:07 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-08-30 04:48:20 +0300
commit15a434a2bdac898e68d21cd659969abcadec37cb (patch)
tree09b8f348707208d422dc8697f1a5b7cb0d237457 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentcc47dd45611737bda2cd9c6920e6a6b1bef6e4bb (diff)
downloadedk2-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/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions