Added platform_kernel_args.h for the BIOS IA32 platform.

platform_stage2_args.h can now only be included from stage2_args.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4973 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-07 23:39:45 +00:00
parent b4d2f3a8e7
commit 64881aa93e
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
/*
** 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_KERNEL_ARGS_H
#define KERNEL_BOOT_PLATFORM_BIOS_IA32_KERNEL_ARGS_H
#ifndef KERNEL_BOOT_KERNEL_ARGS_H
# error This file is included from <boot/kernel_args.h> only
#endif
// must match SMP_MAX_CPUS in arch_smp.h
#define MAX_BOOT_CPUS 4
#define MAX_PHYSICAL_MEMORY_RANGE 4
#define MAX_PHYSICAL_ALLOCATED_RANGE 4
#define MAX_VIRTUAL_ALLOCATED_RANGE 4
typedef struct {
} platform_kernel_args;
#endif /* KERNEL_BOOT_PLATFORM_BIOS_IA32_KERNEL_ARGS_H */

View File

@ -5,6 +5,10 @@
#ifndef KERNEL_BOOT_PLATFORM_BIOS_IA32_STAGE2_H #ifndef KERNEL_BOOT_PLATFORM_BIOS_IA32_STAGE2_H
#define 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 <boot/stage2_args.h> only
#endif
struct platform_stage2_args { struct platform_stage2_args {
}; };