1/*
2** Copyright 2003, Axel D��rfler, axeld@pinc-software.de. All rights reserved.
3** Distributed under the terms of the MIT License.
4*/
5#ifndef KERNEL_BOOT_PLATFORM_OPENFIRMWARE_KERNEL_ARGS_H
6#define KERNEL_BOOT_PLATFORM_OPENFIRMWARE_KERNEL_ARGS_H
7
8
9#ifndef KERNEL_BOOT_KERNEL_ARGS_H
10#	error This file is included from <boot/kernel_args.h> only
11#endif
12
13#define SMP_MAX_CPUS 1
14	// TODO: Until inline kernel atomic code for ppc is fixed
15
16#define MAX_PHYSICAL_MEMORY_RANGE 32
17#define MAX_PHYSICAL_ALLOCATED_RANGE 32
18#define MAX_VIRTUAL_ALLOCATED_RANGE 32
19
20
21typedef struct {
22	void	*openfirmware_entry;
23	char	rtc_path[128];
24
25	// XXX: HACK: must match the U-Boot platform args
26	// FIXME: use a union instead?
27
28	// Flattened Device Tree blob
29	void	*fdt;
30} platform_kernel_args;
31
32#endif	/* KERNEL_BOOT_PLATFORM_OPENFIRMWARE_KERNEL_ARGS_H */
33