94a95,101
> /* Setup a reset callback */
> nomali_callback_t cbk_rst;
> cbk_rst.type = NOMALI_CALLBACK_RESET;
> cbk_rst.usr = (void *)this;
> cbk_rst.func.reset = NoMaliGpu::_reset;
> setCallback(cbk_rst);
>
104a112
>
105a114,124
> NoMaliGpu::init()
> {
> PioDevice::init();
>
> /* Reset the GPU here since the reset callback won't have been
> * installed when the GPU was reset at instantiation time.
> */
> reset();
> }
>
> void
270a290,295
> NoMaliGpu::onReset()
> {
> DPRINTF(NoMali, "Reset\n");
> }
>
> void
289a315,322
> void
> NoMaliGpu::_reset(nomali_handle_t h, void *usr)
> {
> NoMaliGpu *_this(static_cast<NoMaliGpu *>(usr));
>
> _this->onReset();
> }
>