Compare commits

..

No commits in common. "c421595a95fb8341680075346084c6365d1660e2" and "13f7f21b49ad0a326bee4f6f811e3aa0db54f001" have entirely different histories.

View File

@ -518,12 +518,6 @@ static void cpu_execute(rv32_cpu_t* cpu, instruction_t* instruction)
cpu->sim_ticks_left = 1;
cpu->pc -= 4;
break;
case IMM_SRET:
fprintf(stderr, "SRET: We don't support that.\n");
break;
case IMM_MRET:
fprintf(stderr, "MRET: We don't support that.\n");
break;
default:
switch(instruction->func7)
{
@ -531,8 +525,7 @@ static void cpu_execute(rv32_cpu_t* cpu, instruction_t* instruction)
fprintf(stderr, "SFENCE.VMA: Guest kernel must think we have an MMU. We have none.\n");
break;
case FUNC7_WFI:
fprintf(stderr, "WFI: Guest kernel must think we have interrupts. We have none. Halting simulation.\n");
cpu->sim_ticks_left = 1;
fprintf(stderr, "WFI: Guest kernel must think we have interrupts. We have none.\n");
break;
default:
fprintf(stderr, "FATAL: Unknown IMM for ECALL/EBREAK instruction while executing (IMM=0x%x)\n", instruction->immediate);
@ -1076,12 +1069,6 @@ static void cpu_print_instruction(instruction_t* instruction)
case IMM_EBREAK:
printf("ebreak\n");
break;
case IMM_SRET:
printf("sret\n");
break;
case IMM_MRET:
printf("mret\n");
break;
default:
switch(instruction->func7)
{