From: Andrew Waterman Date: Thu, 22 Jul 2010 06:30:28 +0000 (-0700) Subject: [pk,sim] removed cop0 console i/o support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ceb91dab9cada03e1bc24e17a47ac162da73cdf4;p=riscv-isa-sim.git [pk,sim] removed cop0 console i/o support --- diff --git a/riscv/insns/mtc0.h b/riscv/insns/mtc0.h index f018cf6..d45d459 100644 --- a/riscv/insns/mtc0.h +++ b/riscv/insns/mtc0.h @@ -11,15 +11,6 @@ switch(insn.rtype.rs) case 3: ebase = sext32(RT & ~0xFFF); break; - case 8: - { - char ch = RT; - demand(1 == write(1,&ch,1),"wtf"); - break; - } - case 9: - printf("%ld insns retired\n",counters[0]); - exit(0); case 16: sim->set_tohost(sext32(RT));