mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
[FREELDR][NTOS][HALPPC][SDK] Remove PowerPC code
Remove PowerPC-related code from the kernel, HAL, SDK and Freeloader.
This commit is contained in:
parent
911fc3cf5b
commit
6ef6fabfc5
88 changed files with 0 additions and 17348 deletions
|
@ -43,8 +43,6 @@ else()
|
|||
i386/framebased-gcchack-asm.S)
|
||||
elseif(ARCH STREQUAL "amd64")
|
||||
list(APPEND SOURCE amd64/framebased.S)
|
||||
elseif(ARCH STREQUAL "powerpc")
|
||||
list(APPEND SOURCE powerpc/framebased.S)
|
||||
endif()
|
||||
|
||||
add_library(pseh ${SOURCE} ${ASM_SOURCE})
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
// 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.
|
||||
|
||||
.text
|
||||
|
||||
.globl _SEHCleanHandlerEnvironment
|
||||
_SEHCleanHandlerEnvironment:
|
||||
blr
|
||||
|
||||
.globl _SEHCurrentRegistration
|
||||
_SEHCurrentRegistration:
|
||||
lwz 3,0(13)
|
||||
blr
|
||||
|
||||
// R3: Frame to store in
|
||||
.globl _SEHRegisterFrame
|
||||
_SEHRegisterFrame:
|
||||
lwz 4,0(13)
|
||||
stw 3,0(13)
|
||||
stw 4,0(3)
|
||||
blr
|
||||
|
||||
.globl _SEHUnregisterFrame
|
||||
_SEHUnregisterFrame:
|
||||
lwz 3,0(13)
|
||||
lwz 3,0(3)
|
||||
stw 3,0(13)
|
||||
blr
|
||||
|
||||
.globl _SEHGlobalUnwind
|
||||
_SEHGlobalUnwind:
|
||||
|
||||
.extern _SEHRtlUnwind
|
||||
|
||||
// RtlUnwind clobbers all the "don't clobber" registers, so we save them
|
||||
lwz 3,4(1)
|
||||
stwu 1,-132(1)
|
||||
stmw 2,-128(1)
|
||||
|
||||
xor 6,6,6
|
||||
xor 5,5,5
|
||||
lis 4,.RestoreRegisters@ha
|
||||
addi 4,4,.RestoreRegisters@l # Where to jump back to
|
||||
# We already have r3
|
||||
bl _SEHRtlUnwind
|
||||
|
||||
.RestoreRegisters:
|
||||
lmw 2,-128(1)
|
||||
addi 1,1,132
|
||||
blr
|
||||
|
||||
// EOF
|
Loading…
Add table
Add a link
Reference in a new issue