Page MenuHomeFreeBSD

sysent: retire unused SV_IA32
ClosedPublic

Authored by brooks on Jun 3 2025, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 4, 11:47 PM
Unknown Object (File)
Sep 7 2025, 10:50 PM
Unknown Object (File)
Aug 30 2025, 10:12 PM
Unknown Object (File)
Aug 24 2025, 2:58 PM
Unknown Object (File)
Aug 19 2025, 1:33 AM
Unknown Object (File)
Jul 24 2025, 11:46 AM
Unknown Object (File)
Jul 14 2025, 3:41 AM
Unknown Object (File)
Jul 7 2025, 12:40 PM
Subscribers

Details

Summary

When COMPAT_IA32 was generaliaed to COMPAT_FREEBSD32 in 2010 (commit
841c0c7ec75b), all runtime uses of SV_IA32 were removed in favor of
SV_ILP32 check. Given SV_ILP32's existance it makes no
sense to dynamically check for SV_IA32 (even if we had a 32-bit x86 ABI
with 64-bit time_t we needed to differentiate, SV_IA32 would be the
wrong spelling.) As such, remove SV_IA32 and mark it reserved.

Diff Detail

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

Event Timeline

I don't feel particularly strongly about this change, but noticed we're running short SV_ bits and this one isn't doing anything. We're currently consuming two more in CheriBSD and we'd want at least one of them when we merge CHERI support.

This revision is now accepted and ready to land.Jun 3 2025, 10:55 PM
This revision was automatically updated to reflect the committed changes.