Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F139437159
D38248.id116031.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
770 B
Referenced Files
None
Subscribers
None
D38248.id116031.diff
View Options
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
@@ -215,7 +215,6 @@
printf("\n%s", bootprog_info);
setenv("LINES", "24", 1);
- setenv("usefdt", "1", 1);
/*
* Find acpi, if it exists
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 13, 2:06 AM (8 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26918230
Default Alt Text
D38248.id116031.diff (770 B)
Attached To
Mode
D38248: kboot: Add powerpc stub for enumerate_memory_arch()
Attached
Detach File
Event Timeline
Log In to Comment