summaryrefslogtreecommitdiffhomepage
path: root/src/ppc64/ppc64-uart.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-29 05:08:35 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-29 05:08:35 +0100
commit51cd421030c52aa16e76811d3497d9a7ab2b1bec (patch)
treec6f01df11faf8fc37993e0f342e4c82cab724555 /src/ppc64/ppc64-uart.c
parentfcc66b0fa04b25b206e702110ed652fd4c113823 (diff)
xcoff: import xcoff changes from nekernel to fw.
meta: alongside other important changes (such as indexing boot offset as volatile) Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/ppc64/ppc64-uart.c')
-rw-r--r--src/ppc64/ppc64-uart.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ppc64/ppc64-uart.c b/src/ppc64/ppc64-uart.c
index 0a01857..c908eae 100644
--- a/src/ppc64/ppc64-uart.c
+++ b/src/ppc64/ppc64-uart.c
@@ -9,10 +9,10 @@
/// BUGS: 0
-#define SYS_NS16550_COM1 (SYS_UART_BASE + 0x4500)
-#define SYS_NS16550_COM2 (SYS_UART_BASE + 0x4600)
+#define CB_NS16550_COM1 (CB_UART_BASE + 0x4500)
+#define CB_NS16550_COM2 (CB_UART_BASE + 0x4600)
-volatile ascii_char_t* const UART0DR = (ascii_char_t*)SYS_NS16550_COM1;
+volatile ascii_char_t* const UART0DR = (ascii_char_t*)CB_NS16550_COM1;
/* this file handles the UART */