9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4d52f7a28108ba4c22b3b5802c49e65f39a2353f
parent 992b322efd7a298196a164d74f8bcb9a182474eb
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 13 Oct 2020 07:39:18 +0200

fvp: Print return cariage before new line

This is the common order and it can create confusion
when it is done in the reverse order.

Change-Id: I98b08c1b828ef40b6dfb995a05b92347bd917177

Diffstat:
Msrc/os9/arch/arm64/fvp.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/os9/arch/arm64/fvp.c b/src/os9/arch/arm64/fvp.c @@ -33,11 +33,11 @@ putch(int c) ch = c; devwrite(console, &ch, 1); } else { + if (c == '\n') + putch('\r'); while (inm32(early+ 6) & 1<<5) ; outm32(c, early); - if (c == '\n') - putch('\r'); } barrier(DATA);