Page MenuHomeFreeBSD

arm64: Stop trashing the padding after boot_el
ClosedPublic

Authored by andrew on Wed, Aug 19, 2:29 PM.
Tags
None
Referenced Files
F167908397: D58988.id184359.diff
Tue, Aug 25, 9:26 AM
F167875005: D58988.diff
Tue, Aug 25, 4:25 AM
F167832703: D58988.diff
Mon, Aug 24, 8:51 PM
F167818879: D58988.id.diff
Mon, Aug 24, 6:56 PM
Unknown Object (File)
Mon, Aug 24, 12:10 AM
Unknown Object (File)
Mon, Aug 24, 12:07 AM
Unknown Object (File)
Sun, Aug 23, 4:09 AM
Unknown Object (File)
Sat, Aug 22, 7:47 AM
Subscribers

Details

Summary

When building struct arm64_bootparams to pass to initarm we store the
boot_el field as a 64-bit value, however it is defined as an int which
is 32-bits.

Switch to store using the 'w' register as this will store a correctly
sized value.

Previously this would trash the trailing padding, so is only a
correctness issue.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75742
Build 72625: arc lint + arc unit