Skip to content
Commit 2fcf7621 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

userspace: update k_object API to support immutable objects



The k_object API associates mutable state structures with known kernel
objects to support userspace.  The kernel objects themselves are not
modified by the API, and in some cases (e.g. device structures) may be
const-qualified.  Update the API so that pointers to these const
kernel objects can be passed without casting away the const qualifier.

Fixes #27399

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent aac9e2c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment