detect if the compiler supports -fno-builtin and -fno-builtin-vsnprintf. (NicJA)
[AROS.git] / arch / m68k-amiga / lowlevel / stoptimerint.c
blobe549853f75df29d479734f2501439a60161c066a
1 /*
2 Copyright © 2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/libcall.h>
8 #include <proto/cia.h>
10 #include <exec/types.h>
11 #include <libraries/lowlevel.h>
12 #include <hardware/cia.h>
13 #include <resources/cia.h>
15 #include "lowlevel_intern.h"
16 #include "cia_intern.h"
17 #include "cia_timer.h"
19 AROS_LH1(VOID, StopTimerInt,
20 AROS_LHA(APTR , intHandle, A1),
21 struct LowLevelBase *, LowLevelBase, 15, LowLevel)
23 AROS_LIBFUNC_INIT
25 struct CIABase *CiaBase = (struct CIABase *)LowLevelBase->ll_CIA.llciat_Base;
27 if (LowLevelBase->ll_CIA.llciat_iCRBit == CIAICRB_TA)
29 CiaBase->hw->ciacra &= CIASTOP_A;
31 else
33 CiaBase->hw->ciacrb &= CIASTOP_B;
35 return;
37 AROS_LIBFUNC_EXIT