diff options
Diffstat (limited to 'Private/KernelKit')
| -rw-r--r-- | Private/KernelKit/FileManager.hpp | 2 | ||||
| -rw-r--r-- | Private/KernelKit/ThreadLocalStorage.hxx | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/Private/KernelKit/FileManager.hpp b/Private/KernelKit/FileManager.hpp index 29c5e755..a191368e 100644 --- a/Private/KernelKit/FileManager.hpp +++ b/Private/KernelKit/FileManager.hpp @@ -185,7 +185,7 @@ class FileStream final { return ErrorOr<Int64>(H_INVALID_DATA); } - VoidPtr ReadAll() noexcept { + VoidPtr Read() noexcept { auto man = FSClass::GetMounted(); if (man) { diff --git a/Private/KernelKit/ThreadLocalStorage.hxx b/Private/KernelKit/ThreadLocalStorage.hxx index e7c55ee7..db04c054 100644 --- a/Private/KernelKit/ThreadLocalStorage.hxx +++ b/Private/KernelKit/ThreadLocalStorage.hxx @@ -29,14 +29,16 @@ T *hcore_tls_new_class(Args &&...args); typedef HCore::Char rt_cookie_type[3]; +#define kTIBNameLen 256 + /// @brief Thread Information Block for Local Storage. /// Located in GS on AMD64, Virtual Address 0x10000 (64x0, 32x0, ARM64) struct ThreadInformationBlock final { - HCore::Char Name[kNameLen]; // Module Name - HCore::UIntPtr StartCode; // Start Address - HCore::UIntPtr StartData; // Allocation Heap - HCore::UIntPtr StartStack; // Stack Pointer. - HCore::Int32 Arch; // Architecture and/or platform. + HCore::Char Name[kTIBNameLen]; // Module Name + HCore::UIntPtr StartCode; // Start Address + HCore::UIntPtr StartData; // Allocation Heap + HCore::UIntPtr StartStack; // Stack Pointer. + HCore::Int32 Arch; // Architecture and/or platform. rt_cookie_type Cookie; // Not shown in public header, this is the way we tell // something went wrong. }; |
