x86/boot: fix early error output
authorDavid Esler <drumandstrum@gmail.com>
Fri, 20 Oct 2017 07:29:29 +0000 (09:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Oct 2017 07:29:29 +0000 (09:29 +0200)
commit78e693cc123296db2f79e792cf474544c1ffd064
tree3f893e75865f9b170ab6ea5eb5d43068a3ddb9b5
parent4a1d823f70ac8182cbc5a4bd3c76beeb952e9683
x86/boot: fix early error output

In 9180f5365524 a change was made to the send_chr function to take in
C-strings and output a character at a time until a NULL was encountered.
However, when there is no VGA there is no code to increment the current
character position resulting in an endless loop of the first character.
This moves the (implicit) increment such that it occurs in all cases.

Signed-off-by: David Esler <drumandstrum@gmail.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
[jb: correct title and description]
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
xen/arch/x86/boot/head.S