config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / arch / .unmaintained / m68k-emul / setsr.c
blob793fe4b9f2f288e3d78235f492010999c66199fb
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Modify the SR of the CPU (if supported)
6 Lang: english
7 */
9 /******************************************************************************
11 NAME */
12 #include <proto/exec.h>
14 AROS_LH2(ULONG, SetSR,
16 /* SYNOPSIS */
17 AROS_LHA(ULONG, newSR, D0),
18 AROS_LHA(ULONG, mask, D1),
20 /* LOCATION */
21 struct ExecBase *, SysBase, 24, Exec)
23 /* FUNCTION
24 Change the contents of the CPUs SR (status register).
26 INPUTS
27 newSR - New values for bits specified in the mask.
28 mask - Bits to be changed. All other bits are not effected.
30 RESULT
31 The entire status register before it was changed or ~0UL if this
32 function is not supported.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 HISTORY
46 ******************************************************************************/
48 return ~0UL;
49 } /* SetSR */