aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-08-24 17:34:27 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-08-24 17:34:27 -0700
commit0bdadcbd6590caf3adaaa97d89482813c64b04a9 (patch)
tree66b1edd4c1129fb78125554076f38da2966fbdcf /env
parente6d377ae10ac5ecea621e2aaca7dd9b29e42fd3b (diff)
downloadriscv-tests-0bdadcbd6590caf3adaaa97d89482813c64b04a9.zip
riscv-tests-0bdadcbd6590caf3adaaa97d89482813c64b04a9.tar.gz
riscv-tests-0bdadcbd6590caf3adaaa97d89482813c64b04a9.tar.bz2
don't emit vvcfg for now
Diffstat (limited to 'env')
-rw-r--r--env/v/vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/env/v/vm.c b/env/v/vm.c
index bd9c80e..dd29a40 100644
--- a/env/v/vm.c
+++ b/env/v/vm.c
@@ -156,14 +156,14 @@ void emulate_vxcptrestore(trapframe_t* tf)
{
long* where = (long*)tf->gpr[(tf->insn >> 22) & 0x1F];
vxcptkill();
- vcfg(tf->veccfg);
+ //vcfg(tf->veccfg);
do_vxcptrestore(where);
}
void restore_vector(trapframe_t* tf)
{
mtpcr(PCR_VECBANK, tf->vecbank);
- vcfg(tf->veccfg);
+ //vcfg(tf->veccfg);
if (mfpcr(PCR_IMPL) == IMPL_ROCKET)
do_vxcptrestore(tf->evac);