linux/rust
Danilo Krummrich 1d121a33ad rust: firmware: add `module_firmware!` macro
Analogous to the `module!` macro `module_firmware!` adds additional
firmware path strings to the .modinfo section.

In contrast to `module!`, where path strings need to be string literals,
path strings can be composed with the `firmware::ModInfoBuilder`.

Some drivers require a lot of firmware files (such as nova-core) and
hence benefit from more flexibility composing firmware path strings.

Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20250306222336.23482-4-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-03-09 19:23:31 +01:00
..
bindings rust/kernel: Add faux device bindings 2025-02-13 16:58:58 +01:00
helpers Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
kernel rust: firmware: add `module_firmware!` macro 2025-03-09 19:23:31 +01:00
macros rust: module: add type `LocalModule` 2025-03-09 19:21:08 +01:00
uapi rust: map `__kernel_size_t` and friends also to usize/isize 2024-11-10 23:58:00 +01:00
.gitignore rust: support running Rust documentation tests as KUnit ones 2023-07-19 09:32:53 -06:00
Makefile rust: kbuild: do not export generated KASAN ODR symbols 2025-02-06 19:47:04 +01:00
bindgen_parameters rust: map `__kernel_size_t` and friends also to usize/isize 2024-11-10 23:58:00 +01:00
build_error.rs rust: add `build_error` crate 2022-12-04 01:59:16 +01:00
compiler_builtins.rs rust: add intrinsics to fix `-Os` builds 2024-08-10 00:05:10 +02:00
exports.c rust: exports: improve grammar in commentary 2024-10-21 17:35:33 +02:00
ffi.rs rust: map `long` to `isize` and `char` to `u8` 2024-12-16 21:49:33 +01:00