wip.
[AROS.git] / arch / arm-native / kernel / maygetchar.c
blob4ae67e345704223d2e57e69bc74967eadf2995c3
1 /*
2 Copyright © 2013-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/kernel.h>
8 #include <kernel_base.h>
9 #include <kernel_debug.h>
10 #include "kernel_intern.h"
12 #include <proto/kernel.h>
13 #include <stdint.h>
15 /* See rom/kernel/maygetchar.c for documentation */
17 AROS_LH0(int, KrnMayGetChar,
18 struct KernelBase *, KernelBase, 26, Kernel)
20 AROS_LIBFUNC_INIT
22 if (__arm_arosintern.ARMI_SerGetChar)
23 return __arm_arosintern.ARMI_SerGetChar();
25 return -1;
27 AROS_LIBFUNC_EXIT