macsim/src/node.c
// Store the current context to a file
Store the current context to a file
Store the current context to a file
void core_dump_context(const char *file, node_t *node)
{
    switch (node->core_type) {
        case CT_armv3:      fatal("Not implemented for armv3"); break;
        case CT_armv6m:     fatal("Not implemented for armv6m"); break;
        case CT_riscv:      riscv_dump_context(file, node); break;
        case CT_rvmpb:      riscv_dump_context(file, node); break;
        default:            fatal("Unknown core type %d", node->core_type);
    }
}
void core_dump_context ( const char * file , node_t * node ) { switch ( node -> core_type ) { case CT_armv3 : fatal ( " " ) ; break ; case CT_armv6m : fatal ( " " ) ; break ; case CT_riscv : riscv_dump_context ( file , node ) ; break ; case CT_rvmpb : riscv_dump_context ( file , node ) ; break ; default : fatal ( " " , node -> core_type ) ; } }
Store the current context to a file
Store the current context to a file
//        case CT_tricore:    tricore_print_context(node); break; //        case CT_or32:       or32_print_context(node); break; //        case CT_mips32:     mips32_print_context(node); break;