trishna
unread,Mar 29, 2012, 11:36:08 PM3/29/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 ?