serenity/Userland
Samuel Bowman 6a1c85aa61 LibPartition: Make PartitionTable kernel/userland agnostic
Previously, PartitionTable was constructed using a Kernel::StorageDevice
making it only usable in the kernel. This commit adds a new constructor
that takes a Core::File instead, making it usable in userland as well.

This also adds the m_block_size field which stores the block size of the
underlying device obtained by calling StorageDevice::block_size() in the
kernel or by using the STORAGE_DEVICE_GET_BLOCK_SIZE ioctl in userland.
This avoids the need for an #ifdef every time block size is needed.
2022-07-21 20:13:44 +01:00
..
Applets Keymap+WindowServer: Add context menu to keymap applet 2022-07-21 16:40:47 +02:00
Applications
Demos
DevTools
DynamicLoader LibPthread: Implement named semaphores 2022-07-21 16:39:22 +02:00
Games
Libraries LibPartition: Make PartitionTable kernel/userland agnostic 2022-07-21 20:13:44 +01:00
Services Keymap+WindowServer: Add context menu to keymap applet 2022-07-21 16:40:47 +02:00
Shell
Utilities Utilities+LibELF: Temporary promises for dynamic linker in "pledge" 2022-07-21 16:40:11 +02:00
CMakeLists.txt