xref: /haiku/headers/private/kernel/arch/arm64/arch_kernel_args.h (revision 9e25244c5e9051f6cd333820d6332397361abd6c)
1 /*
2 ** Copyright 2021 Haiku, Inc. All rights reserved.
3 ** Distributed under the terms of the MIT License.
4 */
5 #ifndef KERNEL_ARCH_ARM64_KERNEL_ARGS_H
6 #define KERNEL_ARCH_ARM64_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 
13 #include <util/FixedWidthPointer.h>
14 #include <boot/uart.h>
15 
16 
17 #define _PACKED __attribute__((packed))
18 
19 
20 typedef struct {
21 	// needed for UEFI, otherwise kernel acpi support can't find ACPI root
22 	FixedWidthPointer<void> acpi_root;
23 //	TODO:  Deal with this later in the port
24 //	FixedWidthPointer<void> fdt;
25 //	uart_info		uart;
26 
27 	uint64 phys_pgdir;
28 	uint64 vir_pgdir;
29 	uint64 next_pagetable;
30 
31 } _PACKED arch_kernel_args;
32 
33 #endif	/* KERNEL_ARCH_ARM64_KERNEL_ARGS_H */
34