summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-08 21:13:11 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-08 21:14:33 +0200
commit9be360bd9cce8a28fb4626fcc47b31b169e3b47c (patch)
treeed4db4592826d91c2fac7ecc5e24a5f99763ce90 /Private/KernelKit
parent79886caeb4bf17b01fcc42c0891a61bcd5863a75 (diff)
Kernel: Don't forget to set drives inside DriveManager.
Kernel: Start implement Format method for NewFS, it needs to verify the disk first. Kernel: Add kErrorDiskIsCorrupted (Error 54). Kernel: Add __NEWOS_AMD64__ and __NEWOS_PPC__. Kernel: Rename builtin RJ45 to IEE802 Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit')
-rw-r--r--Private/KernelKit/DriveManager.hxx2
-rw-r--r--Private/KernelKit/HError.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/Private/KernelKit/DriveManager.hxx b/Private/KernelKit/DriveManager.hxx
index aa94b08d..e66dedc8 100644
--- a/Private/KernelKit/DriveManager.hxx
+++ b/Private/KernelKit/DriveManager.hxx
@@ -121,7 +121,7 @@ DriveTrait construct_drive(void) noexcept;
/// @brief Fetches the main drive.
/// @return the new drive.
-DriveTrait main_drive(void) noexcept;
+DriveTrait construct_main_drive(void) noexcept;
} // namespace NewOS
#endif /* ifndef __DRIVE_MANAGER__ */
diff --git a/Private/KernelKit/HError.hpp b/Private/KernelKit/HError.hpp
index a0105d64..a3ea5d61 100644
--- a/Private/KernelKit/HError.hpp
+++ b/Private/KernelKit/HError.hpp
@@ -34,6 +34,7 @@ inline constexpr HError kErrorForkAlreadyExists = 50;
inline constexpr HError kErrorOutOfTeamSlot = 51;
inline constexpr HError kErrorHeapNotPresent = 52;
inline constexpr HError kErrorNoEntrypoint = 53;
+inline constexpr HError kErrorDiskIsCorrupted = 54;
inline constexpr HError kErrorUnimplemented = 0;
Boolean ke_bug_check(void) noexcept;