2 * Copyright (C) 2012, The AROS Development Team. All rights reserved.
3 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
5 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
8 #include <aros/debug.h>
9 #include <aros/symbolsets.h>
10 #include <proto/debug.h>
11 #include <libraries/debug.h>
13 #include "debug_intern.h"
16 #define module_t parthenope_module_t
17 #include "kernel_intern.h"
20 #include "kernel_base.h"
22 static int Debug_Init_Arch(struct Library
*DebugBase
)
24 struct KernelBase
*KernelBase
= DBGBASE(DebugBase
)->db_KernelBase
;
25 if (KernelBase
&& KernelBase
->kb_PlatformData
&&
26 KernelBase
->kb_PlatformData
->pd_DebugInfo
) {
27 D(bug("[Debug] Adding KickStart module info at %p\n", KernelBase
->kb_PlatformData
->pd_DebugInfo
));
28 RegisterModule("KickStart", NULL
, DEBUG_PARTHENOPE
, KernelBase
->kb_PlatformData
->pd_DebugInfo
);
34 ADD2INITLIB(Debug_Init_Arch
, 127)