2009-07-27 20:23:08 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
2009-08-13 22:57:36 +04:00
|
|
|
#ifndef KERNEL_ARCH_ARM_KERNEL_ARGS_H
|
|
|
|
#define KERNEL_ARCH_ARM_KERNEL_ARGS_H
|
2009-07-27 20:23:08 +04:00
|
|
|
|
|
|
|
#ifndef KERNEL_BOOT_KERNEL_ARGS_H
|
|
|
|
# error This file is included from <boot/kernel_args.h> only
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define _PACKED __attribute__((packed))
|
|
|
|
|
|
|
|
//#define MAX_VIRTUAL_RANGES_TO_KEEP 32
|
|
|
|
|
|
|
|
// kernel args
|
|
|
|
typedef struct {
|
|
|
|
int cpu_type;
|
|
|
|
int fpu_type;
|
|
|
|
int mmu_type;
|
|
|
|
int platform;
|
|
|
|
int machine; // platform specific machine type
|
|
|
|
bool has_lpstop; //XXX: use bit flags
|
|
|
|
// architecture specific
|
|
|
|
uint64 cpu_frequency;
|
|
|
|
uint64 bus_frequency;
|
|
|
|
uint64 time_base_frequency;
|
2009-08-13 22:57:36 +04:00
|
|
|
uint32 phys_pgdir;
|
|
|
|
uint32 vir_pgdir;
|
|
|
|
uint32 num_pgtables;
|
|
|
|
uint32 pgtables[50];
|
|
|
|
uint32 page_hole;
|
|
|
|
|
2009-07-27 20:23:08 +04:00
|
|
|
} arch_kernel_args;
|
|
|
|
|
2009-08-13 22:57:36 +04:00
|
|
|
#endif /* KERNEL_ARCH_ARM_KERNEL_ARGS_H */
|