Skip to content

Commit 490036c

Browse files
nvme: initial implementation
* MSIX * NVME Queues * NVME Namespace Read * Register the NVME namespaces as block devices * Make `Bitmap` have `first_unset` to find the first unset bit. Useful for making an ID allocator. * PCI NVME * Add static assertions that can be helpful to ensure the size of FFI structs at compile time. Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent bb19d67 commit 490036c

File tree

12 files changed

+1337
-8
lines changed

12 files changed

+1337
-8
lines changed

src/Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/aero_kernel/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
3737
lai = { git = "https://github.com/aero-os/lai-rs" }
3838
uapi = { path = "../uapi" }
3939
cpio_reader = { git = "https://github.com/Andy-Python-Programmer/cpio_reader" }
40+
static_assertions = "1.1.0"
4041

4142
[dependencies.vte]
4243
git = "https://github.com/Andy-Python-Programmer/vte"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pub mod ahci;
22
pub mod ide;
3+
pub mod nvme;

0 commit comments

Comments
 (0)