FreeCalypso > hg > fc-magnetite
diff src/cs/services/etm/etm_env.c @ 110:49254db81128
implemented fix for the L1/ETM boot time race condition bug
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 06 Oct 2016 00:13:12 +0000 |
parents | 45ceec943347 |
children |
line wrap: on
line diff
--- a/src/cs/services/etm/etm_env.c Wed Oct 05 23:44:54 2016 +0000 +++ b/src/cs/services/etm/etm_env.c Thu Oct 06 00:13:12 2016 +0000 @@ -38,6 +38,9 @@ */ T_ETM_ENV_CTRL_BLK *etm_env_ctrl_blk = NULL; +/* FreeCalypso addition */ +int etm_is_running; + /****************************************************************************** * Function : etm_get_info @@ -166,6 +169,7 @@ T_RVM_RETURN etm_init(void) { + etm_is_running = 1; /* FreeCalypso addition */ return RVM_OK; } @@ -207,6 +211,7 @@ T_RVM_RETURN etm_stop(void) { + etm_is_running = 0; /* FreeCalypso addition */ return RVM_OK; }