aboutsummaryrefslogtreecommitdiff
path: root/platform/generic/platform.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-11-11 14:02:48 -0800
committerAnup Patel <anup@brainfault.org>2024-11-28 17:23:36 +0530
commit10df2d6fb5dba486a74cb47bbc062f3383bba80d (patch)
tree4767419353d07d193159bb0d293291cfdfd976d6 /platform/generic/platform.c
parentbb008e5d27069925adf88a6af1e6fdcddf93a36f (diff)
downloadopensbi-10df2d6fb5dba486a74cb47bbc062f3383bba80d.zip
opensbi-10df2d6fb5dba486a74cb47bbc062f3383bba80d.tar.gz
opensbi-10df2d6fb5dba486a74cb47bbc062f3383bba80d.tar.bz2
scripts/carray.sh: Allow referencing a struct member
It can be useful to embed the objects referenced by a carray inside another struct. To avoid type punning, the generated carray code must use the correct type for the enclosing struct and member access to compute the desired object address. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions