Skip to content
Snippets Groups Projects
Commit 33007785 authored by Danny Auble's avatar Danny Auble
Browse files

BLUEGENE - added ba_setup_wires to the configure_api

parent b9c4edda
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ typedef struct {
void (*ba_init) (node_info_msg_t *node_info_ptr,
bool load_bridge);
void (*ba_fini) (void);
void (*ba_setup_wires) (void);
void (*reset_ba_system) (bool track_down_mps);
void (*destroy_ba_mp) (void *ptr);
char *(*ba_passthroughs_string)(uint16_t passthrough);
......@@ -84,6 +85,7 @@ static bg_configure_api_ops_t *_get_ops(bg_configure_context_t *c)
static const char *syms[] = {
"ba_init",
"ba_fini",
"ba_setup_wires",
"reset_ba_system",
"destroy_ba_mp",
"ba_passthroughs_string",
......@@ -235,6 +237,14 @@ extern void bg_configure_ba_fini(void)
(*(bg_configure_context->ops.ba_fini))();
}
extern void bg_configure_ba_setup_wires(void)
{
if (bg_configure_init() < 0)
return;
(*(bg_configure_context->ops.ba_setup_wires))();
}
extern void bg_configure_reset_ba_system(bool track_down_mps)
{
if (bg_configure_init() < 0)
......
......@@ -68,6 +68,11 @@ extern void bg_configure_ba_init(
*/
extern void bg_configure_ba_fini(void);
/* Setup the wires on the system and the structures needed to create
* blocks. This should be called before trying to create blocks.
*/
extern void bg_configure_ba_setup_wires(void);
/*
* Resets the virtual system to a virgin state. If track_down_mps is set
* then those midplanes are not set to idle, but kept in a down state.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment