mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
Kernel/NVMe: Add initial NVMe driver support
Add a basic NVMe driver support to serenity based on NVMe spec 1.4. The driver can support multiple NVMe drives (subsystems). But in a NVMe drive, the driver can support one controller with multiple namespaces. Each core will get a separate NVMe Queue. As the system lacks MSI support, PIN based interrupts are used for IO. Tested the NVMe support by replacing IDE driver with the NVMe driver :^)
This commit is contained in:
parent
602b35aa62
commit
e99fafb683
Notes:
sideshowbarker
2024-07-17 21:50:50 +09:00
Author: https://github.com/Panky-codes
Commit: e99fafb683
Pull-request: https://github.com/SerenityOS/serenity/pull/11222
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/Sylvyrfysh
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/supercomputer7 ✅
13 changed files with 946 additions and 0 deletions
|
@ -75,6 +75,7 @@ namespace MassStorage {
|
|||
enum class SubclassID {
|
||||
IDEController = 0x1,
|
||||
SATAController = 0x6,
|
||||
NVMeController = 0x8,
|
||||
};
|
||||
enum class SATAProgIF {
|
||||
AHCI = 0x1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue