Page MenuHomeFreeBSD

D38248.id116404.diff
No OneTemporary

D38248.id116404.diff

diff --git a/stand/kboot/arch/powerpc64/load_addr.c b/stand/kboot/arch/powerpc64/load_addr.c
--- a/stand/kboot/arch/powerpc64/load_addr.c
+++ b/stand/kboot/arch/powerpc64/load_addr.c
@@ -208,3 +208,15 @@
return (bits);
}
#endif
+
+/* Need to transition from current hacky FDT way to this code */
+bool enumerate_memory_arch(void)
+{
+ /*
+ * For now, we dig it out of the FDT, plus we need to pass all data into
+ * the kernel via the (adjusted) FDT we find.
+ */
+ setenv("usefdt", "1", 1);
+
+ return true;
+}
diff --git a/stand/kboot/main.c b/stand/kboot/main.c
--- a/stand/kboot/main.c
+++ b/stand/kboot/main.c
@@ -254,7 +254,6 @@
printf("\n%s", bootprog_info);
setenv("LINES", "24", 1);
- setenv("usefdt", "1", 1);
memory_limits();

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 7:31 PM (15 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15886379
Default Alt Text
D38248.id116404.diff (757 B)

Event Timeline