* implement RawThunk for Aarch64

git-svn-id: trunk@42991 -
This commit is contained in:
svenbarth 2019-09-13 20:38:31 +00:00
parent d6381a3477
commit 492f1ac4be

View File

@ -929,6 +929,26 @@ asm
.long RawThunkPlaceholderContext
RawThunkEnd:
end;
{$elseif defined(cpuaarch64)}
const
RawThunkPlaceholderProc = $8765876587658765;
RawThunkPlaceholderContext = $4321432143214321;
type
TRawThunkProc = PtrUInt;
TRawThunkContext = PtrUInt;
procedure RawThunk; assembler; nostackframe;
asm
ldr x16, .LProc
ldr x0, .LContext
br x16
.LProc:
.quad RawThunkPlaceholderProc
.LContext:
.quad RawThunkPlaceholderContext
RawThunkEnd:
end;
{$elseif defined(cpum68k)}
const
RawThunkPlaceholderProc = $87658765;