revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-native / kernel / kernel_debug.c
blobf2f02f496e5f54b635dd275a5365530e381e5911
1 /*
2 Copyright © 2013-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/kernel.h>
7 #include <inttypes.h>
9 #include <kernel_base.h>
10 #include <kernel_debug.h>
11 #include "kernel_intern.h"
13 int krnPutC(int chr, struct KernelBase *KernelBase)
15 if (chr == 0x03)
16 __arm_arosintern.ARMI_PutChar = NULL;
17 else
19 if (__arm_arosintern.ARMI_PutChar)
20 __arm_arosintern.ARMI_PutChar(chr);
21 if (__arm_arosintern.ARMI_SerPutChar)
22 __arm_arosintern.ARMI_SerPutChar(chr);
24 return 1;