refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / kernel / virtualtophysical.c
blob8e3bf61373179b512450a90d58088a4091ceefba
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_LH1I(void *, KrnVirtualToPhysical,
20 /* SYNOPSIS */
21 AROS_LHA(void *, virtual, A0),
23 /* LOCATION */
24 struct KernelBase *, KernelBase, 20, Kernel)
26 /* FUNCTION
28 INPUTS
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 ******************************************************************************/
44 AROS_LIBFUNC_INIT
46 /* The implementation is entirely architecture-specific */
47 return virtual;
49 AROS_LIBFUNC_EXIT