HomeFreeBSD

Round TF_SIZE up to the stack alignment (16-bytes).

Description

Round TF_SIZE up to the stack alignment (16-bytes).

The kernel adjusts the stack by TF_SIZE and the RISC-V ABI requires
that it remain 16-byte aligned.

Reported by: CHERI, jrtc27
Reviewed by: mhorne
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26328

Details

Provenance
brooksAuthored on
Reviewer
mhorne
Differential Revision
D26328: Round TF_SIZE up to the stack alignment (16-bytes).
Parents
rS365343: Add missed move
Branches
Unknown
Tags
Unknown