[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
> +};
- [PATCH v2 00/10] rust: Add HPET timer device, Zhao Liu, 2025/02/09
- [PATCH v2 02/10] rust/qdev: add the macro to define bit property, Zhao Liu, 2025/02/09
- [PATCH v2 03/10] rust/irq: Add a helper to convert [InterruptSource] to pointer, Zhao Liu, 2025/02/09
- [PATCH v2 01/10] i386/fw_cfg: move hpet_cfg definition to hpet.c, Zhao Liu, 2025/02/09
- [PATCH v2 05/10] rust: add bindings for memattrs, Zhao Liu, 2025/02/09
- Re: [PATCH v2 05/10] rust: add bindings for memattrs,
Zhao Liu <=
- [PATCH v2 04/10] rust: add bindings for gpio_{in|out} initialization, Zhao Liu, 2025/02/09
- [PATCH v2 06/10] rust: add bindings for timer, Zhao Liu, 2025/02/09
- [PATCH v2 07/10] rust/timer/hpet: define hpet_fw_cfg, Zhao Liu, 2025/02/09
- [PATCH v2 08/10] rust/timer/hpet: add basic HPET timer and HPETState, Zhao Liu, 2025/02/09
- [PATCH v2 09/10] rust/timer/hpet: add qom and qdev APIs support, Zhao Liu, 2025/02/09
- [PATCH v2 10/10] i386: enable rust hpet for pc when rust is enabled, Zhao Liu, 2025/02/09