From ff84453736fc626eb491f7b6e80afa0d7c560b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 22 Jul 2009 18:10:06 +0000 Subject: [PATCH] [GSoC] [ARM] Patch by Johannes Wischert. Add dummy args structs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31700 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../platform/u-boot/platform_kernel_args.h | 23 +++++++++++++++++++ .../platform/u-boot/platform_stage2_args.h | 15 ++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h create mode 100644 headers/private/kernel/boot/platform/u-boot/platform_stage2_args.h diff --git a/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h b/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h new file mode 100644 index 0000000000..88674fe605 --- /dev/null +++ b/headers/private/kernel/boot/platform/u-boot/platform_kernel_args.h @@ -0,0 +1,23 @@ +/* +** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ +#ifndef KERNEL_BOOT_PLATFORM_UBOOT_KERNEL_ARGS_H +#define KERNEL_BOOT_PLATFORM_UBOOT_KERNEL_ARGS_H + +#ifndef KERNEL_BOOT_KERNEL_ARGS_H +# error This file is included from only +#endif + +// must match SMP_MAX_CPUS in arch_smp.h +#define MAX_BOOT_CPUS 1 +#define MAX_PHYSICAL_MEMORY_RANGE 4 +#define MAX_PHYSICAL_ALLOCATED_RANGE 8 +#define MAX_VIRTUAL_ALLOCATED_RANGE 32 + + +typedef struct { + char dummy; +} platform_kernel_args; + +#endif /* KERNEL_BOOT_PLATFORM_OPENFIRMWARE_KERNEL_ARGS_H */ diff --git a/headers/private/kernel/boot/platform/u-boot/platform_stage2_args.h b/headers/private/kernel/boot/platform/u-boot/platform_stage2_args.h new file mode 100644 index 0000000000..9aea238296 --- /dev/null +++ b/headers/private/kernel/boot/platform/u-boot/platform_stage2_args.h @@ -0,0 +1,15 @@ +/* +** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +*/ +#ifndef KERNEL_BOOT_PLATFORM_BIOS_IA32_STAGE2_H +#define KERNEL_BOOT_PLATFORM_BIOS_IA32_STAGE2_H + +#ifndef KERNEL_BOOT_STAGE2_ARGS_H +# error This file is included from only +#endif + +struct platform_stage2_args { +}; + +#endif /* KERNEL_BOOT_PLATFORM_BIOS_IA32_STAGE2_H */