xref: /haiku/src/system/kernel/arch/arm/arch_platform.cpp (revision 7a74a5df454197933bc6e80a542102362ee98703)
1 /*
2  * Copyright 2007, François Revol, revol@free.fr.
3  * Distributed under the terms of the MIT License.
4  *
5  * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
6  * All rights reserved. Distributed under the terms of the MIT License.
7  */
8 
9 //#include <arch_platform.h>
10 
11 #include <new>
12 
13 #include <KernelExport.h>
14 #include <arch/platform.h>
15 #include <boot/kernel_args.h>
16 //#include <platform/openfirmware/openfirmware.h>
17 #include <real_time_clock.h>
18 #include <util/kernel_cpp.h>
19 
20 
21 #if 0
22 static M68KPlatform *sM68KPlatform;
23 
24 
25 // constructor
26 M68KPlatform::M68KPlatform(platform_type platformType,
27 	m68k_platform_type m68kPlatformType)
28 	: fPlatformType(platformType),
29 	fM68KPlatformType(m68kPlatformType)
30 {
31 }
32 
33 
34 // destructor
35 M68KPlatform::~M68KPlatform()
36 {
37 }
38 
39 
40 // Default
41 M68KPlatform *
42 M68KPlatform::Default()
43 {
44 	return sM68KPlatform;
45 }
46 
47 
48 // # pragma mark -
49 #endif
50 
51 status_t
52 arch_platform_init(struct kernel_args *kernelArgs)
53 {
54 	#warning ARM:WRITEME
55 	return B_OK;
56 }
57 
58 
59 status_t
60 arch_platform_init_post_vm(struct kernel_args *kernelArgs)
61 {
62 	#warning ARM:WRITEME
63 	//sM68KPlatform->InitPostVM(kernelArgs);
64 	return B_OK;
65 }
66 
67 
68 status_t
69 arch_platform_init_post_thread(struct kernel_args *kernelArgs)
70 {
71 	return B_OK;
72 }
73