Return carriage
diff --git a/arch/arm64/kvm/hyp/include/nvhe/debug/uart.h b/arch/arm64/kvm/hyp/include/nvhe/debug/uart.h
index ec875da..0d0f61b 100644
--- a/arch/arm64/kvm/hyp/include/nvhe/debug/uart.h
+++ b/arch/arm64/kvm/hyp/include/nvhe/debug/uart.h
@@ -68,6 +68,8 @@
b 9993b
9993: mov w\tmpnr1, '\n'
hyp_putc w\tmpnr1, \tmpnr2
+ mov w\tmpnr1, '\r'
+ hyp_putc w\tmpnr1, \tmpnr2
.endm
.macro __hyp_putx4, xnr, tmpnr
@@ -99,6 +101,8 @@
b 9995b
9995: mov w\tmpnr1, '\n'
hyp_putc w\tmpnr1, \tmpnr2
+ mov w\tmpnr1, '\r'
+ hyp_putc w\tmpnr1, \tmpnr2
.endm
#else /* __ASSEMBLY__ */
@@ -148,6 +152,7 @@
while (*s)
hyp_putc(*s++);
hyp_putc('\n');
+ hyp_putc('\r');
}
static inline void __hyp_putx4(unsigned int x)
@@ -171,6 +176,7 @@
__hyp_putx4(x >> (4 * i));
hyp_putc('\n');
+ hyp_putc('\r');
}
static inline void hyp_putx32(unsigned int x)