summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-09-01 17:50:29 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-09-06 13:39:48 +0200
commit2a750c56179b416f3501c2644f787265ad7a6785 (patch)
tree546e335d92c1d8382857be0c2f6097ea0bf7d849 /scripts/Makefile.thinlto
parentff067ace5fbeada7e629d4aaccfa1d04da3eeebc (diff)
downloadlinux-next-2a750c56179b416f3501c2644f787265ad7a6785.tar.gz
linux-next-2a750c56179b416f3501c2644f787265ad7a6785.zip
rust: io: support register projections
`IoLoc`s themselves just describe a projection from a region to a concrete register. Thus, support it in `io_project` macro too. Also, update methods that operate on `IoLoc` to use I/O projection. Documentation of `io_project!` is not expanded yet as the example works better when `register!` type can specify base type. `io_read!` and `io_write!` gains the ability to operate on registers as corollary of the capability of `io_project!`. Examples are not added because `read` and `write` is still preferably used instead. Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Gary Guo <gary@garyguo.net> Tested-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260901-typed_register-v4-5-5552b1d59525@garyguo.net Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions