freebsd-src/sys/amd64/isa
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
..
atpic_vector.S Use %fs to access per-cpu variables in uni-processor kernels the same 2001-01-06 17:40:04 +00:00
clock.c Namespace cleanup. Remove some #includes in favour of an explicit 2000-12-02 17:59:41 +00:00
icu.h Cleanup some leftover lint from the old interrupt system. 2000-12-04 21:15:14 +00:00
icu_ipl.S Cleanup some leftover lint from the old interrupt system. 2000-12-04 21:15:14 +00:00
icu_ipl.s Cleanup some leftover lint from the old interrupt system. 2000-12-04 21:15:14 +00:00
icu_vector.S Use %fs to access per-cpu variables in uni-processor kernels the same 2001-01-06 17:40:04 +00:00
icu_vector.s Use %fs to access per-cpu variables in uni-processor kernels the same 2001-01-06 17:40:04 +00:00
intr_machdep.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
intr_machdep.h Cleanup some leftover lint from the old interrupt system. 2000-12-04 21:15:14 +00:00
isa.c Convert the type of bus_space_handle_t of pc98 from structure into 2000-10-20 02:42:06 +00:00
isa.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
isa_dma.c Add PnP probe methods to some common AT hardware drivers. In each case, 2000-06-23 07:44:33 +00:00
isa_dma.h Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags. 2000-03-13 10:19:32 +00:00
ithread.c Cleanup some leftover lint from the old interrupt system. 2000-12-04 21:15:14 +00:00
nmi.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
npx.c Catch up to moving headers: 2000-10-20 07:58:15 +00:00
timerreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vector.S Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
vector.s Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00