freebsd-skq/sys/amd64/include
John Baldwin 0bbc882680 Overhaul the per-CPU support a bit:
- The MI portions of struct globaldata have been consolidated into a MI
  struct pcpu.  The MD per-CPU data are specified via a macro defined in
  machine/pcpu.h.  A macro was chosen over a struct mdpcpu so that the
  interface would be cleaner (PCPU_GET(my_md_field) vs.
  PCPU_GET(md.md_my_md_field)).
- All references to globaldata are changed to pcpu instead.  In a UP kernel,
  this data was stored as global variables which is where the original name
  came from.  In an SMP world this data is per-CPU and ideally private to each
  CPU outside of the context of debuggers.  This also included combining
  machine/globaldata.h and machine/globals.h into machine/pcpu.h.
- The pointer to the thread using the FPU on i386 was renamed from
  npxthread to fpcurthread to be identical with other architectures.
- Make the show pcpu ddb command MI with a MD callout to display MD
  fields.
- The globaldata_register() function was renamed to pcpu_init() and now
  init's MI fields of a struct pcpu in addition to registering it with
  the internal array and list.
- A pcpu_destroy() function was added to remove a struct pcpu from the
  internal array and list.

Tested on:	alpha, i386
Reviewed by:	peter, jake
2001-12-11 23:33:44 +00:00
..
pc Fix the argument specifier for the PnP BIOS function 2 2001-09-03 03:43:39 +00:00
_inttypes.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
apicreg.h Remove constants defining the bitmasks of the old giant kernel lock. 2001-04-10 22:22:01 +00:00
asm.h
asmacros.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
atomic.h Use newer constraints for atomic_cmpset(). 2001-11-12 18:53:45 +00:00
bus_amd64.h - Moved the bus_dma declarations from bus_{at386,pc98}.h into bus_dma.h. 2001-10-06 16:27:21 +00:00
bus_at386.h - Moved the bus_dma declarations from bus_{at386,pc98}.h into bus_dma.h. 2001-10-06 16:27:21 +00:00
bus_dma.h - Moved the bus_dma declarations from bus_{at386,pc98}.h into bus_dma.h. 2001-10-06 16:27:21 +00:00
bus_memio.h
bus_pio.h
bus.h - Moved the bus_dma declarations from bus_{at386,pc98}.h into bus_dma.h. 2001-10-06 16:27:21 +00:00
clock.h Reenable RTC interrupts after wakeup. Some laptops have a problem 2001-09-04 16:02:06 +00:00
cpu.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
cpufunc.h Provide access to the IA32 hardware debug registers from the ddb 2001-06-28 02:08:13 +00:00
cputypes.h
db_machdep.h Fill out some gaps in ia64 DDB support. This involves generalising DDB's 2001-09-15 11:06:07 +00:00
elf.h Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader 2001-10-10 23:06:54 +00:00
exec.h
float.h
floatingpoint.h
fpu.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
frame.h
ieeefp.h
in_cksum.h
legacyvar.h
md_var.h [partially forced commit due to pilot error in earlier commit attempt] 2001-10-21 22:16:48 +00:00
mptable.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
mutex.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
npx.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
pcb_ext.h Split the per-process Local Descriptor Table out of the PCB and into 2001-10-25 00:53:43 +00:00
pcb.h Split the per-process Local Descriptor Table out of the PCB and into 2001-10-25 00:53:43 +00:00
pci_cfgreg.h Detect a certain type of PCIBIOS brain damage. For some reason, 2001-08-21 03:10:55 +00:00
pcpu.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
pmap.h Start bringing i386/pmap.c into line with cleanups that were done to 2001-11-17 01:38:32 +00:00
proc.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
profile.h Add kmupetext(), a function that expands the range of memory covered 2001-10-30 15:04:57 +00:00
psl.h Allow bit 21 of EFLAGS register (PSL_ID) be changed in the use-mode without 2001-11-15 23:01:29 +00:00
ptrace.h Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they 2001-08-08 05:25:15 +00:00
reg.h [partially forced commit due to pilot error in earlier commit attempt] 2001-10-21 22:16:48 +00:00
reloc.h
resource.h
segments.h Add a missing open paren to a macro that's been broken (and apparently 2001-12-04 00:35:28 +00:00
setjmp.h
sigframe.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
signal.h style(9) the structure definitions. 2001-09-05 01:36:46 +00:00
smp.h Overhaul of the SMP code. Several portions of the SMP kernel support have 2001-04-27 19:28:25 +00:00
specialreg.h Activate SSE/SIMD. This is the extra context switching support that 2001-07-12 06:32:51 +00:00
sysarch.h
trap.h Activate SSE/SIMD. This is the extra context switching support that 2001-07-12 06:32:51 +00:00
tss.h
ucontext.h
varargs.h
vmparam.h