|
@@ -86,6 +86,7 @@ const
|
|
LFalse: LongInt = 0;
|
|
LFalse: LongInt = 0;
|
|
|
|
|
|
// spinlock
|
|
// spinlock
|
|
|
|
+{$ifdef AROS_ABIv1}
|
|
{$ifdef AROSPLATFORM_SMP}
|
|
{$ifdef AROSPLATFORM_SMP}
|
|
type
|
|
type
|
|
TSpinLock =
|
|
TSpinLock =
|
|
@@ -106,6 +107,7 @@ type
|
|
3: (pad_align: packed array[0..128-1] of byte); // ensure 128 byte record size
|
|
3: (pad_align: packed array[0..128-1] of byte); // ensure 128 byte record size
|
|
end;
|
|
end;
|
|
{$endif}
|
|
{$endif}
|
|
|
|
+{$endif}
|
|
|
|
|
|
type
|
|
type
|
|
// List Node Structure. Each member in a list starts with a Node
|
|
// List Node Structure. Each member in a list starts with a Node
|
|
@@ -638,12 +640,14 @@ type
|
|
mp_SigBit: Byte; { signal bit number }
|
|
mp_SigBit: Byte; { signal bit number }
|
|
mp_SigTask: Pointer; { task to be signalled (TaskPtr) }
|
|
mp_SigTask: Pointer; { task to be signalled (TaskPtr) }
|
|
mp_MsgList: TList; { message linked list }
|
|
mp_MsgList: TList; { message linked list }
|
|
|
|
+{$ifdef AROS_ABIv1}
|
|
{$ifdef AROSPLATFORM_SMP}
|
|
{$ifdef AROSPLATFORM_SMP}
|
|
{$ifdef AROSEXEC_SMP}
|
|
{$ifdef AROSEXEC_SMP}
|
|
mp_SpinLock: TSpinLock;
|
|
mp_SpinLock: TSpinLock;
|
|
{$else}
|
|
{$else}
|
|
mp_Pad: TSpinlock;
|
|
mp_Pad: TSpinlock;
|
|
{$endif}
|
|
{$endif}
|
|
|
|
+{$endif}
|
|
{$endif}
|
|
{$endif}
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -868,12 +872,14 @@ type
|
|
TSemaphoreRequest = record
|
|
TSemaphoreRequest = record
|
|
sr_Link: TMinNode;
|
|
sr_Link: TMinNode;
|
|
sr_Waiter: PTask;
|
|
sr_Waiter: PTask;
|
|
|
|
+{$ifdef AROS_ABIv1}
|
|
{$ifdef AROSPLATFORM_SMP}
|
|
{$ifdef AROSPLATFORM_SMP}
|
|
{$ifdef AROSEXEC_SMP}
|
|
{$ifdef AROSEXEC_SMP}
|
|
sr_SpinLock: TSpinLock;
|
|
sr_SpinLock: TSpinLock;
|
|
{$else}
|
|
{$else}
|
|
sr_pad: TSpinLock;
|
|
sr_pad: TSpinLock;
|
|
{$endif}
|
|
{$endif}
|
|
|
|
+{$endif}
|
|
{$endif}
|
|
{$endif}
|
|
end;
|
|
end;
|
|
|
|
|