From d5a17d2df21cda0411acacf2a219b569db03765a Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Tue, 4 Sep 2012 18:33:13 +0000 Subject: [PATCH] arch/m68k-amiga: Provide dummy KrnObtainInput/KrnReleaseInput routines Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45729 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/m68k-amiga/kernel/mmakefile.src | 2 +- arch/m68k-amiga/kernel/obtaininput.c | 44 +++++++++++++++++++++++++++++++++++ arch/m68k-amiga/kernel/releaseinput.c | 44 +++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 arch/m68k-amiga/kernel/obtaininput.c create mode 100644 arch/m68k-amiga/kernel/releaseinput.c diff --git a/arch/m68k-amiga/kernel/mmakefile.src b/arch/m68k-amiga/kernel/mmakefile.src index 1b6b0be57b..f257eaba4b 100644 --- a/arch/m68k-amiga/kernel/mmakefile.src +++ b/arch/m68k-amiga/kernel/mmakefile.src @@ -2,7 +2,7 @@ include $(TOP)/config/make.cfg FILES=cause cli sti kernel_debug kernel_timer maygetchar amiga_irq \ - getbootinfo kernel_globals + getbootinfo kernel_globals obtaininput releaseinput AFILES= diff --git a/arch/m68k-amiga/kernel/obtaininput.c b/arch/m68k-amiga/kernel/obtaininput.c new file mode 100644 index 0000000000..91c81204ef --- /dev/null +++ b/arch/m68k-amiga/kernel/obtaininput.c @@ -0,0 +1,44 @@ +#include +#include + +#include + +/***************************************************************************** + + NAME */ +#include + +AROS_LH0I(int, KrnObtainInput, + +/* SYNOPSIS */ + +/* LOCATION */ + struct KernelBase *, KernelBase, 33, Kernel) + +/* FUNCTION + Take over low-level debug input hardware and initialize the input + + INPUTS + None + + RESULT + Nonzero for success, zero for failure (for example there's no input channel) + + NOTES + + EXAMPLE + + BUGS + + SEE ALSO + + INTERNALS + +******************************************************************************/ +{ + AROS_LIBFUNC_INIT + + return TRUE; + + AROS_LIBFUNC_EXIT +} diff --git a/arch/m68k-amiga/kernel/releaseinput.c b/arch/m68k-amiga/kernel/releaseinput.c new file mode 100644 index 0000000000..2f3a815d40 --- /dev/null +++ b/arch/m68k-amiga/kernel/releaseinput.c @@ -0,0 +1,44 @@ +#include +#include + +#include + +/***************************************************************************** + + NAME */ +#include + +AROS_LH0I(void, KrnReleaseInput, + +/* SYNOPSIS */ + +/* LOCATION */ + struct KernelBase *, KernelBase, 34, Kernel) + +/* FUNCTION + Release low-level debug input hardware and hand it back to the operating system + + INPUTS + None + + RESULT + None + + NOTES + + EXAMPLE + + BUGS + + SEE ALSO + + INTERNALS + +******************************************************************************/ +{ + AROS_LIBFUNC_INIT + + /* Nothing to do */ + + AROS_LIBFUNC_EXIT +} -- 2.11.4.GIT