/* * 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/gda.h>. * * Copyright (C) 1992 - 1997, 2000 Silicon Graphics, Inc. * * gda.h -- Contains the data structure for the global data area, * The GDA contains information communicated between the * PROM, SYMMON, and the kernel.
*/ #ifndef _ASM_SN_GDA_H #define _ASM_SN_GDA_H
#include <asm/sn/addrs.h>
/* * GDA Version History * * Version # | Change * -------------+------------------------------------------------------- * 1 | Initial SN0 version * 2 | Prom sets g_partid field to the partition number. 0 IS * | a valid partition #.
*/
typedefstruct gda {
u32 g_magic; /* GDA magic number */
u16 g_version; /* Version of this structure */
u16 g_masterid; /* The NASID:CPUNUM of the master cpu */
u32 g_promop; /* Passes requests from the kernel to prom */
u32 g_vds; /* Store the virtual dipswitches here */ void **g_hooked_norm;/* ptr to pda loc for norm hndlr */ void **g_hooked_utlb;/* ptr to pda loc for utlb hndlr */ void **g_hooked_xtlb;/* ptr to pda loc for xtlb hndlr */ int g_partid; /* partition id */ int g_symmax; /* Max symbols in name table. */ void *g_dbstab; /* Address of idbg symbol table */ char *g_nametab; /* Address of idbg name table */ void *g_ktext_repmask; /* Pointer to a mask of nodes with copies
* of the kernel. */ char g_padding[56]; /* pad out to 128 bytes */
nasid_t g_nasidtable[MAX_NUMNODES]; /* NASID of each node */
} gda_t;
#define GDA ((gda_t*) GDA_ADDR(get_nasid()))
#endif/* !__ASSEMBLY__ */ /* * Define: PART_GDA_VERSION * Purpose: Define the minimum version of the GDA required, lower * revisions assume GDA is NOT set up, and read partition * information from the board info.
*/ #define PART_GDA_VERSION 2
/* * The following requests can be sent to the PROM during startup.
*/
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.