1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/alpha
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
..
alpha Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +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
include Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
isa Sanity guard- return ENODEV if we don't have a good IRQ resource. 2001-07-11 02:24:28 +00:00
linux Eliminate the prefix parameter to linux_emul_find(), which was always 2001-10-27 11:15:19 +00:00
mcbus The DEC kn300 has special code for console handling hardcoded here, so add 2001-11-22 02:41:34 +00:00
osf1 Rather than just change the arguments to suser() change the function to 2001-11-02 17:42:03 +00:00
pci - splhigh()/splx() -> critical_enter()/critical_exit() 2001-10-20 21:05:14 +00:00
tc If we're not going to use am7990_shutdown, comment it all out. 2001-06-14 19:36:37 +00:00
tlsb Don't call cdevsw_add(). 2001-11-04 11:50:08 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00