Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Implement an abstraction layer over VxWorks to provide handles for exception handling & memory management

28 views
Skip to first unread message

trishna

unread,
Mar 29, 2012, 11:36:08 PM3/29/12
to
I have just started working on VxWorks. I am currently working on the
following :-

I need to create a framework which will encompass exception handling &
memory management (detecting null pointer usage, for instance). All in
all, it will be like an abstraction layer over the operating system.
This framework will be in the form of a downloadable kernel module.
Unit tests (also DKM's) would draw from this framework.

I want to manipulate the exception handlers & handle them myself, but
I don't know how (I am aware that edrStub.c can be modified for
customizing the default response to standard exceptions). What I want
to do is, when an exception is generated, to stop the task, which
anyways is the default for kernel errors & show the error log to the
user at the console (something similar to edrShow & i commands).

Can you provide me with some guidelines as to how I should go about
achieving my objective ?

Another question that I have is, the ED&R component needs to be
configured with the kernel image in order to work with certain API'S
(if i understand correctly), but if its a DKM which is already in
kernel space, doesn't it have complete access to the memory (RAM,
persistent memory) & hence can directly gain access ?
0 new messages