On Sat, 2022-04-09 at 20:29 +1000, Anastasia Klimchuk wrote:
I think that’s all that I wanted to say. But I am wondering what Thomas is thinking about it? In any case there is plenty of useful stuff that can be done, and it is not a problem to wrap it as a project. Let us know what you think! ;)
To register the shutdown function with the bus master is a good step and in any case part of the project. What do you think of exposing the bus master(s) and the shutdown function through the programmer_entry struct instead of register them in the programmer code. This would make the programmers "API" declarative and move all manipulation of global structs, shutdown stack & bus master stack, out of the individual programmer into a common logic.
-- Thomas