On 8/26/25 6:07 AM, Alexandre Courbot wrote:
/// Structure encapsulating the firmware blobs required for the GPU to operate. #[expect(dead_code)] pub(crate) struct Firmware { @@ -36,7 +123,10 @@ pub(crate) struct Firmware { booter_unloader: BooterFirmware, /// GSP bootloader, verifies the GSP firmware before loading and running it. gsp_bootloader: RiscvFirmware, - gsp: firmware::Firmware, + /// GSP firmware. + gsp: Pin<KBox<GspFirmware>>,
Is there a reason why we don't just propagate it through struct Gpu, which uses pin-init already?
You can make Firmware pin_data too and then everything is within the single allocation of struct Gpu.