m68k: use the Amiga-specific atomic ops on Amiga

git-svn-id: trunk@30903 -
This commit is contained in:
Károly Balogh 2015-05-24 21:44:51 +00:00
parent f52b039311
commit 846dd6b57b
2 changed files with 3 additions and 1 deletions

View File

@ -114,6 +114,7 @@ implementation
{$I system.inc}
{$I osdebug.inc}
{$I m68kamiga.inc}
{$IFDEF AMIGAOS4}
// Required to allow opening of utility library interface...

View File

@ -384,7 +384,7 @@ asm
@LMEMSET3:
end;
{$IFNDEF HASAMIGA}
function InterLockedDecrement (var Target: longint) : longint;
begin
{$warning FIX ME}
@ -424,6 +424,7 @@ function InterlockedCompareExchange(var Target: longint; NewValue: longint; Comp
if Target = Comperand then
Target := NewValue;
end;
{$ENDIF HASAMIGA}
{$if defined(CPUM68K_HAS_BYTEREV) or defined(CPUM68K_HAS_ROLROR)}
{ Disabled for now, because not all cases below were tested. (KB) }