Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Lenny Maiorani
190cf1507b
Kernel: Use default constructors/destructors
...
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules
"The compiler is more likely to get the default semantics right and
you cannot implement these functions better than the compiler."
2022-03-17 00:51:36 -07:00
Idan Horowitz
9ce537d703
Kernel: Use u64 instead of size_t for File::can_read offset
...
This ensures offsets will not be truncated on large files on i686.
2022-01-25 22:41:17 +02:00
Andreas Kling
79fa9765ca
Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T>
...
We now use AK::Error and AK::ErrorOr<T> in both kernel and userspace!
This was a slightly tedious refactoring that took a long time, so it's
not unlikely that some bugs crept in.
Nevertheless, it does pass basic functionality testing, and it's just
real nice to finally see the same pattern in all contexts. :^)
2021-11-08 01:10:53 +01:00
Liav A
4974727dbb
Kernel: Move x86 IO instructions code into the x86 specific folder
2021-10-01 12:27:20 +02:00
Liav A
fd4397a430
Kernel/Devices: Use try_create_device helper for ConsoleDevice
2021-09-17 01:02:48 +03:00
Liav A
5e8dcb9ca7
Kernel/Devices: Move ConsoleDevice into the Devices source directory
2021-09-17 01:02:48 +03:00