Small Rust memory API improvements
Get series with b4
b4 am [email protected] change-id 20250703-rust-mem-api-7faf5644cda2Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rust/memory: replace size arg with Bits enumrust/ rust/ rust/ | +35 | 5 replies | |
| 2/3 | memattrs.h: make MemTxAttrs into enuminclude/ | +6 | 3 replies | |
| 3/3 | rust: add *_with_attrs methods to MemoryRegionOpsrust/ rust/ | +52 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Zhao Liu |
|---|---|---|
| 1/3 | R-b R-b | |
| 2/3 | R-b | R-b R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Small Rust memory API improvements
This series adds minor improvements to the memory API:
- Use an enum to define bit width for memory accesses instead of an integer
- Add *_with_attrs methods to MemoryRegionOps
The *_with_attrs methods are not currently used by any device, and that patch can be dropped without issue.
Signed-off-by Manos Pitsidianakis <[email protected]>
---
Manos Pitsidianakis (3):
rust/memory: replace size arg with Bits enum memattrs.h: make MemTxAttrs into enum
rust: add *_with_attrs methods to MemoryRegionOps
include/exec/memattrs.h | 11 ++--- rust/hw/char/pl011/src/device.rs | 8 ++-- rust/hw/timer/hpet/src/device.rs | 14 +++---- rust/qemu-api/meson.build | 1 + rust/qemu-api/src/memory.rs | 86 +++++++++++++++++++++++++++++++++++----- 5 files changed, 93 insertions(+), 27 deletions(-)
---
base-commit: c77283dd5d79149f4e7e9edd00f65416c648ee59
change-id: 20250703-rust-mem-api-7faf5644cda2
--
γαῖα πυρί μιχθήτω