|author||Nick Maniscalco <email@example.com>||Sat Jun 25 00:20:20 2022 +0000|
|committer||CQ Bot <firstname.lastname@example.org>||Sat Jun 25 00:20:20 2022 +0000|
[kernel][arm64] Make zx_debug_read block instead of SHOULD_WAIT zx_debug_read is supposed to block until at least one character is read. However, prior to this CL, on arm64, zx_debug_read would return ZX_ERR_SHOULD_WAIT when no characters were available to be read. This change fixes the arm64 side to match the x86 side. Change motmot uart driver to propagate the return status from ReadChar rather than return ZX_ERR_INTERNAL. Fixed: 103213 Run-All-Tests: true Change-Id: I3f01e775f890ae9fbe7da09888ee54cb64ce8bb7 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/693507 Reviewed-by: Gianfranco Valentino <email@example.com> Reviewed-by: Travis Geiselbrecht <firstname.lastname@example.org> Fuchsia-Auto-Submit: Nick Maniscalco <email@example.com> Commit-Queue: Auto-Submit <firstname.lastname@example.org>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
See Getting Started.