Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107154117
D36791.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
748 B
Referenced Files
None
Subscribers
None
D36791.diff
View Options
diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c
--- a/sys/arm64/arm64/machdep.c
+++ b/sys/arm64/arm64/machdep.c
@@ -768,7 +768,9 @@
update_special_regs(0);
link_elf_ireloc(kmdp);
+#ifdef FDT
try_load_dtb(kmdp);
+#endif
efi_systbl_phys = MD_FETCH(kmdp, MODINFOMD_FW_HANDLE, vm_paddr_t);
diff --git a/sys/arm64/arm64/machdep_boot.c b/sys/arm64/arm64/machdep_boot.c
--- a/sys/arm64/arm64/machdep_boot.c
+++ b/sys/arm64/arm64/machdep_boot.c
@@ -53,9 +53,10 @@
extern int *end;
static char *loader_envp;
-static char static_kenv[4096];
#ifdef FDT
+static char static_kenv[4096];
+
#define CMDLINE_GUARD "FreeBSD:"
#define LBABI_MAX_COMMAND_LINE 512
static char linux_command_line[LBABI_MAX_COMMAND_LINE + 1];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 11:02 PM (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15758690
Default Alt Text
D36791.diff (748 B)
Attached To
Mode
D36791: arm64: fix build without FDT
Attached
Detach File
Event Timeline
Log In to Comment