Re: [PATCH v2 05/10] rust: add bindings for memattrs

2025-02-10 Thread Zhao Liu
> +/// A special `MemTxAttrs` constant, used to indicate that no memary typo... s/memary/memory/ > +/// attributes are specified. > +/// > +/// Bus masters which don't specify any attributes will get this, > +/// which has all attribute bits clear except the topmost one > +/// (so that we can dis

[PATCH v2 05/10] rust: add bindings for memattrs

2025-02-09 Thread Zhao Liu
The MemTxAttrs structure contains bitfield members, and bindgen is unable to generate an equivalent macro definition for MEMTXATTRS_UNSPECIFIED. Therefore, manually define a global constant variable MEMTXATTRS_UNSPECIFIED to support calls from Rust code. Signed-off-by: Zhao Liu --- Changes since