476346ac62
Change-Id: Ib643545271700e6ff4a4037d0e797355194927e7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5149 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: David Karoly <karolyd577@gmail.com> Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
36 lines
780 B
C
36 lines
780 B
C
/*
|
|
** Copyright 2021 Haiku, Inc. All rights reserved.
|
|
** Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef KERNEL_ARCH_ARM64_KERNEL_ARGS_H
|
|
#define KERNEL_ARCH_ARM64_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/interrupt_controller.h>
|
|
#include <boot/uart.h>
|
|
|
|
|
|
#define _PACKED __attribute__((packed))
|
|
|
|
|
|
typedef struct {
|
|
uint64 phys_pgdir;
|
|
uint64 vir_pgdir;
|
|
uint64 next_pagetable;
|
|
|
|
// needed for UEFI, otherwise kernel acpi support can't find ACPI root
|
|
FixedWidthPointer<void> acpi_root;
|
|
FixedWidthPointer<void> fdt;
|
|
|
|
uart_info uart;
|
|
intc_info interrupt_controller;
|
|
|
|
} _PACKED arch_kernel_args;
|
|
|
|
#endif /* KERNEL_ARCH_ARM64_KERNEL_ARGS_H */
|