Andreas Kling
c922a7da09
Kernel: Rename ScopedSpinlock => SpinlockLocker
...
This matches MutexLocker, and doesn't sound like it's a lock itself.
2021-08-22 03:34:10 +02:00
Andreas Kling
55adace359
Kernel: Rename SpinLock => Spinlock
2021-08-22 03:34:10 +02:00
sin-ack
4bfd6e41b9
Kernel: Make Kernel::VMObject allocation functions return KResultOr
...
This makes for nicer handling of errors compared to checking whether a
RefPtr is null. Additionally, this will give way to return different
types of errors in the future.
2021-08-15 15:41:02 +02:00
Andreas Kling
2cd8b21974
Kernel: Add convenience values to the Memory::Region::Access enum
...
Instead of `Memory::Region::Access::Read | Memory::Region::AccessWrite`
you can now say `Memory::Region::Access::ReadWrite`.
2021-08-06 22:25:00 +02:00
Andreas Kling
93d98d4976
Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace
2021-08-06 14:05:58 +02:00
Andreas Kling
07599b48de
Kernel: Make a helper in the Intel graphics driver return StringView
2021-08-06 00:37:47 +02:00
Liav A
b882e5ff6b
Kernel/Graphics: Move Intel graphics related code to a separate folder
2021-07-11 21:16:33 +02:00