Renamed arch_stage2.h to arch_kernel_args.h.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4972 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-07 23:34:59 +00:00
parent b8b44e7a12
commit b4d2f3a8e7
2 changed files with 13 additions and 7 deletions

View File

@ -2,8 +2,12 @@
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the OpenBeOS License. ** Distributed under the terms of the OpenBeOS License.
*/ */
#ifndef _KERNEL_ARCH_PPC_STAGE2_H #ifndef KERNEL_ARCH_PPC_KERNEL_ARGS_H
#define _KERNEL_ARCH_PPC_STAGE2_H #define KERNEL_ARCH_PPC_KERNEL_ARGS_H
#ifndef KERNEL_BOOT_KERNEL_ARGS_H
# error This file is included from <boot/kernel_args.h> only
#endif
#define _PACKED __attribute__((packed)) #define _PACKED __attribute__((packed))
@ -15,4 +19,4 @@ typedef struct {
int screen_x, screen_y, screen_depth; int screen_x, screen_y, screen_depth;
} arch_kernel_args; } arch_kernel_args;
#endif /* _KERNEL_ARCH_PPC_STAGE2_H */ #endif /* KERNEL_ARCH_PPC_KERNEL_ARGS_H */

View File

@ -2,10 +2,12 @@
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License. ** Distributed under the terms of the NewOS License.
*/ */
#ifndef _KERNEL_ARCH_x86_STAGE2_H #ifndef KERNEL_ARCH_x86_KERNEL_ARGS_H
#define _KERNEL_ARCH_x86_STAGE2_H #define KERNEL_ARCH_x86_KERNEL_ARGS_H
#include <boot/stage2_struct.h> #ifndef KERNEL_BOOT_KERNEL_ARGS_H
# error This file is included from <boot/kernel_args.h> only
#endif
#define MAX_BOOT_PTABLES 4 #define MAX_BOOT_PTABLES 4
@ -38,4 +40,4 @@ typedef struct {
uint32 cpu_apic_version[MAX_BOOT_CPUS]; uint32 cpu_apic_version[MAX_BOOT_CPUS];
} arch_kernel_args; } arch_kernel_args;
#endif /* _KERNEL_ARCH_x86_STAGE2_H */ #endif /* KERNEL_ARCH_x86_KERNEL_ARGS_H */