.data. dt_blob is a basic device tree that is populated from ACPI tables
when booting with ACPI instead of DT. Since we're modifying its content we
need to put it somewhere writeable.
Found and proposed by mlarkin@
ok kettenis@ mlarkin@
-# $OpenBSD: Makefile,v 1.15 2022/03/14 19:09:32 kettenis Exp $
+# $OpenBSD: Makefile,v 1.16 2022/07/30 21:06:54 patrick Exp $
NOMAN= #
INSTALL_STRIP=
BINDIR= /usr/mdec
SRCS= start.S self_reloc.c efiboot.c conf.c exec.c efiacpi.c
-SRCS+= efidev.c efipxe.c efirng.c fdt.c dt_blob.S
+SRCS+= efidev.c efipxe.c efirng.c fdt.c
SRCS+= softraid_arm64.c
S= ${.CURDIR}/../../../..
-/* $OpenBSD: conf.c,v 1.38 2022/07/29 21:34:59 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.39 2022/07/30 21:06:54 patrick Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
#include "efipxe.h"
#include "softraid_arm64.h"
-const char version[] = "1.10";
+const char version[] = "1.11";
int debug = 0;
struct fs_ops file_system[] = {
-/* $OpenBSD: start.S,v 1.4 2022/07/29 21:34:59 kettenis Exp $ */
+/* $OpenBSD: start.S,v 1.5 2022/07/30 21:06:54 patrick Exp $ */
/*-
* Copyright (c) 2014 Andrew Turner
* All rights reserved.
bl efi_main
1: b 1b
+
+ .data
+ .align 4
+#include "dt_blob.S"