minix/include/arch/i386
Tomas Hruby 13a0d5fa5e SMP - Cpu local variables
- most global variables carry information which is specific to the
  local CPU and each CPU must have its own copy

- cpu local variable must be declared in cpulocal.h between
  DECLARE_CPULOCAL_START and DECLARE_CPULOCAL_END markers using
  DECLARE_CPULOCAL macro

- to access the cpu local data the provided macros must be used

	get_cpu_var(cpu, name)
	get_cpu_var_ptr(cpu, name)

	get_cpulocal_var(name)
	get_cpulocal_var_ptr(name)

- using this macros makes future changes in the implementation
  possible

- switching to ELF will make the declaration of cpu local data much
  simpler, e.g.

  CPULOCAL int blah;

  anywhere in the kernel source code
2010-09-15 14:09:46 +00:00
..
archtypes.h SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
asm.h Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
bios.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
cmos.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
cpu.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
diskparm.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
fpu.h Move archtypes.h, fpu.h, and stackframe.h 2010-03-09 09:41:14 +00:00
int86.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
interrupt.h Kernel supports up to 64 IRQs 2010-09-02 15:43:54 +00:00
Makefile asm.h not installed 2010-09-03 17:01:18 +00:00
mcontext.h - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
memory.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
partition.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
pci.h PCI: add AHCI T3 and subclass values 2010-07-01 09:20:36 +00:00
pci_amd.h pci_*.h headers moved from drivers/pci to include/machine 2010-09-02 15:43:59 +00:00
pci_intel.h pci_*.h headers moved from drivers/pci to include/machine 2010-09-02 15:43:59 +00:00
pci_sis.h pci_*.h headers moved from drivers/pci to include/machine 2010-09-02 15:43:59 +00:00
pci_via.h pci_*.h headers moved from drivers/pci to include/machine 2010-09-02 15:43:59 +00:00
ports.h Include directory reorg and makefile updates. 2010-03-08 11:04:59 +00:00
stackframe.h Move archtypes.h, fpu.h, and stackframe.h 2010-03-09 09:41:14 +00:00
vm.h atomicity fix when enabling paging 2010-03-22 07:42:52 +00:00