hololink::emulation::STM32DataPlaneCtxt
hololink::emulation::STM32DataPlaneCtxt
STM32-specific DataPlane context extension.
base MUST be the first member: the DataPlane base class stores its data_plane_ctxt_ as a DataPlaneCtxt* pointing into this base. Standard-layout C++ guarantees &this->``base`` == reinterpret_cast<STM32DataPlaneCtxt*>(this), so STM32 sources downcast via reinterpret_cast<STM32DataPlaneCtxt*>(data_plane_ctxt_.get()).
Allocation policy: STM32 builds use a file-scope static pool of these (see DATA_PLANE_CTXT[] in STM32/data_plane.cpp) — no new/malloc. When the DataPlane constructor is called with ctxt == nullptr, it claims &DATA_PLANE_CTXT[data_plane_id].``base.