From: Gwenole B. <gb...@di...> - 2004-01-20 22:47:23
|
> Actually, the sigsegv handler code is the same as for B2. I have just > hacked around to use Mach exceptions to handle screen faults (early so > that we don't need the whole context) + other faults like writes to > ROM. However, SheepShaver hangs early after a few seconds. I think > this is because we have not taught our Mach exception handler to > execute with an alternate stack (set by sigaltstack() or another means > we can define) as we should. Is that possible to do? Hmm, this doesn't change anything. Anyway, I have attached the current code I am experimenting. If MACH_EXCEPTIONS is set to 1 in main_unix.cpp, then MacOS would hang afterwards. I currently have no glue. Otherwise, it's "fine". i.e. does not hang but is slow. |