On Tue, 2004-08-03 at 14:18, Marc Kleine-Budde wrote: > Hi Philippe. > > I'm interested when and by whom the pod.svctable functions are used. > > What I've figured out so far: > > .tickhandler = set by xnpod_start_timer, called every tick in > periodic mode, in aperiodic mode at every shot
Yes. > .shutdown = not really used atm? Can be used by skins to intercept any shutdown request kicked by the nucleus itself or some other skin, and perform some housekeeping chores before linking to xnpod_shutdown() themselves (provides for a simple daisy chain mechanism). > .settime = not really used atm? Same as above for changing the nucleus's idea of time. e.g. your skin might be interested in knowing of internal calls changing the current time using the nucleus API, and not the skin one. > .faulthandler = if a trap is rised by the cpu, and a xnthread is active Yes, but a thread is not necessarily active at that moment. The handler should take care of identifying the faulting context. > .unload = if another pod should be loaded, the current is ased to > shutdown (used by fusion) > Yes. This one has been designed to allow skins to pop out the fusion skin since it is loaded by default, before installing themselves. Some may simply recycle it and install over it, like the new native API does. > Can you please comment this... > > What about the .shutdown and .settime handlers, are they > going to be used in the future, or even deleted? > Nope. Look at the pSOS skin for instance. > Marc -- Philippe.
