/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Derived from IRIX <sys/SN/nmi.h>, Revision 1.5. * * Copyright (C) 1992 - 1997 Silicon Graphics, Inc.
*/ #ifndef __ASM_SN_NMI_H #define __ASM_SN_NMI_H
#include <asm/sn/addrs.h>
/* * The launch data structure resides at a fixed place in each node's memory * and is used to communicate between the master processor and the slave * processors. * * The master stores launch parameters in the launch structure * corresponding to a target processor that is in a slave loop, then sends * an interrupt to the slave processor. The slave calls the desired * function, followed by an optional rendezvous function, then returns to * the slave loop. The master does not wait for the slaves before * returning. * * There is an array of launch structures, one per CPU on the node. One * interrupt level is used per CPU.
*/
/* * The NMI routine is called only if the complement address is * correct. * * Before control is transferred to a routine, the complement address * is zeroed (invalidated) to prevent an accidental call from a spurious * interrupt. *
*/
#ifndef __ASSEMBLY__
typedefstruct nmi_s { volatileunsignedlong magic; /* Magic number */ volatileunsignedlong flags; /* Combination of flags above */ volatilevoid *call_addr; /* Routine for slave to call */ volatilevoid *call_addr_c; /* 1's complement of address */ volatilevoid *call_parm; /* Single parm passed to call */ volatileunsignedlong gmaster; /* Flag true only on global master*/
} nmi_t;
#endif/* !__ASSEMBLY__ */
/* Following definitions are needed both in the prom & the kernel * to identify the format of the nmi cpu register save area in the * low memory on each node.
*/ #ifndef __ASSEMBLY__
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.