arm64: Add missing fdt storage for FDT bus
Change-Id: Ifadd47204be1ec688017a567d43dca38c80bd1df Reviewed-on: https://review.haiku-os.org/c/haiku/+/4431 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
This commit is contained in:
parent
d4ca1c6746
commit
3e8376c6dd
@ -21,7 +21,7 @@ typedef struct {
|
|||||||
// needed for UEFI, otherwise kernel acpi support can't find ACPI root
|
// needed for UEFI, otherwise kernel acpi support can't find ACPI root
|
||||||
FixedWidthPointer<void> acpi_root;
|
FixedWidthPointer<void> acpi_root;
|
||||||
// TODO: Deal with this later in the port
|
// TODO: Deal with this later in the port
|
||||||
// FixedWidthPointer<void> fdt;
|
FixedWidthPointer<void> fdt;
|
||||||
// uart_info uart;
|
// uart_info uart;
|
||||||
} _PACKED arch_kernel_args;
|
} _PACKED arch_kernel_args;
|
||||||
|
|
||||||
|
@ -7,9 +7,13 @@
|
|||||||
#include <boot/kernel_args.h>
|
#include <boot/kernel_args.h>
|
||||||
|
|
||||||
|
|
||||||
|
void* gFDT = NULL;
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
arch_platform_init(struct kernel_args *kernelArgs)
|
arch_platform_init(struct kernel_args *kernelArgs)
|
||||||
{
|
{
|
||||||
|
gFDT = kernelArgs->arch_args.fdt;
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user