• Lucas Russo's avatar
    hdl/sm_io/*: add generic pointer to a specific handler · e962296d
    Lucas Russo authored
    SMIO modules often need some state information.
    Because of this, we store that in a new a generic
    field called smio_handler, inside the general sm_io
    structure. Specific realizations of the SMIO module
    need to set that pointer to the desired structure,
    initilize it correctly (inside bootstrap init function)
    and destroy it when donw (inside bootstrap shutdown
sm_io_bootstrap.c 8.41 KB