Author: arty Date: Sun Jun 25 01:56:05 2006 New Revision: 22594
URL: http://svn.reactos.org/svn/reactos?rev=22594&view=rev Log: PowerPC wip stragglers.
Added: branches/powerpc/reactos/lib/pseh/powerpc/ branches/powerpc/reactos/lib/pseh/powerpc/framebased.s branches/powerpc/reactos/lib/pseh/powerpc/setjmp.s
Added: branches/powerpc/reactos/lib/pseh/powerpc/framebased.s URL: http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/lib/pseh/powerpc... ============================================================================== --- branches/powerpc/reactos/lib/pseh/powerpc/framebased.s (added) +++ branches/powerpc/reactos/lib/pseh/powerpc/framebased.s Sun Jun 25 01:56:05 2006 @@ -1,0 +1,50 @@ +# Copyright (c) 2004/2005 KJK::Hyperion + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to dos so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + + .section .text + + .globl __SEHCleanHandlerEnvironment +__SEHCleanHandlerEnvironment: + blr + + .globl __SEHCurrentRegistration +__SEHCurrentRegistration: + blr + + .globl __SEHRegisterFrame +__SEHRegisterFrame: + blr + + .globl __SEHUnregisterFrame +__SEHUnregisterFrame: + blr + + .globl __SEHGlobalUnwind +__SEHGlobalUnwind: + + .globl __SEHRtlUnwind + +# RtlUnwind clobbers all the "don't clobber" registers, so we save them + blr + +.RestoreRegisters: + blr + +# EOF
Added: branches/powerpc/reactos/lib/pseh/powerpc/setjmp.s URL: http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/lib/pseh/powerpc... ============================================================================== --- branches/powerpc/reactos/lib/pseh/powerpc/setjmp.s (added) +++ branches/powerpc/reactos/lib/pseh/powerpc/setjmp.s Sun Jun 25 01:56:05 2006 @@ -1,0 +1,43 @@ +# Copyright (c) 2004/2005 KJK::Hyperion + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to dos so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + + .section .text + +# Note: the undecorated names are for Borland C++ (and possibly other compilers +# using the OMF format) + .globl _SEHSetJmp + .globl __SEHSetJmp +_SEHSetJmp: +__SEHSetJmp: + blr + + .globl _SEHLongJmp + .globl __SEHLongJmp +_SEHLongJmp: +__SEHLongJmp: + blr + + .globl _SEHLongJmp_KeepEsp + .globl __SEHLongJmp_KeepEsp +_SEHLongJmp_KeepEsp: +__SEHLongJmp_KeepEsp: + blr + +# EOF