freebsd-nq/sys/i386
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
..
acpica Yet another verbose printing cleanup. Remove debug_wakeup flag and 2001-11-18 18:48:31 +00:00
apm Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
bios Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Allow maxusers to be specified as 0 in the kernel config, which will 2001-12-09 01:57:09 +00:00
i386 Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
ibcs2 Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
include Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
isa Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
linux Convert BSD trap codes to i386. 2001-11-20 09:39:31 +00:00
pci Add identification string for AMD-761 host to PCI bridge. 2001-12-10 09:27:00 +00:00
svr4 If we have a p variable pointing to td->td_proc already, use it instead of 2001-09-18 21:20:58 +00:00
Makefile Update pathnames for creation of tags file. 2001-12-05 01:23:21 +00:00