diff options
| author | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-14 21:34:09 +0100 |
|---|---|---|
| committer | Amlal <amlal.elmahrouss@icloud.com> | 2025-02-14 21:34:09 +0100 |
| commit | 0db25895168df6ebb9bd8781e3ffd83d3323b398 (patch) | |
| tree | 4687d3756b875b512360b2f2a4788b73897a8c17 /dev/Kernel/NewKit | |
| parent | cb1c2ac48b29309406580f506765585b13f59852 (diff) | |
A set of patches and necessary changes given to the OS.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/NewKit')
| -rw-r--r-- | dev/Kernel/NewKit/KString.h | 2 | ||||
| -rw-r--r-- | dev/Kernel/NewKit/Macros.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dev/Kernel/NewKit/KString.h b/dev/Kernel/NewKit/KString.h index c0e48d72..dc327f3b 100644 --- a/dev/Kernel/NewKit/KString.h +++ b/dev/Kernel/NewKit/KString.h @@ -16,7 +16,7 @@ namespace Kernel { - /// @brief KString static string class. + /// @brief Kernel string class, not dynamic. class KString final { public: diff --git a/dev/Kernel/NewKit/Macros.h b/dev/Kernel/NewKit/Macros.h index 8673bad1..15d5f2bd 100644 --- a/dev/Kernel/NewKit/Macros.h +++ b/dev/Kernel/NewKit/Macros.h @@ -11,7 +11,7 @@ #endif #ifndef kib_cast -#define kib_cast(X) (Kernel::UInt64)((X)*1024) +#define kib_cast(X) (Kernel::UInt64)((X) * 1024) #endif #ifndef MIB @@ -92,9 +92,9 @@ #define END_STRING_ENUM() } #endif -#ifndef rtl_alloca -#define rtl_alloca(sz) __builtin_alloca(sz) -#endif // #ifndef rtl_alloca +#ifndef RTL_ALLOCA +#define RTL_ALLOCA(sz) __builtin_alloca(sz) +#endif // #ifndef RTL_ALLOCA #ifndef CANT_REACH #define CANT_REACH() __builtin_unreachable() |
