root/include/asm-sparc/mp.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* $Id: mp.h,v 1.2 1995/11/25 02:32:06 davem Exp $
   2  * mp.h:  Multiprocessing definitions for the Sparc.
   3  *
   4  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
   5  */
   6 #ifndef _SPARC_MP_H
   7 #define _SPARC_MP_H
   8 
   9 #include <asm/traps.h>
  10 #include <asm/page.h>
  11 #include <asm/vaddrs.h>
  12 
  13 extern int linux_smp_still_initting;
  14 
  15 struct sparc_percpu {
  16         struct tt_entry trap_table[NUM_SPARC_TRAPS];  /* One page */
  17         unsigned int kernel_stack[PAGE_SIZE/4];       /* One page */
  18         int cpuid;          /* Who am I? */
  19         int cpu_is_alive;   /* Linux has fired it up. */
  20         int cpu_is_idling;  /* Is sitting in the idle loop. */
  21         /* More to come... */
  22         char filler[PERCPU_ENTSIZE-(PAGE_SIZE*2)-0xc];
  23 };
  24 
  25 extern struct sparc_percpu *percpu_table;
  26 
  27 struct prom_cpuinfo {
  28         int prom_node;
  29         int mid;
  30 };
  31 
  32 extern struct prom_cpuinfo linux_cpus[NCPUS];
  33 
  34 #endif /* !(_SPARC_MP_H) */

/* [previous][next][first][last][top][bottom][index][help] */