root/include/asm-sparc/mp.h

/* [previous][next][first][last][top][bottom][index][help] */
   1 /* $Id: mp.h,v 1.3 1996/03/25 20:21:09 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 struct sparc_percpu {
  14         struct tt_entry *trap_table;
  15         char *kernel_stack[PAGE_SIZE<<1];
  16         int cpuid;          /* Who am I? */
  17         int cpu_is_alive;   /* Linux has fired it up. */
  18         int cpu_is_idling;  /* Is sitting in the idle loop. */
  19         /* More to come... */
  20         char filler[PERCPU_ENTSIZE-(PAGE_SIZE*2)-0xc];
  21 };
  22 
  23 extern struct sparc_percpu *percpu_table;
  24 
  25 struct prom_cpuinfo {
  26         int prom_node;
  27         int mid;
  28 };
  29 
  30 extern struct prom_cpuinfo linux_cpus[NCPUS];
  31 
  32 #endif /* !(_SPARC_MP_H) */

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