#include "src$:gct.h"
Go to the source code of this file.
Data Structures | |
| struct | GCT_MEM_FRAG_DEFS |
| struct | GCT_NODE_INFO |
Defines | |
| #define | MAX_FRAGMENTS 64 |
| Copyright (c) 1997. | |
| #define | GCT__DEBUG_ALLOCATE_NODE 0x001 |
| #define | GCT__DEBUG_INIT 0x002 |
| #define | GCT__DEBUG_LOOKUP_NODE 0x004 |
| #define | GCT__DEBUG_CREATE_GALAXY 0x008 |
| #define | GCT__DEBUG_ASSIGN_HW_COMMUNITY 0x010 |
| #define | GCT__DEBUG_ASSIGN_HW_PARTITION 0x020 |
| #define | GCT__DEBUG_INSERT_NODE 0x040 |
| #define | GCT__DEBUG_CREATE_PARTITION_ID 0x080 |
| #define | GCT__DEBUG_CREATE_COMMUNITY_ID 0x100 |
| #define | GCT__DEBUG_BIND_NODE 0x200 |
| #define | GCT__DEBUG_INIT_FRAGS 0x400 |
| #define | GCT__DEBUG_DEASSIGN_HW 0x800 |
| #define | GCT__DEBUG_ASSIGN_MEM_FRAG 0x1000 |
| #define | GCT__DEBUG_DEASSIGN_MEM_FRAG 0x2000 |
| #define | GCT__DEBUG_GET_MAX_PARTITIONS 0x4000 |
| #define | GCT__DEBUG_VALIDATE_PARTITIONS 0x8000 |
| #define | GCT__DEBUG_FLAGS 0 |
| #define | GCT_POINTER_TO_ROOT gct_root |
| #define | GCT__BUFFER_HEADER_SIZE 64 |
| #define | GCT__INSERT_NEXT_SIBLING 1 |
| #define | GCT__INSERT_CHILD 2 |
| #define | GCT__INSERT_CHILD_LAST_SIB 3 |
| #define | GCT__INSERT_LAST_SIBLING 4 |
Functions | |
| GCT_HANDLE | gct__alloc_node (char nodeType, char nodeSubType, uint64 flags, int32 extra_size, void *type_specific) |
| GCT_HANDLE | gct__create_mem_desc (char nodeType, char nodeSubType, uint64 flags, int32 extra_size, void *type_specific) |
| GCT_HANDLE | gct__create_mem_sub (char nodeType, char nodeSubType, uint64 flags, int32 extra_size, void *type_specific) |
| void | gct__delete_node (GCT_HANDLE node) |
| int32 | gct__mem_frag_init (GCT_HANDLE node, GCT_HANDLE community, GCT_HANDLE partition, void *type_specific) |
| int32 | gct__partition_init (GCT_HANDLE node, GCT_HANDLE community, GCT_HANDLE partition, void *type_specific) |
| int32 | gct__cpu_init (GCT_HANDLE node, GCT_HANDLE community, GCT_HANDLE partition, void *type_specific) |
| void | gct__insert_node (GCT_HANDLE current, GCT_HANDLE newNode, int ins_type) |
Variables | |
| GCT_NODE * | gct_root |
| static GCT_NODE_INFO | gct_node_info [NODE_LAST+1] |
| #define GCT__BUFFER_HEADER_SIZE 64 |
Definition at line 167 of file gct_tree.h.
| #define GCT__DEBUG_ALLOCATE_NODE 0x001 |
Definition at line 52 of file gct_tree.h.
| #define GCT__DEBUG_ASSIGN_HW_COMMUNITY 0x010 |
Definition at line 56 of file gct_tree.h.
| #define GCT__DEBUG_ASSIGN_HW_PARTITION 0x020 |
Definition at line 57 of file gct_tree.h.
| #define GCT__DEBUG_ASSIGN_MEM_FRAG 0x1000 |
Definition at line 64 of file gct_tree.h.
| #define GCT__DEBUG_BIND_NODE 0x200 |
Definition at line 61 of file gct_tree.h.
| #define GCT__DEBUG_CREATE_COMMUNITY_ID 0x100 |
Definition at line 60 of file gct_tree.h.
| #define GCT__DEBUG_CREATE_GALAXY 0x008 |
Definition at line 55 of file gct_tree.h.
| #define GCT__DEBUG_CREATE_PARTITION_ID 0x080 |
Definition at line 59 of file gct_tree.h.
| #define GCT__DEBUG_DEASSIGN_HW 0x800 |
Definition at line 63 of file gct_tree.h.
| #define GCT__DEBUG_DEASSIGN_MEM_FRAG 0x2000 |
Definition at line 65 of file gct_tree.h.
| #define GCT__DEBUG_FLAGS 0 |
Definition at line 70 of file gct_tree.h.
| #define GCT__DEBUG_GET_MAX_PARTITIONS 0x4000 |
Definition at line 66 of file gct_tree.h.
| #define GCT__DEBUG_INIT 0x002 |
Definition at line 53 of file gct_tree.h.
| #define GCT__DEBUG_INIT_FRAGS 0x400 |
Definition at line 62 of file gct_tree.h.
| #define GCT__DEBUG_INSERT_NODE 0x040 |
Definition at line 58 of file gct_tree.h.
| #define GCT__DEBUG_LOOKUP_NODE 0x004 |
Definition at line 54 of file gct_tree.h.
| #define GCT__DEBUG_VALIDATE_PARTITIONS 0x8000 |
Definition at line 67 of file gct_tree.h.
| #define GCT__INSERT_CHILD 2 |
Definition at line 173 of file gct_tree.h.
| #define GCT__INSERT_CHILD_LAST_SIB 3 |
Definition at line 174 of file gct_tree.h.
| #define GCT__INSERT_LAST_SIBLING 4 |
Definition at line 175 of file gct_tree.h.
| #define GCT__INSERT_NEXT_SIBLING 1 |
Definition at line 172 of file gct_tree.h.
| #define GCT_POINTER_TO_ROOT gct_root |
Definition at line 86 of file gct_tree.h.
| #define MAX_FRAGMENTS 64 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 39 of file gct_tree.h.
| GCT_HANDLE gct__alloc_node | ( | char | nodeType, | |
| char | nodeSubType, | |||
| uint64 | flags, | |||
| int32 | extra_size, | |||
| void * | type_specific | |||
| ) |
| int32 gct__cpu_init | ( | GCT_HANDLE | node, | |
| GCT_HANDLE | community, | |||
| GCT_HANDLE | partition, | |||
| void * | type_specific | |||
| ) |
| GCT_HANDLE gct__create_mem_desc | ( | char | nodeType, | |
| char | nodeSubType, | |||
| uint64 | flags, | |||
| int32 | extra_size, | |||
| void * | type_specific | |||
| ) |
| GCT_HANDLE gct__create_mem_sub | ( | char | nodeType, | |
| char | nodeSubType, | |||
| uint64 | flags, | |||
| int32 | extra_size, | |||
| void * | type_specific | |||
| ) |
| void gct__delete_node | ( | GCT_HANDLE | node | ) |
| void gct__insert_node | ( | GCT_HANDLE | current, | |
| GCT_HANDLE | newNode, | |||
| int | ins_type | |||
| ) |
| int32 gct__mem_frag_init | ( | GCT_HANDLE | node, | |
| GCT_HANDLE | community, | |||
| GCT_HANDLE | partition, | |||
| void * | type_specific | |||
| ) |
| int32 gct__partition_init | ( | GCT_HANDLE | node, | |
| GCT_HANDLE | community, | |||
| GCT_HANDLE | partition, | |||
| void * | type_specific | |||
| ) |
GCT_NODE_INFO gct_node_info[NODE_LAST+1] [static] |
Initial value:
{
{0, 0, 0, 0},
{sizeof(GCT_ROOT_NODE), 0, 0, 0},
{sizeof(GCT_HW_ROOT_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_SW_ROOT_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_TEMPLATE_ROOT_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_COMMUNITY_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_PARTITION_NODE), gct__alloc_node, gct__delete_node, gct__partition_init},
{sizeof(GCT_SBB_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_PSEUDO_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_CPU_NODE), gct__alloc_node, gct__delete_node, gct__cpu_init},
{sizeof(GCT_MEMORY_SUB_NODE), gct__create_mem_sub, gct__delete_node, 0},
{sizeof(GCT_MEM_DESC_NODE), gct__create_mem_desc,gct__delete_node, gct__mem_frag_init},
{sizeof(GCT_MEMORY_CTRL_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_IOP_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_HOSE_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_BUS_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_IO_CTRL_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_SLOT_NODE), gct__alloc_node, gct__delete_node, 0},
{sizeof(GCT_CPU_MODULE_NODE), gct__alloc_node, gct__delete_node, 0},
{0, gct__alloc_node, gct__delete_node, 0},
}
Definition at line 139 of file gct_tree.h.
| GCT_NODE* gct_root |