Files
rtems/bsps/shared/grlib/drvmgr
Matteo Concas 05bab5136d grlib/ambapp: Use correct member offset
On 64-bit platforms, `struct ambapp_dev` is 36 bytes which get padded to 40
bytes.
In that scenario, substracting the size of the struct to get the address of the
parent struct yields incorrect results.

We instead use `RTEMS_CONTAINER_OF()` which will always give the correct parent
no matter the padding.
2026-09-24 05:37:03 +00:00
..