diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-05-23 15:50:11 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-30 09:14:48 +0100 |
commit | cafdceb66e154f1ac204be935f9030959827bd1f (patch) | |
tree | 99e3b01483853eb6fda2461ca72cdaf1093fd13d /docs | |
parent | 121dac93afd2f600485618d9b493892e2fca8fa8 (diff) | |
download | xen-cafdceb66e154f1ac204be935f9030959827bd1f.tar.gz xen-cafdceb66e154f1ac204be935f9030959827bd1f.tar.bz2 xen-cafdceb66e154f1ac204be935f9030959827bd1f.zip |
xen/arm: avoid lost characters with early_printk
Introduce the function early_flush to wait until the UART has finished to
transfer the character.
When early printk is enabled, it's possible to loose the last characters if:
- the UART is initialized by the UART driver
- Xen hang
This is result to a truncated message. To be sure that the message is fully
transfered by early_printk, add a call to early_flush. This will avoid lost
characters.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions