Hardware Error Handling with C or C++
Good evening.
I have a question for you here, wish somebody could help me. I was wondering if it is possible to handle hardware and low level errors (like segmentation faults, divisions by 0) with a program written in C or C++ instead of letting the kernel to handle it; just as the virtual machines (like Java's one) do.
Why would I like to do that? I have to simulate virtual machines' behaviour in some different platforms.. Currently I just discovered that in Windows is simply not possible. Is it possible in Linux?
Last edited by benz; 10-25-2007 at 05:03 PM.
|