Page MenuHomeFreeBSD

sys: Use __is_aligned and __align_down for some kstack alignment operations
ClosedPublic

Authored by jhb on Fri, Jan 23, 6:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 16, 2:50 PM
Unknown Object (File)
Sat, Feb 7, 8:15 PM
Unknown Object (File)
Thu, Feb 5, 4:25 AM
Unknown Object (File)
Sat, Jan 31, 7:16 AM
Unknown Object (File)
Sat, Jan 31, 4:16 AM
Unknown Object (File)
Thu, Jan 29, 12:26 PM
Unknown Object (File)
Thu, Jan 29, 5:39 AM
Unknown Object (File)
Thu, Jan 29, 3:22 AM
Subscribers

Details

Summary

Effort: CHERI upstreaming
Sponsored by: AFRL, DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Fri, Jan 23, 6:45 PM
This revision is now accepted and ready to land.Fri, Jan 23, 6:50 PM

Note: you can test this for ppc64 by using power8/power9 VMs:

https://wiki.freebsd.org/powerpc/QEMU/Pseries8

https://wiki.freebsd.org/powerpc/QEMU/Pseries9

(I'm still working on fixing up what's broken for ppc970 (g5) and powerpc 32 bit on g3/g4 CPUs in QEMU)

Note: you can test this for ppc64 by using power8/power9 VMs:

https://wiki.freebsd.org/powerpc/QEMU/Pseries8

https://wiki.freebsd.org/powerpc/QEMU/Pseries9

(I'm still working on fixing up what's broken for ppc970 (g5) and powerpc 32 bit on g3/g4 CPUs in QEMU)

I only really tested that this compiled for powerpc. These are some fixes I found while working on some larger tree-sweeps for CHERI that involve replacing vm_offset_t with void * in various APIs.