Trying to get trap/leave to work properly but the whole WINS stuff seems over complicated with a lot of assembly in the middle and it's not working on my compiler. When the throw happens the debugger complains about uncaught exception when I'm definitly inside a catch implemented by our TRAP.
I think I'm going to come up with a much simplified trap/leave implementation for SYMC. On my prototype all that stuff was working fine in like 20 lines of C++.
# component name "Kernel Architecture 2"
component base_e32
source \sf\os\kernelhwsrv\kernel\eka\bmarm
source \sf\os\kernelhwsrv\kernel\eka\bwins
source \sf\os\kernelhwsrv\kernel\eka\bx86
source \sf\os\kernelhwsrv\kernel\eka\bx86gcc
source \sf\os\kernelhwsrv\kernel\eka\documentation
source \sf\os\kernelhwsrv\kernel\eka\eabi
source \sf\os\kernelhwsrv\kernel\eka\include
source \sf\os\kernelhwsrv\kernel\eka\kernel
source \sf\os\kernelhwsrv\kernel\eka\klib
source \sf\os\kernelhwsrv\kernel\eka\memmodel
source \sf\os\kernelhwsrv\kernel\eka\nkern
source \sf\os\kernelhwsrv\kernel\eka\nkernsmp
source \sf\os\kernelhwsrv\kernel\eka\personality
source \sf\os\kernelhwsrv\kernel\eka\rombuild
source \sf\os\kernelhwsrv\kernel\eka\drivers\paging
source \sf\os\kernelhwsrv\kernel\eka\drivers\pipe
source \sf\os\kernelhwsrv\kernel\eka\base_e32.mrp
source \sf\os\kernelhwsrv\kernel\eka\base.bld
source \sf\os\kernelhwsrv\kernel\eka\bld.inf
source \sf\os\kernelhwsrv\kernel\eka\configure.pl
source \sf\os\kernelhwsrv\kernel\eka\doit.cmd
source \sf\os\kernelhwsrv\kernel\eka\generic.inf
source \sf\os\kernelhwsrv\kernel\eka\release.txt
source \sf\os\kernelhwsrv\kernel\eka\release_old.txt
source \sf\os\kernelhwsrv\kernel\eka\tests.cmd
source \sf\os\kernelhwsrv\kernel\eka\distribution.policy.s60
binary \sf\os\kernelhwsrv\kernel\eka all
exports \sf\os\kernelhwsrv\kernel\eka
-export_file \sf\os\kernelhwsrv\kernel\eka\include\dummy_genexec.zip \epoc32\include\exec_enum.h
-export_file \sf\os\kernelhwsrv\kernel\eka\include\dummy_genexec.zip \epoc32\include\exec_user.h
-export_file \sf\os\kernelhwsrv\kernel\eka\include\dummy_genexec.zip \epoc32\include\kernel\exec_kernel.h
notes_source \component_defs\release.src
binary \epoc32\include\exec_enum.h
binary \epoc32\include\exec_user.h
binary \epoc32\include\kernel\exec_kernel.h
ipr D
ipr D \sf\os\kernelhwsrv\kernel\eka\include\memmodel\epoc\multiple\arm
# ARM have given permission to redistribute on DevKits and CustKits.
ipr D \sf\os\kernelhwsrv\kernel\eka\memmodel\epoc\multiple\arm
# ARM have given permission to redistribute on DevKits and CustKits.
ipr T \sf\os\kernelhwsrv\kernel\eka\personality