Re: [PATCH v5 2/9] nova-core: bitfield: Add support for different storage widths

From: Joel Fernandes

Date: Tue Sep 30 2025 - 13:18:50 EST




On 9/30/2025 10:45 AM, Joel Fernandes wrote:
> 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> { ... }

Apologies for not updating this commit message, the syntax is:

struct Name(<type ex., u32>) { ... }

thanks,

- Joel