xref: /haiku/src/system/kernel/arch/arm/arch_platform.cpp (revision 410ed2fbba58819ac21e27d3676739728416761d)
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 <KernelExport.h>
10 #include <arch/platform.h>
11 #include <boot/kernel_args.h>
12 
13 
14 status_t
15 arch_platform_init(struct kernel_args *kernelArgs)
16 {
17 	// NOTE: dprintf() is off-limits here, too early...
18 
19 	return B_OK;
20 }
21 
22 status_t
23 arch_platform_init_post_vm(struct kernel_args *kernelArgs)
24 {
25 	// no area to create, since we pass the FDT in the kernel_args
26 	// and the VM automagically creates the area's (with B_EXACT_ADDRESS)
27 	// for them.
28 	return B_OK;
29 }
30 
31 
32 status_t
33 arch_platform_init_post_thread(struct kernel_args *kernelArgs)
34 {
35 	// now we can create and use semaphores
36 	return B_OK;
37 }
38