diff options
Diffstat (limited to 'Kernel/Source')
54 files changed, 115 insertions, 112 deletions
diff --git a/Kernel/Source/AppMain.cxx b/Kernel/Source/AppMain.cxx index 028e70e5..e9da459b 100644 --- a/Kernel/Source/AppMain.cxx +++ b/Kernel/Source/AppMain.cxx @@ -1,9 +1,9 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs - File: AppMain.cxx - Purpose: Kernel main loop. + File: AppMain.cxx + Purpose: Kernel main loop. ------------------------------------------- */ @@ -24,7 +24,7 @@ #include <NewKit/Utils.hpp> #include <KernelKit/CodeManager.hpp> -namespace Detail +namespace NewOS::Detail { /// @brief Filesystem auto mounter, additional checks are also done by the /// class. @@ -208,7 +208,7 @@ namespace Detail NewOS::ProcessScheduler::Shared().Leak().GetCurrent().Leak().Exit(0); } -} // namespace Detail +} // namespace NewOS::Detail /// @brief Application entrypoint. /// @param Void @@ -216,13 +216,13 @@ namespace Detail EXTERN_C NewOS::Void AppMain(NewOS::Void) { /// Now run kernel loop, until no process are running. - Detail::FilesystemWizard wizard; // automatic. + NewOS::Detail::FilesystemWizard wizard; // automatic. auto cLoaderName = "SystemLoader"; - NewOS::execute_from_image(Detail::AppSystemLoader, cLoaderName); + NewOS::execute_from_image(NewOS::Detail::AppSystemLoader, cLoaderName); while (NewOS::ProcessScheduler::Shared().Leak().Run() > 0) { - NewOS::kcout << "New OS: sleeping...\r"; + NewOS::kcout << "New OS: Shuting down...\r"; } } diff --git a/Kernel/Source/Array.cxx b/Kernel/Source/Array.cxx index 618ba9f6..f1df0abe 100644 --- a/Kernel/Source/Array.cxx +++ b/Kernel/Source/Array.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/ArrayList.cxx b/Kernel/Source/ArrayList.cxx index 0f3a1b3a..e96e993c 100644 --- a/Kernel/Source/ArrayList.cxx +++ b/Kernel/Source/ArrayList.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Atom.cxx b/Kernel/Source/Atom.cxx index f7ae9416..0619e4ad 100644 --- a/Kernel/Source/Atom.cxx +++ b/Kernel/Source/Atom.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/CodeManager.cxx b/Kernel/Source/CodeManager.cxx index 001795ce..358481f6 100644 --- a/Kernel/Source/CodeManager.cxx +++ b/Kernel/Source/CodeManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Crc32.cxx b/Kernel/Source/Crc32.cxx index 6ddb5642..2fd273e0 100644 --- a/Kernel/Source/Crc32.cxx +++ b/Kernel/Source/Crc32.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/CxxAbi.cxx b/Kernel/Source/CxxAbi.cxx index 2f9ae6a2..9aea8db7 100644 --- a/Kernel/Source/CxxAbi.cxx +++ b/Kernel/Source/CxxAbi.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Defines.cxx b/Kernel/Source/Defines.cxx index 02327f07..919d0fe4 100644 --- a/Kernel/Source/Defines.cxx +++ b/Kernel/Source/Defines.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/DeviceManager.cxx b/Kernel/Source/DeviceManager.cxx index 6e45e9da..5679b2af 100644 --- a/Kernel/Source/DeviceManager.cxx +++ b/Kernel/Source/DeviceManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/DriveManager.cxx b/Kernel/Source/DriveManager.cxx index c60b2079..62195b99 100644 --- a/Kernel/Source/DriveManager.cxx +++ b/Kernel/Source/DriveManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/ErrorOr.cxx b/Kernel/Source/ErrorOr.cxx index 7cef9afb..10d6cc8f 100644 --- a/Kernel/Source/ErrorOr.cxx +++ b/Kernel/Source/ErrorOr.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/FS/NewFS.cxx b/Kernel/Source/FS/NewFS.cxx index 9e2ea16f..6f19c8ed 100644 --- a/Kernel/Source/FS/NewFS.cxx +++ b/Kernel/Source/FS/NewFS.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -35,7 +35,7 @@ STATIC MountpointInterface sMountpointInterface; /// @param theFork the fork itself. /// @return the fork _Output NewFork* NewFSParser::CreateFork(_Input NewCatalog* catalog, - _Input NewFork& theFork) + _Input NewFork& theFork) { if (!sMountpointInterface.GetAddressOf(this->fDriveIndex)) return nullptr; @@ -204,7 +204,7 @@ _Output NewCatalog* NewFSParser::CreateCatalog(_Input const char* name) /// @param flags the flags of the catalog. /// @param kind the catalog kind. /// @return catalog pointer. -_Output NewCatalog* NewFSParser::CreateCatalog(_Input const char* name, +_Output NewCatalog* NewFSParser::CreateCatalog(_Input const char* name, _Input const Int32& flags, _Input const Int32& kind) { diff --git a/Kernel/Source/FileManager.cxx b/Kernel/Source/FileManager.cxx index ed90dab8..1aeae426 100644 --- a/Kernel/Source/FileManager.cxx +++ b/Kernel/Source/FileManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -91,7 +91,7 @@ namespace NewOS NEWOS_UNUSED(flags); auto dataForkName = "FileData"; - + if ((reinterpret_cast<NewCatalog*>(node))->Kind == kNewFSCatalogKindFile) fImpl->WriteCatalog(reinterpret_cast<NewCatalog*>(node), data, size, dataForkName); diff --git a/Kernel/Source/Framebuffer.cxx b/Kernel/Source/Framebuffer.cxx index 7d36c722..5428ca91 100644 --- a/Kernel/Source/Framebuffer.cxx +++ b/Kernel/Source/Framebuffer.cxx @@ -1,14 +1,14 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs - File: Framebuffer.cxx - Purpose: Framebuffer object + File: Framebuffer.cxx + Purpose: Framebuffer object - Revision History: + Revision History: - 01/02/24: Added file (amlel) - 02/02/24: Add documentation (amlel) + 01/02/24: Added file (amlel) + 02/02/24: Add documentation (amlel) ------------------------------------------- */ diff --git a/Kernel/Source/GUIDWizard.cxx b/Kernel/Source/GUIDWizard.cxx index 2e4ffafa..d434e497 100644 --- a/Kernel/Source/GUIDWizard.cxx +++ b/Kernel/Source/GUIDWizard.cxx @@ -1,11 +1,11 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs - File: GUIDWizard.cxx - Purpose: GUID helper code + File: GUIDWizard.cxx + Purpose: GUID helper code - Revision History: + Revision History: ------------------------------------------- */ diff --git a/Kernel/Source/GUIDWrapper.cxx b/Kernel/Source/GUIDWrapper.cxx index d8ed28e0..b1f1d3cf 100644 --- a/Kernel/Source/GUIDWrapper.cxx +++ b/Kernel/Source/GUIDWrapper.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/HError.cxx b/Kernel/Source/HError.cxx index bee5a467..8527a683 100644 --- a/Kernel/Source/HError.cxx +++ b/Kernel/Source/HError.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/IndexableProperty.cxx b/Kernel/Source/IndexableProperty.cxx index 305d0988..16694f52 100644 --- a/Kernel/Source/IndexableProperty.cxx +++ b/Kernel/Source/IndexableProperty.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Json.cxx b/Kernel/Source/Json.cxx index 672c1b39..b0e4050f 100644 --- a/Kernel/Source/Json.cxx +++ b/Kernel/Source/Json.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/KernelCheck.cxx b/Kernel/Source/KernelCheck.cxx index 5df52248..b59417d4 100644 --- a/Kernel/Source/KernelCheck.cxx +++ b/Kernel/Source/KernelCheck.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/KernelHeap.cxx b/Kernel/Source/KernelHeap.cxx index f3271e9b..a8ca467e 100644 --- a/Kernel/Source/KernelHeap.cxx +++ b/Kernel/Source/KernelHeap.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/LockDelegate.cxx b/Kernel/Source/LockDelegate.cxx index 70e421f7..c7e6234b 100644 --- a/Kernel/Source/LockDelegate.cxx +++ b/Kernel/Source/LockDelegate.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -8,5 +8,5 @@ namespace NewOS { - /// Leave it empty for now. + /// Leave it empty for now. } // namespace NewOS
\ No newline at end of file diff --git a/Kernel/Source/MutableArray.cxx b/Kernel/Source/MutableArray.cxx index 047a4455..195ca6d9 100644 --- a/Kernel/Source/MutableArray.cxx +++ b/Kernel/Source/MutableArray.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Network/IP.cxx b/Kernel/Source/Network/IP.cxx index 224f7b2a..1e438766 100644 --- a/Kernel/Source/Network/IP.cxx +++ b/Kernel/Source/Network/IP.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Network/IPCEP.cxx b/Kernel/Source/Network/IPCEP.cxx index 39f3ea33..ba537e95 100644 --- a/Kernel/Source/Network/IPCEP.cxx +++ b/Kernel/Source/Network/IPCEP.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Network/NetworkDevice.cxx b/Kernel/Source/Network/NetworkDevice.cxx index a2c25782..54d24b07 100644 --- a/Kernel/Source/Network/NetworkDevice.cxx +++ b/Kernel/Source/Network/NetworkDevice.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/New+Delete.cxx b/Kernel/Source/New+Delete.cxx index 84e3a72d..d709aaee 100644 --- a/Kernel/Source/New+Delete.cxx +++ b/Kernel/Source/New+Delete.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/NewFS+FileManager.cxx b/Kernel/Source/NewFS+FileManager.cxx index bcfc0443..3434edea 100644 --- a/Kernel/Source/NewFS+FileManager.cxx +++ b/Kernel/Source/NewFS+FileManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/NewFS+IO.cxx b/Kernel/Source/NewFS+IO.cxx index 3235c080..5dfd77b0 100644 --- a/Kernel/Source/NewFS+IO.cxx +++ b/Kernel/Source/NewFS+IO.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/NewFS+Journal.cxx b/Kernel/Source/NewFS+Journal.cxx index 23f42f89..57f76fd4 100644 --- a/Kernel/Source/NewFS+Journal.cxx +++ b/Kernel/Source/NewFS+Journal.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/OwnPtr.cxx b/Kernel/Source/OwnPtr.cxx index 909eacef..cfbdf3b9 100644 --- a/Kernel/Source/OwnPtr.cxx +++ b/Kernel/Source/OwnPtr.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/PEFCodeManager.cxx b/Kernel/Source/PEFCodeManager.cxx index 0bab5373..6fa7e6a1 100644 --- a/Kernel/Source/PEFCodeManager.cxx +++ b/Kernel/Source/PEFCodeManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/PEFSharedObjectRT.cxx b/Kernel/Source/PEFSharedObjectRT.cxx index 810f0480..20af1b98 100644 --- a/Kernel/Source/PEFSharedObjectRT.cxx +++ b/Kernel/Source/PEFSharedObjectRT.cxx @@ -18,7 +18,7 @@ Revision History: - 01/02/24: Rework shared library ABI, except a rt_library_init and + 01/02/24: Rework shared library ABI, except a rt_library_init and rt_library_free (amlel) 15/02/24: Breaking changes, changed the name of the routines. (amlel) diff --git a/Kernel/Source/PRDT.cxx b/Kernel/Source/PRDT.cxx index 3f454409..11165a40 100644 --- a/Kernel/Source/PRDT.cxx +++ b/Kernel/Source/PRDT.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/PageAllocator.cxx b/Kernel/Source/PageAllocator.cxx index bafa5a7e..d3a4d4e2 100644 --- a/Kernel/Source/PageAllocator.cxx +++ b/Kernel/Source/PageAllocator.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/PageManager.cxx b/Kernel/Source/PageManager.cxx index e1cfdeea..990b2546 100644 --- a/Kernel/Source/PageManager.cxx +++ b/Kernel/Source/PageManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Pmm.cxx b/Kernel/Source/Pmm.cxx index f60f5b23..0641f457 100644 --- a/Kernel/Source/Pmm.cxx +++ b/Kernel/Source/Pmm.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -9,6 +9,7 @@ namespace NewOS { + /// @brief Pmm constructor. Pmm::Pmm() : fPageManager() { @@ -18,17 +19,19 @@ namespace NewOS Pmm::~Pmm() = default; /* If this returns Null pointer, enter emergency mode */ + /// @param user is this a user page? + /// @param readWrite is it r/w? Ref<PTEWrapper> Pmm::RequestPage(Boolean user, Boolean readWrite) { PTEWrapper pt = fPageManager.Leak().Request(user, readWrite, false, kPTESize); if (pt.fPresent) { - kcout << "[PMM]: Allocation was successful."; + kcout << "[PMM]: Allocation was successful.\r"; return Ref<PTEWrapper>(pt); } - kcout << "[PMM]: Allocation failure."; + kcout << "[PMM]: Allocation failed.\r"; return {}; } diff --git a/Kernel/Source/ProcessScheduler.cxx b/Kernel/Source/ProcessScheduler.cxx index 22e1fb4d..1e4537f1 100644 --- a/Kernel/Source/ProcessScheduler.cxx +++ b/Kernel/Source/ProcessScheduler.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -197,8 +197,8 @@ namespace NewOS } /// @brief Add process to list. - /// @param process - /// @return + /// @param process + /// @return SizeT ProcessScheduler::Add(Ref<ProcessHeader>& process) { if (!process) @@ -242,8 +242,8 @@ namespace NewOS } /// @brief Remove process from list. - /// @param process - /// @return + /// @param process + /// @return bool ProcessScheduler::Remove(SizeT process) { if (process > mTeam.AsArray().Count()) @@ -255,7 +255,7 @@ namespace NewOS } /// @brief Run scheduler. - /// @return + /// @return SizeT ProcessScheduler::Run() noexcept { SizeT processIndex = 0; //! we store this guy to tell the scheduler how many @@ -293,14 +293,14 @@ namespace NewOS } /// @brief Gets the current scheduled team. - /// @return + /// @return ProcessTeam& ProcessScheduler::CurrentTeam() { return mTeam; } /// @brief Shared instance of the process scheduler. - /// @return + /// @return Ref<ProcessScheduler&> ProcessScheduler::Shared() { static ProcessScheduler ref; @@ -323,7 +323,7 @@ namespace NewOS } /// @brief Check if process can be schedulded. - /// @param process the process reference. + /// @param process the process reference. /// @retval true can be schedulded. /// @retval false cannot be schedulded. bool ProcessHelper::CanBeScheduled(Ref<ProcessHeader>& process) @@ -378,7 +378,7 @@ namespace NewOS * \brief Does a context switch in a CPU. * \param the_stack the stackframe of the running app. * \param new_pid the process's PID. - */ + */ bool ProcessHelper::Switch(HAL::StackFrame* the_stack, const PID& new_pid) { diff --git a/Kernel/Source/ProcessTeam.cxx b/Kernel/Source/ProcessTeam.cxx index 959402f4..7e311399 100644 --- a/Kernel/Source/ProcessTeam.cxx +++ b/Kernel/Source/ProcessTeam.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Property.cxx b/Kernel/Source/Property.cxx index ab4f7bf5..0c5c5fab 100644 --- a/Kernel/Source/Property.cxx +++ b/Kernel/Source/Property.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Ref.cxx b/Kernel/Source/Ref.cxx index 60f02b69..01883e07 100644 --- a/Kernel/Source/Ref.cxx +++ b/Kernel/Source/Ref.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/SMPManager.cxx b/Kernel/Source/SMPManager.cxx index 2c3f11f2..90a9d440 100644 --- a/Kernel/Source/SMPManager.cxx +++ b/Kernel/Source/SMPManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -98,8 +98,8 @@ namespace NewOS fStack->Rbp = stack->Rbp; fStack->Rsp = stack->Rsp; - fStack->Fs = stack->Fs; - fStack->Gs = stack->Gs; + fStack->Fs = stack->Fs; + fStack->Gs = stack->Gs; } rt_do_context_switch(fStack); @@ -183,10 +183,10 @@ namespace NewOS } /** - * Index Hardware thread - * @param idx the index - * @return the reference to the hardware thread. - */ + * Index Hardware thread + * @param idx the index + * @return the reference to the hardware thread. + */ Ref<HardwareThread> SMPManager::operator[](const SizeT& idx) { if (idx == 0) @@ -208,18 +208,18 @@ namespace NewOS } /** - * Check if thread pool isn't empty. - * @return - */ + * Check if thread pool isn't empty. + * @return + */ SMPManager::operator bool() noexcept { return !fThreadList.Empty(); } /** - * Reverse operator bool - * @return - */ + * Reverse operator bool + * @return + */ bool SMPManager::operator!() noexcept { return fThreadList.Empty(); diff --git a/Kernel/Source/Semaphore.cxx b/Kernel/Source/Semaphore.cxx index eebdd210..7bd1d513 100644 --- a/Kernel/Source/Semaphore.cxx +++ b/Kernel/Source/Semaphore.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Storage/AHCIDeviceInterface.cxx b/Kernel/Source/Storage/AHCIDeviceInterface.cxx index da25c05d..b0431cb1 100644 --- a/Kernel/Source/Storage/AHCIDeviceInterface.cxx +++ b/Kernel/Source/Storage/AHCIDeviceInterface.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Storage/ATADeviceInterface.cxx b/Kernel/Source/Storage/ATADeviceInterface.cxx index 5624dddb..0f7d22c1 100644 --- a/Kernel/Source/Storage/ATADeviceInterface.cxx +++ b/Kernel/Source/Storage/ATADeviceInterface.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Storage/NVMEDeviceInterface.cxx b/Kernel/Source/Storage/NVMEDeviceInterface.cxx index aaaa3eb0..22c9c9d0 100644 --- a/Kernel/Source/Storage/NVMEDeviceInterface.cxx +++ b/Kernel/Source/Storage/NVMEDeviceInterface.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Storage/SCSIDeviceInterface.cxx b/Kernel/Source/Storage/SCSIDeviceInterface.cxx index 16105547..b64681d3 100644 --- a/Kernel/Source/Storage/SCSIDeviceInterface.cxx +++ b/Kernel/Source/Storage/SCSIDeviceInterface.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Stream.cxx b/Kernel/Source/Stream.cxx index 134ec586..f21ef4d7 100644 --- a/Kernel/Source/Stream.cxx +++ b/Kernel/Source/Stream.cxx @@ -1,11 +1,11 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs - File: Stream.cxx - Purpose: Stream object + File: Stream.cxx + Purpose: Stream object - Revision History: + Revision History: ------------------------------------------- */ diff --git a/Kernel/Source/String.cxx b/Kernel/Source/String.cxx index 764ab0d9..4b6ea365 100644 --- a/Kernel/Source/String.cxx +++ b/Kernel/Source/String.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Timer.cxx b/Kernel/Source/Timer.cxx index 3e705c38..0495677c 100644 --- a/Kernel/Source/Timer.cxx +++ b/Kernel/Source/Timer.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/URL.cxx b/Kernel/Source/URL.cxx index 8c11ca55..1b223938 100644 --- a/Kernel/Source/URL.cxx +++ b/Kernel/Source/URL.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/UserHeap.cxx b/Kernel/Source/UserHeap.cxx index 9d9cd627..02c4c753 100644 --- a/Kernel/Source/UserHeap.cxx +++ b/Kernel/Source/UserHeap.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -19,9 +19,9 @@ namespace NewOS { /** - * @brief Process Heap Header - * @note Allocated per process, it denotes the user's heap. - */ + * @brief Process Heap Header + * @note Allocated per process, it denotes the user's heap. + */ struct UserHeapHeader final { UInt32 fMagic; @@ -31,10 +31,10 @@ namespace NewOS }; /** - * @brief User Heap Manager class, takes care of allocating the process pools. - * @note This rely on Virtual Memory! Consider adding good vmem support when - * @note porting to a new arch. - */ + * @brief User Heap Manager class, takes care of allocating the process pools. + * @note This rely on Virtual Memory! Consider adding good vmem support when + * @note porting to a new arch. + */ class UserHeapManager final { public: @@ -158,12 +158,12 @@ namespace NewOS } /** - * @brief Check for the ptr and frees it. - * - * @param index Where to look at. - * @param ptr The ptr to check. - * @return Boolean true if successful. - */ + * @brief Check for the ptr and frees it. + * + * @param index Where to look at. + * @param ptr The ptr to check. + * @return Boolean true if successful. + */ STATIC Boolean ke_check_and_free_heap(const SizeT& index, VoidPtr ptr) { if (UserHeapManager::The()[index]) diff --git a/Kernel/Source/Utils.cxx b/Kernel/Source/Utils.cxx index f621594d..1814c72e 100644 --- a/Kernel/Source/Utils.cxx +++ b/Kernel/Source/Utils.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ diff --git a/Kernel/Source/Variant.cxx b/Kernel/Source/Variant.cxx index 1a09718b..94f1991e 100644 --- a/Kernel/Source/Variant.cxx +++ b/Kernel/Source/Variant.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ |
