summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-09-07 18:02:31 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-09-07 18:02:31 +0200
commit9aabc831fad9e3b83180aa3fa01c8ee09cf0f14a (patch)
tree3f4e558bda2b9feb933662549bac2be48a11300d /src/ppc64
parentefe0d71bd816f57d6d3338f04348c07dd8aade46 (diff)
feat: update reset function inside `cpu-api.c`, wip xcoff api.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/ppc64')
-rw-r--r--src/ppc64/ppc64-uart.c3
1 files changed, 2 insertions, 1 deletions
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;
}