summaryrefslogtreecommitdiff
path: root/rust/kernel/security.rs
diff options
context:
space:
mode:
authorJoel Fernandes <joelagnelf@nvidia.com>2025-10-16 11:13:22 -0400
committerAlexandre Courbot <acourbot@nvidia.com>2025-10-21 22:39:44 +0900
commit7cabacb1aad647931980f63fa18292ad3f859544 (patch)
tree4695da61c1d053b32fae2be94ecbe8ef07b7397e /rust/kernel/security.rs
parent71ea85be25b4f54a53ec03d5deaed52f5ee65da8 (diff)
gpu: nova-core: bitfield: Add support for different storage widths
Previously, bitfields were hardcoded to use u32 as the underlying storage type. Add support for different storage types (u8, u16, u32, u64) to the bitfield macro. New syntax is: struct Name(<type ex., u32>) { ... } Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev> Reviewed-by: Edwin Peer <epeer@nvidia.com> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com> [acourbot@nvidia.com: fix long lines warnings.] Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Message-ID: <20251016151323.1201196-4-joelagnelf@nvidia.com>
Diffstat (limited to 'rust/kernel/security.rs')
0 files changed, 0 insertions, 0 deletions