From 9aabc831fad9e3b83180aa3fa01c8ee09cf0f14a Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 7 Sep 2025 18:02:31 +0200 Subject: feat: update reset function inside `cpu-api.c`, wip xcoff api. Signed-off-by: Amlal El Mahrouss --- src/ppc64/ppc64-uart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ppc64') diff --git a/src/ppc64/ppc64-uart.c b/src/ppc64/ppc64-uart.c index a26a806..9830342 100644 --- a/src/ppc64/ppc64-uart.c +++ b/src/ppc64/ppc64-uart.c @@ -20,7 +20,8 @@ volatile ascii_char_t* const UART0DR = (ascii_char_t*) NB_NS16550_COM1; /// @param /// @return utf_char_t cb_get_char(void) { - while (!(*(((volatile uint8_t*) UART0DR) + 0x05) & 0x01)); + while (!(*(((volatile uint8_t*) UART0DR) + 0x05) & 0x01)) + ; return (utf_char_t) *UART0DR; } -- cgit v1.2.3