Make (nearly all) argument values canonical by wrapping them in double
[AROS.git] / arch / ppc-sam440 / debug / debug_init_arch.c
blob9c7aa3bec44555befd4573558bd4bc839b595bcd
1 /*
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
6 */
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"
14 #undef KernelBase
16 #define module_t parthenope_module_t
17 #include "kernel_intern.h"
18 #undef module_t
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);
31 return 1;
34 ADD2INITLIB(Debug_Init_Arch, 127)