FreeBSD src
Go to file
Mike Karels d5d97bed4a arm64 lib32: prepare arm64 headers to redirect to arm
In order to compile lib32 libraries and other 32-bit code on arm64,
<machine/foo.h> needs to be redirected to an arm header rather
than arm64 when building with -m32.  Ifdef the arm64 headers that
are installed in /usr/include/machine and used by user-level software
(including references from /usr/include/*.h) so that if __arm__ is
defined when including the arm64 version, <arm/foo.h> is included
rather than using the rest of the file's contents.  Some arm headers
had no arm64 equivalent; headers were added just to do the redirection.
These files use #error if __arm__ is not defined to guard against
confusion.  Also add an include/arm Makefile, and modify Makefiles
as needed to install everything, including the arm files in
/usr/include/arm.  fenv.h comes from lib/msun/arm/fenv.h.

The new arm64 headers are:
    acle-compat.h
    cpuinfo.h
    sysreg.h

Reviewed by:	jrtc27, imp
Differential Revision:	https://reviews.freebsd.org/D40944
2023-07-25 18:59:26 -05:00
.cirrus-ci
.github MAINTAINERS: Add myself to stand 2023-05-07 22:30:10 -06:00
bin ls: Improve POSIX compatibility for -g and -n. 2023-07-18 10:03:09 -07:00
cddl Fix zfsd unittests after 92642bba4d 2023-07-14 15:57:40 -06:00
contrib arm64 lib32: change clang to allow -m32 on arm64 2023-07-25 18:58:51 -05:00
crypto sshd: do not resolve refused client hostname 2023-07-20 14:56:20 -07:00
etc /etc/rc.subr: rename sysctl.conf.d to sysctl.kld.d 2023-07-15 14:16:08 +01:00
gnu Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
include arm64 lib32: prepare arm64 headers to redirect to arm 2023-07-25 18:59:26 -05:00
kerberos5 kerberos5: Migrate from COMPAT_32BIT to generic COMPAT_LIBCOMPAT 2023-07-09 18:49:21 +01:00
lib arm64 lib32: prepare arm64 headers to redirect to arm 2023-07-25 18:59:26 -05:00
libexec atf_pytest_wrapper: fix use with pytest-7.4 2023-07-21 11:23:21 +02:00
release release: adjust lang/python* dependencies for GCE 2023-07-17 16:16:46 -04:00
rescue Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
sbin Debugging output additions. No functional changes intended. 2023-07-25 14:03:43 -07:00
secure libcrypto: add missing symbols to the FIPS provider 2023-07-20 15:05:12 -04:00
share bsd.linker.mk: Use :C not :S for regex 2023-07-24 01:50:55 +01:00
stand Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
sys arm64 lib32: prepare arm64 headers to redirect to arm 2023-07-25 18:59:26 -05:00
targets local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
tests netinet6 tests: test for loss of Solicited-node multicast groups 2023-07-24 16:47:50 +02:00
tools tools/build: Tidy up whitespace and comments, and delete duplicate code 2023-07-25 22:24:02 +01:00
usr.bin Move LIBADD lines from usr.bin/clang/*/Makefile one level up 2023-07-23 22:04:55 +02:00
usr.sbin bhyvectl: Add '--get-debug-cpus' command 2023-07-25 14:03:54 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus-CI: use llvm16 job by default and make llvm15 manual 2023-06-22 20:26:34 -04:00
.clang-format
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes
.gitignore .gitignore: Ignore LSP generated .cache 2023-03-07 10:04:18 -05:00
CONTRIBUTING.md CONTRIBUTING.md: reinsert double spaces 2023-07-10 12:24:24 -06:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS
MAINTAINERS MAINTAINERS: Add myself to stand 2023-05-07 22:30:10 -06:00
Makefile Move MACHINE/MACHINE_ARCH handling to sys.machine.mk 2023-05-13 08:15:49 -07:00
Makefile.inc1 Makefile.inc1: add LIBCOMPAT_INCLUDE_DIRS to reduce arch ifdefs 2023-07-25 18:58:29 -05:00
Makefile.libcompat Makefile.libcompat: Make quoting for CC/CXX/CPP more future-proof 2023-07-14 05:34:03 +01:00
Makefile.sys.inc
ObsoleteFiles.inc Add old arm headers to ObsoleteFiles.inc 2023-07-24 17:58:15 +01:00
README.md README.md: link to the list of supported platforms 2022-11-01 12:20:55 -03:00
RELNOTES RELNOTES: add a note about lua config files in loader 2023-07-24 23:35:25 -05:00
UPDATING UPDATING: Update nvd info 2023-07-24 22:32:39 -06:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.