diff options
| author | Gary Guo <gary@garyguo.net> | 2026-09-01 17:50:34 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-06 13:39:49 +0200 |
| commit | 4f620881808e9d3d951343e2edc9c8c41286391a (patch) | |
| tree | 5375d4ba783bfafa4758d5328eb35870fd45a309 /scripts/Makefile.thinlto | |
| parent | 9b27311fa940839b0839e5a96c27ffa24d8374cf (diff) | |
| download | linux-next-4f620881808e9d3d951343e2edc9c8c41286391a.tar.gz linux-next-4f620881808e9d3d951343e2edc9c8c41286391a.zip | |
rust: io: register: make register have a typed base
Previously `register!` defined registers can be used on any untyped I/O
regions. With all users specifying their desired register type now,
propagate the specified type and restrict I/O access only when type
matches.
Also, add an `io_project!` example which is enabled by this change.
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260901-typed_register-v4-10-5552b1d59525@garyguo.net
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
