mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-04-19 08:45:12 +01:00
10df2d6fb5
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>