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
14void* gFDT = NULL;
15
16
17status_t
18arch_platform_init(struct kernel_args *kernelArgs)
19{
20	gFDT = kernelArgs->arch_args.fdt;
21	return B_OK;
22}
23
24status_t
25arch_platform_init_post_vm(struct kernel_args *kernelArgs)
26{
27	// no area to create, since we pass the FDT in the kernel_args
28	// and the VM automagically creates the area's (with B_EXACT_ADDRESS)
29	// for them.
30	return B_OK;
31}
32
33
34status_t
35arch_platform_init_post_thread(struct kernel_args *kernelArgs)
36{
37	// now we can create and use semaphores
38	return B_OK;
39}
40