« Return to Thread: Application Exception Handling

Re: Application Exception Handling

by kalyani :: Rate this Message:

Reply to Author | View in Thread

Hi, thanks for the reply. Actually i am new to this concept, i have gone through the links which you have sent. How to write our own exception handlers into VSR is what i want to know. I want to implement this at Application level. Kernel exception is the default configuration as i understood from the document. It is given that VSRshould be written in assembly language for Application exception handler. Can you please clarify all my doubts and please can you provide me any example codes for this exception handlers if any which have already been  implemented.

Regards,
Kalyani
Nick Garnett wrote:
kalyani <Kalyani.Korubilli@Honeywell.com> writes:

> Hi all,
> I am working on ECOS operating system. In this i want to implement the
> exception handlers to my application. i have gone through some documents
> provided in the site but i am unable to find the procedure to implement the
> exception handlers. Can you tell me where can i get the information
> regarding this, any recent documents are there? or can anyone suggest me
> some idea to implement the Application Exception handling.

If you want to handle hardware exceptions then you can either plug
your own routines into the VSR table or enable the kernel exception
delivery mechanism. Documentation for the former can be found here:

http://ecos.sourceware.org/docs-latest/ref/hal-interrupt-handling.html

Documentation for the latter can be found here:

http://ecos.sourceware.org/docs-latest/ref/kernel-exceptions.html

--
Nick Garnett                                 eCos Kernel Architect
http://www.ecoscentric.com            The eCos and RedBoot experts

 « Return to Thread: Application Exception Handling