freebsd-dev/sys
Warner Losh e35448a901 powerpc: Drop old workaround for old gcc
Very old versions of gcc defined _BIG_ENDIAN and _LITTLE_ENDIAN. So to
work around that, we undefined them here. However, that causes problems
for programs that do:

(and many other variations on that theme). Since this often is the
result of weirdly nested includes in the ports world that are hard to
unwind, drop this workaround to help more ports build out of the box.
If there's still an issue here (and my testing hasn't shown it), we'll
fix the issue in a brand-new way once I have a reproducer.

This fixes the mesa-devel build, and others

Sponsored by:		Netflix
Tested by:		pkubaj
MFC After:		3 days
Differential Revision:	https://reviews.freebsd.org/D38564
2023-02-14 09:47:08 -07:00
..
amd64 linux(4): Rename linux_timer.h to linux_time.h 2023-02-14 17:46:33 +03:00
arm ofwbus: remove arm64 ifdefs 2023-02-13 13:45:01 -04:00
arm64 linux(4): Rename linux_timer.h to linux_time.h 2023-02-14 17:46:33 +03:00
bsm
cam CTL: Allow userland supply tags via ioctl frontend. 2022-12-03 12:05:05 -05:00
cddl dtrace: implement riscv dtrace_getustackdepth() 2023-02-06 15:26:53 -04:00
compat Port Linuxulator to IfAPI 2023-02-14 10:28:44 -05:00
conf ice(4): Update to 1.37.7-k 2023-02-13 17:29:44 -08:00
contrib MFV: zstd 1.5.2 2023-01-27 17:22:31 +00:00
crypto OpenSSL: Regen assembly files for OpenSSL 1.1.1t 2023-02-07 13:55:17 -05:00
ddb ddb: ansify 2023-02-08 00:09:23 +00:00
dev Finish mechanical conversion of axgbe(4) to IfAPI. 2023-02-14 10:21:20 -05:00
dts arm64/rockchip: Remove rk3328-dwc3 overlays 2022-11-16 11:58:32 +01:00
fs tmpfs_rename(): use tmpfs_access_locked instead of VOP_ACCESS() 2023-02-14 01:16:38 +02:00
gdb
geom Move kstack_contains() and GET_STACK_USAGE() to MD machine/stack.h 2023-02-02 00:59:26 +02:00
gnu
i386 linux(4): Rename linux_timer.h to linux_time.h 2023-02-14 17:46:33 +03:00
isa
kern tcp: Disallow re-connection of a connected socket 2023-02-14 10:07:19 -05:00
kgssapi kgssapi: Increase timeout for kernel to gssd(8) upcalls 2023-01-11 13:20:31 -08:00
libkern ashldi3: Use C89-style function definition 2022-11-27 13:23:25 -07:00
modules linux(4): Trim unused opt_usb.h from modules Makefiles 2023-02-14 17:46:33 +03:00
net IfAPI: Style cleanup 2023-02-14 10:21:20 -05:00
net80211 IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
netgraph Move kstack_contains() and GET_STACK_USAGE() to MD machine/stack.h 2023-02-02 00:59:26 +02:00
netinet tcp: Disallow re-connection of a connected socket 2023-02-14 10:07:19 -05:00
netinet6 inpcb: Split in_pcblookup_hash_locked() and clean up a bit 2023-02-09 16:15:03 -05:00
netipsec IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
netlink Revert "netlink: make netlink_snl(3) c++ friendly." 2023-02-12 12:17:05 +00:00
netpfil ipfilter: ansify 2023-02-13 18:05:57 +00:00
netsmb
nfs Allow any user to read the NFS stats, for example with nfsstat(1). 2022-12-01 22:21:14 -07:00
nfsclient
nfsserver
nlm nlm: only access refcounts using dedicated primitives 2022-11-24 19:46:43 +00:00
ofed
opencrypto Complete removal of opt_compat.h 2023-02-13 19:07:38 +03:00
powerpc powerpc: Drop old workaround for old gcc 2023-02-14 09:47:08 -07:00
riscv ofwbus: remove arm64 ifdefs 2023-02-13 13:45:01 -04:00
rpc rpc: ansify 2023-02-13 05:39:10 +00:00
security IfAPI: Add if_get/setmaclabel() and use it. 2023-01-31 15:02:15 -05:00
sys sys/kbio.h: make pre-unicode keymap support optional 2023-02-14 14:03:28 +01:00
teken
tests
tools Improve debuggability of VOP_* locking assertions 2023-01-18 22:11:05 -06:00
ufs ufs: ansify 2023-02-13 18:35:54 +00:00
vm vm_fault: Fix a race in vm_fault_soft_fast() 2023-02-13 16:35:47 -05:00
x86 linux(4): Cleanup includes under x86/linux 2023-02-14 17:46:33 +03:00
xdr xdr: ansify 2023-02-13 18:37:31 +00:00
xen
Makefile Remove dead code in the cscope target 2022-11-11 15:53:57 +00:00
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures