xref: /haiku/headers/private/kernel/arch/ppc/arch_kernel_args.h (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
1 /*
2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 #ifndef KERNEL_ARCH_PPC_KERNEL_ARGS_H
6 #define KERNEL_ARCH_PPC_KERNEL_ARGS_H
7 
8 #ifndef KERNEL_BOOT_KERNEL_ARGS_H
9 #	error This file is included from <boot/kernel_args.h> only
10 #endif
11 
12 #define _PACKED __attribute__((packed))
13 
14 // kernel args
15 typedef struct {
16 	// architecture specific
17 	addr_range page_table;		// virtual address and size of the page table
18 	addr_range exception_handlers;
19 	addr_range framebuffer;		// maps where the framebuffer is located, in physical memory
20 	int screen_x, screen_y, screen_depth;
21 } arch_kernel_args;
22 
23 #endif	/* KERNEL_ARCH_PPC_KERNEL_ARGS_H */
24