Browse Source
Merge pull request #1267 from scottj97/clint-initialize-mtip
Initialize MTIP at reset
pull/1268/head
Andrew Waterman
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
riscv/clint.cc
|
|
|
@ -12,6 +12,7 @@ clint_t::clint_t(sim_t* sim, uint64_t freq_hz, bool real_time) |
|
|
|
|
|
|
|
real_time_ref_secs = base.tv_sec; |
|
|
|
real_time_ref_usecs = base.tv_usec; |
|
|
|
increment(0); |
|
|
|
} |
|
|
|
|
|
|
|
/* 0000 msip hart 0
|
|
|
|
|