2003-05-03 16:49:57 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
2003-10-08 03:34:59 +04:00
|
|
|
#ifndef KERNEL_ARCH_PPC_KERNEL_ARGS_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
|
2003-05-03 16:49:57 +04:00
|
|
|
|
|
|
|
#define _PACKED __attribute__((packed))
|
|
|
|
|
|
|
|
// kernel args
|
|
|
|
typedef struct {
|
|
|
|
// architecture specific
|
2003-10-17 17:58:41 +04:00
|
|
|
addr_range page_table; // virtual address and size of the page table
|
|
|
|
addr_range exception_handlers;
|
|
|
|
addr_range framebuffer; // maps where the framebuffer is located, in physical memory
|
2003-05-03 16:49:57 +04:00
|
|
|
int screen_x, screen_y, screen_depth;
|
|
|
|
} arch_kernel_args;
|
|
|
|
|
2003-10-08 03:34:59 +04:00
|
|
|
#endif /* KERNEL_ARCH_PPC_KERNEL_ARGS_H */
|