haiku/src
Ingo Weinhold 7176dd57e5 Reworked the exception handling code. The former one ran into the
void after turning off BAT for the segment containing itself.
The monster macro for the exception vector code was not really
elegant besides being too long for the 32 byte performance
monitor exception slot. Furthermore wasting three of the SPRG*
registers as cheap scratch memory wasn't that nice either.

We now have a three-step approach: The exception vectors
themselves contain only five instructions which branch to common
code at the beginning of the same physical page. That one sets
up BAT for itself, turns address translation back on and jumps
into the kernel. There we turn off BAT again, dump an iframe,
and enter the actual exception handler (/dispatcher). Upon return
the registers are restored from the iframe and we get back to the
place where the exception occurred.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 03:30:52 +00:00
..
add-ons Minor cleanup. 2006-01-08 13:59:37 +00:00
apps our elf resolver has a problem with previous way of linking with FSUtils 2006-01-08 16:25:28 +00:00
bin Missing include. 2006-01-07 19:30:34 +00:00
build bfs_shell now also builds under Linux/PPC, not tested yet, though. 2006-01-08 13:19:12 +00:00
data Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
documentation Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
kits ServerFont: 2006-01-08 22:04:52 +00:00
libs * Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true. 2005-11-07 16:07:25 +00:00
preferences Improved debug output in case adding the volume tray icon failed. 2006-01-03 22:59:23 +00:00
servers ServerFont: 2006-01-08 22:04:52 +00:00
system Reworked the exception handling code. The former one ran into the 2006-01-09 03:30:52 +00:00
tests Imported r15693 to the R5 version of BFS: fixed endian issues. 2006-01-08 13:55:56 +00:00
tools The server lazily opens the disk image now and closes and reopens it 2005-12-30 03:34:37 +00:00
Jamfile Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00