gcc-4.6.2: Update with patch for gengtype.c
[AROS.git] / rom / kernel / obtaininput.c
blob5324acf00a2cc2c0d7e84979e88a15fd872b3d89
1 #include <aros/kernel.h>
2 #include <aros/libcall.h>
4 #include <kernel_base.h>
6 /*****************************************************************************
8 NAME */
9 #include <proto/kernel.h>
11 AROS_LH0I(int, KrnObtainInput,
13 /* SYNOPSIS */
15 /* LOCATION */
16 struct KernelBase *, KernelBase, 33, Kernel)
18 /* FUNCTION
19 Take over low-level debug input hardware and initialize the input
21 INPUTS
22 None
24 RESULT
25 Nonzero for success, zero for failure (for example there's no input channel)
27 NOTES
29 EXAMPLE
31 BUGS
33 SEE ALSO
35 INTERNALS
37 ******************************************************************************/
39 AROS_LIBFUNC_INIT
42 * The implementation of this function is entirely architecture-specific (at least for now).
43 * In fact this is a placeholder for an advanced low-level I/O subsystem, which will allow
44 * various hardware drivers (like ethernet) to provide their own debug I/O channels.
45 * This will allow to perform remote debugging and read boot logs on machines without serial
46 * ports, for example over Ethernet/USB/whatever.
48 return 0;
50 AROS_LIBFUNC_EXIT