OSDev.org

The Place to Start for Operating System Developers
It is currently Sun May 19, 2024 11:25 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MicroSparc trap handling
PostPosted: Fri Dec 23, 2005 3:17 pm 
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


Top
  
 
 Post subject: Re:MicroSparc trap handling
PostPosted: Fri Dec 23, 2005 6:01 pm 
Offline
Member
Member
User avatar

Joined: Fri Nov 04, 2005 12:00 am
Posts: 381
Location: Serbia
The Sparc Architecture Manuals: http://www.nondot.org/sabre/os/articles ... hitecture/

If that's what are you looking for.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 59 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group