qemu-rust
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Zhao Liu
Subject: Re: [PATCH v2 05/10] rust: add bindings for memattrs
Date: Mon, 10 Feb 2025 18:03:51 +0800

> +/// 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 distinguish "all attributes deliberately clear"
> +/// from "didn't specify" if necessary).
> +pub const MEMTXATTRS_UNSPECIFIED: MemTxAttrs = MemTxAttrs {
> +    unspecified: true,
> +    ..Zeroable::ZERO
> +};



reply via email to

[Prev in Thread] Current Thread [Next in Thread]