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_ARM_KERNEL_ARGS_H 6 #define KERNEL_ARCH_ARM_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 //#define MAX_VIRTUAL_RANGES_TO_KEEP 32 15 16 // kernel args 17 typedef struct { 18 int cpu_type; 19 int fpu_type; 20 int mmu_type; 21 int platform; 22 int machine; // platform specific machine type 23 bool has_lpstop; //XXX: use bit flags 24 // architecture specific 25 uint64 cpu_frequency; 26 uint64 bus_frequency; 27 uint64 time_base_frequency; 28 uint32 phys_pgdir; 29 uint32 vir_pgdir; 30 uint32 num_pgtables; 31 uint32 pgtables[50]; 32 uint32 page_hole; 33 34 } arch_kernel_args; 35 36 #endif /* KERNEL_ARCH_ARM_KERNEL_ARGS_H */ 37