1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-28 14:02:35 +00:00
serenity/Kernel/Devices/Storage
Shannon Booth e2e7c4d574 Everywhere: Use to_number<T> instead of to_{int,uint,float,double}
In a bunch of cases, this actually ends up simplifying the code as
to_number will handle something such as:

```
Optional<I> opt;
if constexpr (IsSigned<I>)
    opt = view.to_int<I>();
else
    opt = view.to_uint<I>();
```

For us.

The main goal here however is to have a single generic number conversion
API between all of the String classes.
2023-12-23 20:41:07 +01:00
..
ATA Kernel/Interrupts: Move PCIIRQHandler => PCI::IRQHandler 2023-09-16 14:04:17 -06:00
NVMe Kernel/Interrupts: Move PCIIRQHandler => PCI::IRQHandler 2023-09-16 14:04:17 -06:00
SD Kernel: Mark SDHC InterruptStatus structured view as const 2023-10-06 08:16:56 +02:00
USB Kernel/USB: Add a crude USB MassStorage driver :^) 2023-09-29 16:14:47 -06:00
DiskPartition.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
DiskPartition.h Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageController.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageController.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
StorageDevice.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageDevice.h Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageManagement.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
StorageManagement.h Kernel: Try 5 times to find the root boot drive 2023-10-17 11:50:33 -06:00