freebsd-skq/sys
Jake Burkholder 41ed17bfec Use %fs to access per-cpu variables in uni-processor kernels the same
as multi-processor kernels.  The old way made it difficult for kernel
modules to be portable between uni-processor and multi-processor
kernels.  It is no longer necessary to jump through hoops.

- always load %fs with the private segment on entry to the kernel
- change the type of the self referntial pointer from struct privatespace
  to struct globaldata
- make the globaldata symbol have value 0 in all cases, so the symbols
  in globals.s are always offsets, not aliases for fields in globaldata
- define the globaldata space used for uniprocessor kernels in C, rather
  than assembler
- change the assmebly language accessors to use %fs, add a macro
  PCPU_ADDR(member, reg), which loads the register reg with the address
  of the per-cpu variable member
2001-01-06 17:40:04 +00:00
..
alpha Sort some of the _BSD_* types. 2001-01-01 22:26:56 +00:00
amd64 Use %fs to access per-cpu variables in uni-processor kernels the same 2001-01-06 17:40:04 +00:00
arm/include StrongARM platform-specific definitions. 2001-01-04 05:23:06 +00:00
boot Add commented out examples for the new KTR loader tunables. 2001-01-06 06:52:49 +00:00
cam Generalize quirk for Sony Memory Sticks. Any device that starts with 2000-12-14 22:08:13 +00:00
coda When p_ucred is passed to the venus daemon, first grab the proc lock to 2000-12-15 00:12:30 +00:00
compat Map FreeBSD character device hard disks to Linux block device hard disks. 2000-12-29 00:44:42 +00:00
compile
conf Remove vga_pci generic driver. 2001-01-05 16:40:30 +00:00
contrib/dev Resolve conflicts from the ACPI CA 20001215 vendor import. 2000-12-21 07:04:32 +00:00
crypto Initial import of AES algorithm code (aka Rijndael) from KAME. 2000-10-30 11:03:32 +00:00
ddb Use macro API for <sys/queue.h> 2000-12-30 22:06:19 +00:00
dev Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
fs Use macro API to <sys/queue.h> 2000-12-31 10:24:19 +00:00
geom Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
gnu Changed the copyright notice to BSD-style. The original GPL copyright 2001-01-05 02:12:02 +00:00
i4b Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
i386 Use %fs to access per-cpu variables in uni-processor kernels the same 2001-01-06 17:40:04 +00:00
ia64 Don't include <stddef.h> for offsetof() - its also defined in <sys/types.h> 2000-12-30 13:07:58 +00:00
isa Add OZO8008 - Zoom (33.6k Modem). 2000-12-26 06:52:57 +00:00
isofs/cd9660 Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
kern Limit size of passed in data for utrace function. 2001-01-06 09:34:20 +00:00
libkern Add __ucmpdi2 prototype to quelch a warning. 2000-12-07 22:28:20 +00:00
miscfs Use macro API to <sys/queue.h> 2000-12-31 10:24:19 +00:00
modules Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
msdosfs Use macro API to <sys/queue.h> 2000-12-31 10:24:19 +00:00
net Small fix for bpf compat: 2000-12-27 22:20:13 +00:00
netatalk * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netatm * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netgraph Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
netinet provide a sysctl 'net.link.ether.inet.log_arp_wrong_iface' to allow one 2001-01-06 00:45:08 +00:00
netinet6 do not touch ra_addr if it is NULL. from IIJ SEIL team 2001-01-02 15:17:19 +00:00
netipx * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netkey Revert previous commit after discussion with phk. 2000-10-30 09:13:46 +00:00
netnatm Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
netncp * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
nfs NFS O_EXCL file create semantics temporarily uses file attributes to store 2001-01-04 22:45:19 +00:00
nfsclient NFS O_EXCL file create semantics temporarily uses file attributes to store 2001-01-04 22:45:19 +00:00
nfsserver * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
ntfs Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
nwfs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
pc98 Merged from sys/i386/conf/GENERIC revisions 1.292 - 1.294. 2000-12-16 03:31:44 +00:00
pccard Add device id for the OZ Micro 6832. I didn't try to init it like the 2001-01-02 21:42:48 +00:00
pci Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc PowerPC platform-specific definitions (modeled on sys/i386/include/setjmp.h) 2001-01-02 00:34:24 +00:00
rpc
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys Limit size of passed in data for utrace function. 2001-01-06 09:34:20 +00:00
tools Simplify this a bit so that it doesn't have to generate silly redundant 2000-12-06 06:59:38 +00:00
ufs This implements a better launder limiting solution. There was a solution 2000-12-26 19:41:38 +00:00
vm fix comment which was outdated 3 years ago 2000-12-29 13:49:05 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00