Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148017600
D42733.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
837 B
Referenced Files
None
Subscribers
None
D42733.diff
View Options
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -111,7 +111,7 @@
ldr x15, .Lbss
ldr x14, .Lend
1:
- str xzr, [x15], #8
+ stp xzr, xzr, [x15], #16
cmp x15, x14
b.lo 1b
diff --git a/sys/conf/ldscript.arm64 b/sys/conf/ldscript.arm64
--- a/sys/conf/ldscript.arm64
+++ b/sys/conf/ldscript.arm64
@@ -121,6 +121,7 @@
.sdata : { *(.sdata) }
_edata = .;
PROVIDE (edata = .);
+ . = ALIGN(16);
__bss_start = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
@@ -128,7 +129,7 @@
*(.dynbss)
*(.bss)
*(COMMON)
- . = ALIGN(8);
+ . = ALIGN(16);
__bss_end = .;
/* A section for the initial page table, it doesn't need to be in the
kernel file, however unlike normal .bss entries should not be zeroed
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 5:27 AM (3 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29755781
Default Alt Text
D42733.diff (837 B)
Attached To
Mode
D42733: arm64: Use store-pair to zero the kernel bss
Attached
Detach File
Event Timeline
Log In to Comment