Does anybody have *ANY* information on the MicroSparc architecture? In particular, how to handle traps?
I've got a Scientific Atlanta settop box which uses a MicroSparc processor. I've seen it generate trap codes from 0 to 9 (at least). I'd like to hook these traps in order to run my own function upon any trap.
The above, alone, would be great info to have.
Above that, if someone actually happened to have a handler that also printed out the stacktrace, that would be golden! I'd imagine I can just take the current address of the last argument of the reset handling function and either increment and decrement the pointer while printing... but I don't know much about this architecture. Are there privelege levels? If so, I might have to somehow obtain a pointer to a stack from a different privelege level...
Any information would be greatly appreciated!
Thanks,
Jeff
MicroSparc trap handling
- kataklinger
- Member
- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
Re:MicroSparc trap handling
The Sparc Architecture Manuals: http://www.nondot.org/sabre/os/articles ... hitecture/
If that's what are you looking for.
If that's what are you looking for.