summaryrefslogtreecommitdiffhomepage
path: root/dev/LibSCI/SCI.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-14 11:52:02 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-14 11:54:18 +0100
commit99826c21b9da1c3a74fd8b3ebc08c7f8dbfadd30 (patch)
tree6cfa8f7d18ed018917ea5609aeba1d870cd4e27a /dev/LibSCI/SCI.h
parent39d565d61bb9f9926806bb87abb48f93d0b981f8 (diff)
T& Labs's ZKA, Multi-Processor Operating System.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibSCI/SCI.h')
-rw-r--r--dev/LibSCI/SCI.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/dev/LibSCI/SCI.h b/dev/LibSCI/SCI.h
index c5ad3066..a50b0901 100644
--- a/dev/LibSCI/SCI.h
+++ b/dev/LibSCI/SCI.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
-Copyright (C) 2024, t& Corporation, all rights reserved.
+Copyright (C) 2024, t& Labs, all rights reserved.
File: SCI.h
Purpose: System Calls.
@@ -123,9 +123,18 @@ IMPORT_C UInt32 MmFillCRC32Heap(_Input VoidPtr heap);
/// @brief Copy memory region.
IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len);
+/// @brief Compare memory regions.
+IMPORT_C SInt64 MmCmpMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len);
+
/// @brief Fill memory region.
IMPORT_C VoidPtr MmFillMemory(_Input VoidPtr dest, _Input SizeT len, _Input UInt8 value);
+/// @brief Compare string regions.
+IMPORT_C SInt64 MmStrCmp(_Input const Char* dest, _Input const Char* src);
+
+/// @brief Get length of string.
+IMPORT_C SInt64 MmStrLen(const Char* str);
+
// ------------------------------------------------------------------------
// Error API.
// ------------------------------------------------------------------------
@@ -267,4 +276,14 @@ IMPORT_C SInt32 CdOpenTray(Void);
IMPORT_C SInt32 CdCloseTray(Void);
+// ------------------------------------------------------------------------------------------ //
+// Console API.
+// ------------------------------------------------------------------------------------------ //
+
+IMPORT_C SInt32 ConOut(IOObject file /* nullptr to direct to stdout */, const Char* fmt, ...);
+
+IMPORT_C SInt32 ConIn(IOObject file /* nullptr to direct to stdout */, const Char* fmt, ...);
+
+IMPORT_C IOObject ConGet(const Char* path);
+
#endif // ifndef SCIKIT_FOUNDATION_H