diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-02-20 10:53:10 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-02-24 13:58:53 +0000 |
commit | 7f029e1b31ee854f7963124080372d8355d745b8 (patch) | |
tree | 48e842f94a871b38065ebe99dd49bcb8eaea6a4c /BaseTools/Source/Python/Common/Identification.py | |
parent | 8bdb0221152c762b9209cadaf238a1498dc04695 (diff) | |
download | edk2-7f029e1b31ee854f7963124080372d8355d745b8.tar.gz edk2-7f029e1b31ee854f7963124080372d8355d745b8.tar.bz2 edk2-7f029e1b31ee854f7963124080372d8355d745b8.zip |
MdePkg: introduce DxeRuntimeDebugLibSerialPort
Introduce a variant of BaseDebugLibSerialPort that behaves correctly with
regards to the use of the serial port after ExitBootServices(). At boot
time, all DEBUG() prints and ASSERT() invocations are executed normally.
At runtime, DEBUG() prints are dropped entirely, and ASSERT()s omit the
serial output as well, and only perform the configured post-ASSERT()
action, i.e., issue a CPU breakpoint or enter a deadloop.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Identification.py')
0 files changed, 0 insertions, 0 deletions