summaryrefslogtreecommitdiffhomepage
path: root/Comm
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-19 10:37:44 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-19 10:38:04 +0200
commit720e24cea004356da037648b92fd7eb02f3c74a8 (patch)
tree462800937d7563b8bea12a0716f4ad007982e881 /Comm
parentb820eb6a5a7948597d81998137b05ddc0eb0dbad (diff)
kernel: add newstd.hxx and new syscalls.
includes: - Exit program with code. - Last exit code. acpi: fix invalid C cast. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Comm')
-rw-r--r--Comm/newstd.hxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/Comm/newstd.hxx b/Comm/newstd.hxx
new file mode 100644
index 00000000..9bf690cd
--- /dev/null
+++ b/Comm/newstd.hxx
@@ -0,0 +1,29 @@
+/* -------------------------------------------
+
+ Copyright Zeta Electronics Corporation.
+
+ File: newstd.hxx.
+ Purpose: NewOS standard interface.
+
+------------------------------------------- */
+
+#pragma once
+
+#ifdef __KERNEL__
+#error !!! including header in kernel mode !!!
+#endif // __KERNEL__
+
+class NUser; /// @brief User application class.
+class NCallback; /// @brief User callback class.
+
+#define IMPORT_CXX extern "C++"
+#define IMPORT_C extern "C"
+
+/**
+@brief a class which helps the user do application I/O.
+*/
+class NUser
+{
+public:
+
+}; \ No newline at end of file