summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-09-28 17:04:02 +0200
committerGitHub <noreply@github.com>2025-09-28 17:04:02 +0200
commitb9d6c2fffc397cd8dd9f7948be6f17f24d4f4850 (patch)
tree83a84bb609e712fd9a6e049d7e5ebf1e31997aa4 /src/ppc64
parentd41f15b09cc6adce79ce5c698dc5a53ddd7dd5f0 (diff)
parent31eb508f29c88c4468c0b83616561a08521a1878 (diff)
Merge pull request #9 from nekernel-org/dev
v0.0.6: NeBoot
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;
}