freebsd-nq/sys/amd64/isa
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
..
atpic_vector.S Remove the Xresume* labels from the i386 interrupt handlers; the 2001-10-09 19:54:52 +00:00
clock.c Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
icu_ipl.s
icu_ipl.S
icu_vector.s Remove the Xresume* labels from the i386 interrupt handlers; the 2001-10-09 19:54:52 +00:00
icu_vector.S Remove the Xresume* labels from the i386 interrupt handlers; the 2001-10-09 19:54:52 +00:00
icu.h Axe a commented, unused #define related to the old giant lock. 2001-08-24 16:52:31 +00:00
intr_machdep.c Backout 1.61 -- both intrcnt and intrnames are already exported 2001-10-25 01:32:24 +00:00
intr_machdep.h Add ACPI S2-S4BIOS Suspend/Resume code. 2001-07-20 06:07:34 +00:00
isa_dma.c Add ACPI attachments. 2001-08-30 09:17:03 +00:00
isa_dma.h
isa.c Rewrite the pc98 bus_space stuff. 2001-10-07 10:04:18 +00:00
isa.h
ithread.c Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00
nmi.c Backout 1.61 -- both intrcnt and intrnames are already exported 2001-10-25 01:32:24 +00:00
npx.c Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
timerreg.h
vector.s Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00
vector.S Clean up the code exporting interrupt statistics via sysctl a bit: 2001-06-01 13:23:28 +00:00