summaryrefslogtreecommitdiffhomepage
path: root/DriverKit/KernelPrint.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-27 20:45:46 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-27 20:45:46 +0200
commit9db58da40cfcb6643412bfae25aefc0cd1077f9d (patch)
treec6664fc649968ca1be7ddc59dfe3e9a7dd0f3ebc /DriverKit/KernelPrint.h
parentce84bea215424ff36a2c18cab67835edfa8f71b5 (diff)
MHR-23: Improve project structure, make it better.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'DriverKit/KernelPrint.h')
-rw-r--r--DriverKit/KernelPrint.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/DriverKit/KernelPrint.h b/DriverKit/KernelPrint.h
new file mode 100644
index 00000000..7bf0dda9
--- /dev/null
+++ b/DriverKit/KernelPrint.h
@@ -0,0 +1,18 @@
+/* -------------------------------------------
+
+ Copyright SoftwareLabs
+
+ Purpose: Kernel Text I/O.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <DriverKit/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);