macsim/src/node.c
// Remove context from memory and free memory blocks
Remove context from memory and free memory blocks
Remove context from memory and free memory blocks
void core_finish_context(node_t *node)
{
    switch (node->core_type) {
        case CT_armv3:          armv3_finish_context(node); break;
        case CT_armv6m:         armv6m_finish_context(node); break;
        case CT_netrace:        netrace_finish_context(node); break;
        case CT_riscv:          riscv_finish_context(node); break;
        case CT_rvmpb:          rvmpb_finish_context(node); break;
        case CT_traffic:        traffic_finish_context(node); break;
        default:                fatal("Unknown core type %d", node->core_type);
    }
}
void core_finish_context ( node_t * node ) { switch ( node -> core_type ) { case CT_armv3 : armv3_finish_context ( node ) ; break ; case CT_armv6m : armv6m_finish_context ( node ) ; break ; case CT_netrace : netrace_finish_context ( node ) ; break ; case CT_riscv : riscv_finish_context ( node ) ; break ; case CT_rvmpb : rvmpb_finish_context ( node ) ; break ; case CT_traffic : traffic_finish_context ( node ) ; break ; default : fatal ( " " , node -> core_type ) ; } }
Remove context from memory and free memory blocks
Remove context from memory and free memory blocks