Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102666225
D7638.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
543 B
Referenced Files
None
Subscribers
None
D7638.id.diff
View Options
Index: head/sys/powerpc/powerpc/machdep.c
===================================================================
--- head/sys/powerpc/powerpc/machdep.c
+++ head/sys/powerpc/powerpc/machdep.c
@@ -284,8 +284,14 @@
#endif
}
} else {
+#if !defined(BOOKE)
+ /*
+ * On BOOKE the BSS is already cleared and some variables
+ * initialized. Do not wipe them out.
+ */
bzero(__sbss_start, __sbss_end - __sbss_start);
bzero(__bss_start, _end - __bss_start);
+#endif
init_static_kenv(NULL, 0);
}
/* Store boot environment state */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 2:08 PM (5 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14659753
Default Alt Text
D7638.id.diff (543 B)
Attached To
Mode
D7638: Prevent BSS from being cleared twice on BookE
Attached
Detach File
Event Timeline
Log In to Comment