d637e0bec1
Change-Id: I6cb31760519c8ba4542d217d6e68439602eda558 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4356 Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
41 lines
884 B
C
41 lines
884 B
C
/*
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
** Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef KERNEL_ARCH_ARM_KERNEL_ARGS_H
|
|
#define KERNEL_ARCH_ARM_KERNEL_ARGS_H
|
|
|
|
#ifndef KERNEL_BOOT_KERNEL_ARGS_H
|
|
# error This file is included from <boot/kernel_args.h> only
|
|
#endif
|
|
|
|
|
|
#include <util/FixedWidthPointer.h>
|
|
#include <boot/uart.h>
|
|
|
|
|
|
#define _PACKED __attribute__((packed))
|
|
|
|
|
|
// kernel args
|
|
typedef struct {
|
|
int cpu_type;
|
|
int fpu_type;
|
|
int mmu_type;
|
|
int platform;
|
|
int machine; // platform specific machine type
|
|
|
|
// architecture specific
|
|
uint32 phys_pgdir;
|
|
uint32 vir_pgdir;
|
|
uint32 next_pagetable;
|
|
|
|
// needed for UEFI, otherwise kernel acpi support can't find ACPI root
|
|
FixedWidthPointer<void> acpi_root;
|
|
FixedWidthPointer<void> fdt;
|
|
|
|
uart_info uart;
|
|
} _PACKED arch_kernel_args;
|
|
|
|
#endif /* KERNEL_ARCH_ARM_KERNEL_ARGS_H */
|