A canary for timer-expiration functions
A canary for timer-expiration functions
Posted Aug 20, 2017 9:26 UTC (Sun) by jzbiciak (guest, #5246)In reply to: A canary for timer-expiration functions by Sesse
Parent article: A canary for timer-expiration functions
You could, in principle, allow modules to register their entry points as well. Perhaps structure it as a tuple, with <module,entry> pairs, with only the module part being determined dynamically at module-load time.
Indeed, we implemented something like this in a small secure-kernel + secure-module API that I helped develop for an embedded processor. Each module defined its set of entry points, and received a load-time assigned module ID. The module ID did require an extra level of indirection to find the entry point table for the module, so that was one downside.