Danilo Krummrich
2025-Oct-23 14:07 UTC
[PATCH v6 4/5] rust: Move register and bitfield macros out of Nova
On Thu Oct 23, 2025 at 3:55 PM CEST, Beata Michalska wrote:> I guess everything that would use IoRequest::iomap(self), which generates > Io<SIZE=0> which is a game over for the macro.To be honest, we may just want to remove this API. A driver that requires a zero sized MMIO region with only optional runtime derived access offsets seems a bit too exotic. That doesn't mean that occasionally we'll have drivers needing runtime offsets, so eventually we want to support that with the register!() macro, but it's not *that* urgent.