Page MenuHomeFreeBSD

Make arm64 32-bit mode compile with COMPAT_43
ClosedPublic

Authored by imp on Aug 8 2019, 5:35 PM.
Tags
None
Referenced Files
F148314335: D21192.diff
Tue, Mar 17, 3:21 AM
Unknown Object (File)
Feb 14 2026, 4:07 PM
Unknown Object (File)
Jan 23 2026, 4:29 PM
Unknown Object (File)
Jan 18 2026, 11:02 AM
Unknown Object (File)
Jan 18 2026, 2:45 AM
Unknown Object (File)
Jan 17 2026, 11:24 AM
Unknown Object (File)
Jan 8 2026, 7:11 PM
Unknown Object (File)
Jan 8 2026, 8:50 AM
Subscribers

Details

Summary

The COMPAT_43 option isn't quite like the other compat options, and arm64 makes
attempts to support it in 64-bit mode. In 32-bit compat mode, however, two
syscall implementations that COMPAT_FREEBSD32 assumes will be there are
missing. Provide implementations for these: ofreebsd32_sigreturn (which we'll
never encounter, so implement it as nosys as is done in kern_sig.c) and
ofreebsd32_getpagesize, where we'll always return 4096 since that's the only
PAGE_SIZE we support, similar to how the ia32 implementation does things.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable