revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-mingw32 / kernel / kernel_debug.c
blob73813a0ea371cd1394d0f0064316716f85dba018
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
8 #include <stdarg.h>
10 #include "hostinterface.h"
11 #include "kernel_base.h"
12 #include "kernel_intern.h"
13 #include "kernel_cpu.h"
16 * KernelBase is an optional parameter here. During
17 * very early startup it can be NULL.
19 int krnPutC(int chr, struct KernelBase *KernelBase)
21 int r;
24 * During early boot SysBase may hold some old value (after warm reboot),
25 * but KernelBase is always NULL.
27 if (KernelBase)
28 Forbid();
30 r = HostIFace->KPutC(chr);
32 if (KernelBase)
33 Permit();
35 return r;