summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni
diff options
context:
space:
mode:
authorChris Fernald <chfernal@microsoft.com>2025-05-24 21:51:04 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-05-30 20:26:58 +0300
commitaa980f0e12691a68d51d280bbba015afdab0eb0a (patch)
treea34da778891c89cf0dbe94a09a271e1ea7617caa /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni
parent6b1b031cefa641c9303dd772dcce634867d2be7f (diff)
downloadedk2-aa980f0e12691a68d51d280bbba015afdab0eb0a.tar.xz
ArmPlatformPkg: PL011SerialPort Empty Rx buffer during init.
When calling to initialize the PL011 Uart, Rx buffer is not cleared. In a 16550 uart device, during initialization, the 16550's Fifo control registers would be used to clear the Rx buffer, but no such register exists on PL011. Modify the PL011 SerialPortInitialize function to clear anything that was in the Rx buffer after initialization is completed. This will prevent any stale data from being interpreted as valid data. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni')
0 files changed, 0 insertions, 0 deletions