I am trying to handle a series of exceptions thrown by various cache and bus situations. I have installed hooks in the config file and they are getting called as required. Unfortunately, by the time they are called, somewhere down the line in Exception.c, the stack pointer is mangled and is different than when the exception handler was entered, so I can't dump the correct stack. I would like to just store off the stack into some static location at the outset of the excursion into Exception_handler(), but to do this I have to edit and re-compile the file, Exception.c. How do I go about doing such a thing?
relevant entities
bios 6_33_05_46
omap 4430