7afa713acb
Basically the architecture specific code is now responsible to init and make use of the platform specific code, now. The reason being that we have only one kernel per platform and thus cannot decide at compile time, which platform to use (if any). The PPC implementation features an abstract base class PPCPlatform (implemented for all supported platforms) through which platform support is provided. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15824 a95241bf-73f2-0310-859d-f6bbb57e9c96
25 lines
501 B
C
25 lines
501 B
C
/*
|
|
* Copyright 2005, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
|
|
* All rights reserved. Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _KERNEL_ARCH_PLATFORM_H
|
|
#define _KERNEL_ARCH_PLATFORM_H
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
struct kernel_args;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
status_t arch_platform_init(struct kernel_args *kernelArgs);
|
|
status_t arch_platform_init_post_vm(struct kernel_args *kernelArgs);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
|
|
#endif // _KERNEL_ARCH_PLATFORM_H
|