From ceb91dab9cada03e1bc24e17a47ac162da73cdf4 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 21 Jul 2010 23:30:28 -0700 Subject: [PATCH] [pk,sim] removed cop0 console i/o support --- riscv/insns/mtc0.h | 9 --------- 1 file changed, 9 deletions(-) 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)); -- 2.30.2