Re: [PATCH v2 05/11] rust: io: restrict untyped IO access and `register!` to `Region`

From: Danilo Krummrich

Date: Tue Apr 28 2026 - 10:57:47 EST


On Tue Apr 28, 2026 at 4:41 PM CEST, Andreas Hindborg wrote:
> That is probably a good call 😅 Going over the pieces again, I am not
> sure when and where I decided this was an index rather than a byte
> offset.

This is not the first time I see someone stumble over this, assuming this has
index semantics, i.e. I assume there might be something creating this
impression.

However, I can't see what that might be (probably I'm too used to the C
primitives). In case you know, I'd be interesting for me to know.