summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64/ppc64-uart.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-07-10 14:05:58 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-07-10 14:06:19 +0200
commite49b26f4f6a38139f78c7085b922ba7c01b03524 (patch)
tree0be63e6b14da689f096f1fc0df0234153306dab8 /src/ppc64/ppc64-uart.c
parentcc7dd25e0cfef57825ddcffa6d0786222369b6ad (diff)
feat: Extend Explicit Partition Map specs and reference header to
allocate a new ID for SNU. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/ppc64/ppc64-uart.c')
-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 c16657d..b3b5717 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*) CB_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;
}