The document 82-000420-07 "VDK (Kernel) User's guide" says that I can specify my own code dealing with KernelPanic condition, however the text isn't any helpful regarding how do I do it exactly.
I run VDK on ADSP-BF518 processor. What I need is to output error information on standard device prior to halting the system.
I have already put the appropriate code into each thread's <thread_name>::ErrorHandler() function prior to calling VDK::Thread::ErrorHandler(), but that doesn't seem to address all the faulty situations. For example this doesn't address any failure during creation of boot thread.
On the bottom line: there still are situations when KernelPanic() executes without calling my additional code prior to it. How do I fix it?
Any thoughts are highly welcome. Thanks.
p/s thanks Craig, your answer addresses my problem completely