2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Modify the SR of the CPU (if supported)
9 /******************************************************************************
12 #include <proto/exec.h>
14 AROS_LH2(ULONG
, SetSR
,
17 AROS_LHA(ULONG
, newSR
, D0
),
18 AROS_LHA(ULONG
, mask
, D1
),
21 struct ExecBase
*, SysBase
, 24, Exec
)
24 Change the contents of the CPUs SR (status register).
27 newSR - New values for bits specified in the mask.
28 mask - Bits to be changed. All other bits are not effected.
31 The entire status register before it was changed or ~0UL if this
32 function is not supported.
46 ******************************************************************************/