AROS: Make sure opaque SMP extension is used for ABIv11 only

These changes adds an additional record field to record structure TMsgPort in
order to support SMP for ABIv11 (non m68k targets only).

This additional field contains two opaque IPTR's/PtrUInt's and therefor breaks
compatibility between ABIv0, ABIv1 and ABIv11 as well as make them binary
incompatible.

It also renders ABIv11 incompatible with itself when this change was introduced
on march 18 2022. Recompilation of existing code for this ABI is thus required.

See: b9bc67accc
This commit is contained in:
magorium 2022-05-12 23:25:15 +02:00 committed by Charlie Balogh
parent c660120329
commit 4058a0ac4b
2 changed files with 8 additions and 0 deletions

View File

@ -652,6 +652,10 @@ type
{$endif}
{$endif}
{$endif}
{$else}
{$ifndef CPUM68K}
mp_Private: array[0..1] of IPTR; // Private extension field
{$endif}
{$endif}
end;

View File

@ -618,6 +618,10 @@ type // Checked OK 05.08.2011 ALB
{$endif}
{$endif}
{$endif}
{$else}
{$ifndef CPUM68K}
mp_Private: array[0..1] of PtrUInt;
{$endif}
{$endif}
end;