diff options
Diffstat (limited to 'arch/ia64/sn/fprom/fpmem.h')
-rw-r--r-- | arch/ia64/sn/fprom/fpmem.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/ia64/sn/fprom/fpmem.h b/arch/ia64/sn/fprom/fpmem.h new file mode 100644 index 000000000..bbab73638 --- /dev/null +++ b/arch/ia64/sn/fprom/fpmem.h @@ -0,0 +1,35 @@ +/* + * + * 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. + * + * Copyright (C) 2000 Silicon Graphics, Inc. + * Copyright (C) 2000 by Jack Steiner (steiner@sgi.com) + */ + + + +#include <asm/sn/mmzone_sn1.h> + +typedef struct sn_memmap_s +{ + short nasid ; + short cpuconfig; + node_memmap_t node_memmap ; +} sn_memmap_t ; + +typedef struct sn_config_s +{ + int cpus; + int nodes; + sn_memmap_t memmap[1]; /* start of array */ +} sn_config_t; + + +extern void build_init(unsigned long); +extern int build_efi_memmap(void *, int); +extern int GetNumNodes(void); +extern int GetNumCpus(void); +extern int IsCpuPresent(int, int); +extern int GetNasid(int); |