#include <cfgdef.h>
Go to the source code of this file.
Data Structures | |
| struct | CFG_MEM_FRAG_DEFS |
| struct | CFG_NODE_INFO |
Defines | |
| #define | MAX_FRAGMENTS 64 |
| Copyright (c) 1997. | |
| #define | CFG__DEBUG_ALLOCATE_NODE 0x001 |
| #define | CFG__DEBUG_INIT 0x002 |
| #define | CFG__DEBUG_LOOKUP_NODE 0x004 |
| #define | CFG__DEBUG_CREATE_GALAXY 0x008 |
| #define | CFG__DEBUG_ASSIGN_HW_COMMUNITY 0x010 |
| #define | CFG__DEBUG_ASSIGN_HW_PARTITION 0x020 |
| #define | CFG__DEBUG_INSERT_NODE 0x040 |
| #define | CFG__DEBUG_CREATE_PARTITION_ID 0x080 |
| #define | CFG__DEBUG_CREATE_COMMUNITY_ID 0x100 |
| #define | CFG__DEBUG_BIND_NODE 0x200 |
| #define | CFG__DEBUG_INIT_FRAGS 0x400 |
| #define | CFG__DEBUG_DEASSIGN_HW 0x800 |
| #define | CFG__DEBUG_ASSIGN_MEM_FRAG 0x1000 |
| #define | CFG__DEBUG_DEASSIGN_MEM_FRAG 0x2000 |
| #define | CFG__DEBUG_GET_MAX_PARTITIONS 0x4000 |
| #define | CFG__DEBUG_VALIDATE_PARTITIONS 0x8000 |
| #define | CFG__DEBUG_FLAGS 0 |
| #define | CFG_POINTER_TO_ROOT cfg_root |
| #define | CFG__BUFFER_HEADER_SIZE 64 |
| #define | CFG__INSERT_NEXT_SIBLING 1 |
| #define | CFG__INSERT_CHILD 2 |
| #define | CFG__INSERT_CHILD_LAST_SIB 3 |
| #define | CFG__INSERT_LAST_SIBLING 4 |
Functions | |
| CFG_HANDLE | cfg__alloc_node (char nodeType, char nodeSubType, uint64 flags, int32 extra_size, void *type_specific) |
| CFG_HANDLE | cfg__create_mem_sub (char nodeType, char nodeSubType, uint64 flags, int32 extra_size, void *type_specific) |
| void | cfg__delete_node (CFG_HANDLE node) |
| int32 | cfg__partition_init (CFG_HANDLE node, CFG_HANDLE community, CFG_HANDLE partition, void *type_specific) |
| int32 | cfg__cpu_init (CFG_HANDLE node, CFG_HANDLE community, CFG_HANDLE partition, void *type_specific) |
| void | cfg__insert_node (CFG_HANDLE current, CFG_HANDLE newNode, int ins_type) |
Variables | |
| CFG_NODE * | cfg_root |
| static CFG_NODE_INFO | cfg_node_info [CFG $K_NODE_LAST+1] |
| #define CFG__BUFFER_HEADER_SIZE 64 |
Definition at line 179 of file cfg_tree.h.
| #define CFG__DEBUG_ALLOCATE_NODE 0x001 |
Definition at line 56 of file cfg_tree.h.
| #define CFG__DEBUG_ASSIGN_HW_COMMUNITY 0x010 |
Definition at line 60 of file cfg_tree.h.
| #define CFG__DEBUG_ASSIGN_HW_PARTITION 0x020 |
Definition at line 61 of file cfg_tree.h.
| #define CFG__DEBUG_ASSIGN_MEM_FRAG 0x1000 |
Definition at line 68 of file cfg_tree.h.
| #define CFG__DEBUG_BIND_NODE 0x200 |
Definition at line 65 of file cfg_tree.h.
| #define CFG__DEBUG_CREATE_COMMUNITY_ID 0x100 |
Definition at line 64 of file cfg_tree.h.
| #define CFG__DEBUG_CREATE_GALAXY 0x008 |
Definition at line 59 of file cfg_tree.h.
| #define CFG__DEBUG_CREATE_PARTITION_ID 0x080 |
Definition at line 63 of file cfg_tree.h.
| #define CFG__DEBUG_DEASSIGN_HW 0x800 |
Definition at line 67 of file cfg_tree.h.
| #define CFG__DEBUG_DEASSIGN_MEM_FRAG 0x2000 |
Definition at line 69 of file cfg_tree.h.
| #define CFG__DEBUG_FLAGS 0 |
Definition at line 74 of file cfg_tree.h.
| #define CFG__DEBUG_GET_MAX_PARTITIONS 0x4000 |
Definition at line 70 of file cfg_tree.h.
| #define CFG__DEBUG_INIT 0x002 |
Definition at line 57 of file cfg_tree.h.
| #define CFG__DEBUG_INIT_FRAGS 0x400 |
Definition at line 66 of file cfg_tree.h.
| #define CFG__DEBUG_INSERT_NODE 0x040 |
Definition at line 62 of file cfg_tree.h.
| #define CFG__DEBUG_LOOKUP_NODE 0x004 |
Definition at line 58 of file cfg_tree.h.
| #define CFG__DEBUG_VALIDATE_PARTITIONS 0x8000 |
Definition at line 71 of file cfg_tree.h.
| #define CFG__INSERT_CHILD 2 |
Definition at line 185 of file cfg_tree.h.
| #define CFG__INSERT_CHILD_LAST_SIB 3 |
Definition at line 186 of file cfg_tree.h.
| #define CFG__INSERT_LAST_SIBLING 4 |
Definition at line 187 of file cfg_tree.h.
| #define CFG__INSERT_NEXT_SIBLING 1 |
Definition at line 184 of file cfg_tree.h.
| #define CFG_POINTER_TO_ROOT cfg_root |
Definition at line 90 of file cfg_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 43 of file cfg_tree.h.
| CFG_HANDLE cfg__alloc_node | ( | char | nodeType, | |
| char | nodeSubType, | |||
| uint64 | flags, | |||
| int32 | extra_size, | |||
| void * | type_specific | |||
| ) |
| int32 cfg__cpu_init | ( | CFG_HANDLE | node, | |
| CFG_HANDLE | community, | |||
| CFG_HANDLE | partition, | |||
| void * | type_specific | |||
| ) |
| CFG_HANDLE cfg__create_mem_sub | ( | char | nodeType, | |
| char | nodeSubType, | |||
| uint64 | flags, | |||
| int32 | extra_size, | |||
| void * | type_specific | |||
| ) |
| void cfg__delete_node | ( | CFG_HANDLE | node | ) |
| void cfg__insert_node | ( | CFG_HANDLE | current, | |
| CFG_HANDLE | newNode, | |||
| int | ins_type | |||
| ) |
| int32 cfg__partition_init | ( | CFG_HANDLE | node, | |
| CFG_HANDLE | community, | |||
| CFG_HANDLE | partition, | |||
| void * | type_specific | |||
| ) |
CFG_NODE_INFO cfg_node_info[CFG $K_NODE_LAST+1] [static] |
Initial value:
{
{0, 0, 0, 0},
{sizeof(CFG_ROOT_NODE), 0, 0, 0},
{sizeof(CFG_HW_ROOT_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_SW_ROOT_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_TEMPLATE_ROOT_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_COMMUNITY_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_PARTITION_NODE), cfg__alloc_node, cfg__delete_node, cfg__partition_init},
{sizeof(CFG_SBB_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_PSEUDO_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_CPU_NODE), cfg__alloc_node, cfg__delete_node, cfg__cpu_init},
{sizeof(CFG_MEMORY_SUB_NODE), cfg__create_mem_sub, cfg__delete_node, 0},
{0, 0, 0, 0},
{sizeof(CFG_MEMORY_CTRL_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_IOP_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_HOSE_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_BUS_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_IO_CTRL_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_SLOT_NODE), cfg__alloc_node, cfg__delete_node, 0},
{sizeof(CFG_CPU_MODULE_NODE), cfg__alloc_node, cfg__delete_node, 0},
{0, cfg__alloc_node, cfg__delete_node, 0},
}
Definition at line 147 of file cfg_tree.h.
| CFG_NODE* cfg_root |