4 /* These macros are defined in both UNIX and AROS headers. Get rid of warnings. */
10 #include <aros/config.h>
11 #include <aros/kernel.h>
12 #include <exec/lists.h>
13 #include <exec/resident.h>
16 #include "hostinterface.h"
21 #if AROS_MODULES_DEBUG
22 /* gdb hooks from which it obtains modules list */
24 /* This is needed in order to bring in definition of struct segment */
25 #include "../../../rom/debug/debug_intern.h"
27 APTR AbsExecBase
= NULL
;
28 struct segment
*seg
= NULL
;
29 struct Resident
*res
= NULL
;
30 struct MinList
*Debug_ModList
= NULL
;
34 * Some helpful functions that link us to the underlying host OS.
35 * Without them we would not be able to estabilish any interaction with it.
37 static struct HostInterface _HostIFace
=
40 HOSTINTERFACE_VERSION
,
44 Host_HostLib_GetPointer
,
46 #if AROS_MODULES_DEBUG
53 void *HostIFace
= &_HostIFace
;