Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107725890
D38248.id116249.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
757 B
Referenced Files
None
Subscribers
None
D38248.id116249.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
@@ -254,7 +254,6 @@
printf("\n%s", bootprog_info);
setenv("LINES", "24", 1);
- setenv("usefdt", "1", 1);
memory_limits();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 7:53 PM (16 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15886379
Default Alt Text
D38248.id116249.diff (757 B)
Attached To
Mode
D38248: kboot: Add powerpc stub for enumerate_memory_arch()
Attached
Detach File
Event Timeline
Log In to Comment