summaryrefslogtreecommitdiffhomepage
path: root/DDK/KernelPrint.h
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-06-06 10:27:55 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-06-06 10:27:55 +0000
commit4e75e05a20ddd0dbca982e8f3bc2ea8043ed3a3f (patch)
tree95409c0e32b644578b94a5c230417da684d79dc9 /DDK/KernelPrint.h
parentf5081a8f9a8537ad5be5d639955cd1d0e68a9e1d (diff)
parent9994b8f3f88131f41be1061fb0947177e66dc7b0 (diff)
Merged in MHR-23 (pull request #14)
Draft: MHR-23
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);