grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / kernel / obtaininput.c
blobe49aeda65f2abd2a7bc0d7ff40b3c2388aafbf8c
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/kernel.h>
9 #include <aros/libcall.h>
11 #include <kernel_base.h>
13 /*****************************************************************************
15 NAME */
16 #include <proto/kernel.h>
18 AROS_LH0I(int, KrnObtainInput,
20 /* SYNOPSIS */
22 /* LOCATION */
23 struct KernelBase *, KernelBase, 33, Kernel)
25 /* FUNCTION
26 Take over low-level debug input hardware and initialize the input
28 INPUTS
29 None
31 RESULT
32 Nonzero for success, zero for failure (for example there's no input channel)
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 AROS_LIBFUNC_INIT
49 * The implementation of this function is entirely architecture-specific (at least for now).
50 * In fact this is a placeholder for an advanced low-level I/O subsystem, which will allow
51 * various hardware drivers (like ethernet) to provide their own debug I/O channels.
52 * This will allow to perform remote debugging and read boot logs on machines without serial
53 * ports, for example over Ethernet/USB/whatever.
55 return 0;
57 AROS_LIBFUNC_EXIT