summaryrefslogtreecommitdiffhomepage
path: root/DDK/KernelPrint.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-28 11:52:48 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-28 11:52:48 +0200
commit8f262d685126a9a9f68beb6d4002ba30bebae401 (patch)
tree6b4931b8e647bb4b9a8144ce385850eedb086bd9 /DDK/KernelPrint.h
parent9db58da40cfcb6643412bfae25aefc0cd1077f9d (diff)
MHR-23: Improve scheduler code: Dont use 39, write kErrorProcessFault instead.
MHR-23: Improve filesystem structure. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'DDK/KernelPrint.h')
-rw-r--r--DDK/KernelPrint.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/DDK/KernelPrint.h b/DDK/KernelPrint.h
new file mode 100644
index 00000000..135abcc0
--- /dev/null
+++ b/DDK/KernelPrint.h
@@ -0,0 +1,18 @@
+/* -------------------------------------------
+
+ Copyright SoftwareLabs
+
+ Purpose: Kernel Text I/O.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <DDK/KernelString.h>
+
+/// @brief print character into UART.
+DK_EXTERN void kernelPrintChar(const char ch);
+
+/// @brief print string to UART.
+/// @param message UART to transmit.
+DK_EXTERN void kernelPrintStr(const char* message);