*sigh* make sure the argument is split
[AROS.git] / arch / all-unix / kernel / cli.c
blob2d6bb97716d07d192f2ad46d5bf398c3b5fb63e1
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/libcall.h>
8 #include <signal.h>
10 #include "kernel_base.h"
11 #include "kernel_intern.h"
13 #include <proto/kernel.h>
15 /* See rom/kernel/cli.c for documentation */
17 AROS_LH0(void, KrnCli,
18 struct KernelBase *, KernelBase, 9, Kernel)
20 AROS_LIBFUNC_INIT
22 /* This check is needed for early atomics on ARM <v6, which are Disable()/Enable()-based */
23 if (KernelBase->kb_PlatformData->iface)
25 KernelBase->kb_PlatformData->iface->sigprocmask(SIG_BLOCK, &KernelBase->kb_PlatformData->sig_int_mask, NULL);
26 AROS_HOST_BARRIER
29 AROS_LIBFUNC_EXIT