1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 04:54:58 +00:00
serenity/Kernel/Devices/Generic
Liav A 5dcf03ad9a Kernel/Devices: Introduce the LoopDevice device
This device is a block device that allows a user to effectively treat an
Inode as a block device.

The static construction method is given an OpenFileDescription reference
but validates that:
- The description has a valid custody (so it's not some arbitrary file).
  Failing this requirement will yield EINVAL.
- The description custody points to an Inode which is a regular file, as
  we only support (seekable) regular files. Failing this requirement
  will yield ENOTSUP.

LoopDevice can be used to mount a regular file on the filesystem like
other supported types of (physical) block devices.
2024-03-13 15:33:47 -06:00
..
ConsoleDevice.cpp Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
ConsoleDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
DeviceControlDevice.cpp Kernel/Devices: Introduce the LoopDevice device 2024-03-13 15:33:47 -06:00
DeviceControlDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
FullDevice.cpp Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
FullDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
MemoryDevice.cpp Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
MemoryDevice.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
NullDevice.cpp Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
NullDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
PCSpeakerDevice.cpp Kernel+Userland: Add option for duration of /dev/beep producing sound 2023-11-03 15:19:33 +01:00
PCSpeakerDevice.h Kernel+Userland: Replace the beep syscall with the new /dev/beep device 2023-11-03 15:19:33 +01:00
RandomDevice.cpp Kernel: Move Random.{h,cpp} code to Security subdirectory 2023-06-04 21:32:34 +02:00
RandomDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
SelfTTYDevice.cpp Kernel: Move TTY-related code to a new subdirectory under Devices 2023-09-09 12:08:59 -06:00
SelfTTYDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
ZeroDevice.cpp Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00
ZeroDevice.h Kernel: Move a bunch of generic devices code into new subdirectory 2023-05-19 21:49:21 +02:00