[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 06/13] rust: add bindings for memattrs
From: |
Peter Maydell |
Subject: |
Re: [RFC 06/13] rust: add bindings for memattrs |
Date: |
Fri, 6 Dec 2024 14:42:43 +0000 |
On Fri, 6 Dec 2024 at 14:28, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
>
> Il ven 6 dic 2024, 05:59 Peter Maydell <peter.maydell@linaro.org> ha scritto:
>>
>> > is still decently packed and simplifies things a lot.
>>
>> The old struct is 4 bytes, and the new one is 8 bytes.
>
>
> Yes, hence "decently" packed. But I think in both cases it's passed in
> registers, and for 64-bit machine that shouldn't change anything.
True. Though it does mean we go from "space to add new fields
without making it overflow from one register to two" to
"completely full and no space for expanding it".
-- PMM
- Re: [RFC 05/13] rust: add a bit operation binding for deposit64, (continued)
[RFC 06/13] rust: add bindings for memattrs, Zhao Liu, 2024/12/05
Re: [RFC 06/13] rust: add bindings for memattrs, Peter Maydell, 2024/12/06
Re: [RFC 06/13] rust: add bindings for memattrs, Paolo Bonzini, 2024/12/06
Re: [RFC 06/13] rust: add bindings for memattrs,
Peter Maydell <=
Re: [RFC 06/13] rust: add bindings for memattrs, Paolo Bonzini, 2024/12/06
Re: [RFC 06/13] rust: add bindings for memattrs, Philippe Mathieu-Daudé, 2024/12/07
Re: [RFC 06/13] rust: add bindings for memattrs, Paolo Bonzini, 2024/12/08
Re: [RFC 06/13] rust: add bindings for memattrs, Zhao Liu, 2024/12/08
[RFC 07/13] rust: add bindings for timer, Zhao Liu, 2024/12/05
[RFC 08/13] rust/qdev: add the macro to define bit property, Zhao Liu, 2024/12/05