2018-03-10 15:29:35 +03:00
|
|
|
/*
|
2021-08-23 22:52:49 +03:00
|
|
|
** 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
|
2018-03-10 15:29:35 +03:00
|
|
|
|
|
|
|
#ifndef KERNEL_BOOT_KERNEL_ARGS_H
|
|
|
|
# error This file is included from <boot/kernel_args.h> only
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2021-08-23 22:52:49 +03:00
|
|
|
#include <util/FixedWidthPointer.h>
|
|
|
|
#include <boot/uart.h>
|
|
|
|
|
2018-03-10 15:29:35 +03:00
|
|
|
|
2021-08-23 22:52:49 +03:00
|
|
|
#define _PACKED __attribute__((packed))
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
// needed for UEFI, otherwise kernel acpi support can't find ACPI root
|
|
|
|
FixedWidthPointer<void> acpi_root;
|
|
|
|
// TODO: Deal with this later in the port
|
2021-10-14 22:32:02 +03:00
|
|
|
// FixedWidthPointer<void> fdt;
|
2021-08-23 22:52:49 +03:00
|
|
|
// uart_info uart;
|
|
|
|
} _PACKED arch_kernel_args;
|
2018-03-10 15:29:35 +03:00
|
|
|
|
2021-08-23 22:52:49 +03:00
|
|
|
#endif /* KERNEL_ARCH_ARM64_KERNEL_ARGS_H */
|