From c142fe6fda7d09e929c9706b444cdc13ed5e72f3 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Fri, 28 Jun 2024 08:26:19 +0200 Subject: IMP: Feature Pack #1 - Process scheduler. - System calls. - ACPI support. - Driver kit. - Filesystem support. - Program loader. - newstd/herror APIs. Signed-off-by: Amlal EL Mahrouss --- Comm/compile_flags.txt | 3 +++ Comm/herror.hxx | 8 ++++---- Comm/newstd.hxx | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 Comm/compile_flags.txt (limited to 'Comm') diff --git a/Comm/compile_flags.txt b/Comm/compile_flags.txt new file mode 100644 index 00000000..e1f07ac3 --- /dev/null +++ b/Comm/compile_flags.txt @@ -0,0 +1,3 @@ +-I./ +-I../Kerne; +-std=c++20 diff --git a/Comm/herror.hxx b/Comm/herror.hxx index 8cf15d17..e5042b60 100644 --- a/Comm/herror.hxx +++ b/Comm/herror.hxx @@ -8,6 +8,10 @@ #include +#define DbgOk() (kLastError == kErrorSuccess) +#define DbgFailed() (kLastError != kErrorSuccess) +#define DbgLastError() kLastError + typedef SInt32 HError; inline constexpr HError kErrorSuccess = 0; @@ -39,8 +43,4 @@ inline constexpr HError kErrorAsync = 57; inline constexpr HError kErrorNonBlocking = 58; inline constexpr HError kErrorUnimplemented = 0; -#define DbgOk() (kLastError == kErrorSuccess) -#define DbgFailed() (kLastError != kErrorSuccess) -#define DbgLastError() kLastError - inline HError kLastError = 0; diff --git a/Comm/newstd.hxx b/Comm/newstd.hxx index a56d1993..51216296 100644 --- a/Comm/newstd.hxx +++ b/Comm/newstd.hxx @@ -136,7 +136,7 @@ public: }; /** -This class contains an URL +@brief This class contains an URL */ class NURL { -- cgit v1.2.3