diff options
Diffstat (limited to 'tb')
| -rw-r--r-- | tb/interval_timer.cpp | 2 | ||||
| -rw-r--r-- | tb/top/conspiracion.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tb/interval_timer.cpp b/tb/interval_timer.cpp index 88c24f7..7ab15d8 100644 --- a/tb/interval_timer.cpp +++ b/tb/interval_timer.cpp @@ -75,7 +75,7 @@ namespace taller::avalon control_ito = !!(data & (1 << 0)); control_cont = !!(data & (1 << 1)); - status_run = (status_run && !!(data << (1 << 3))) || !!(data << (1 << 2)); + status_run = (status_run && !!(data & (1 << 3))) || !!(data & (1 << 2)); break; case 2: diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index 67ad2db..5af439f 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -19,6 +19,7 @@ #include "Vconspiracion_platform.h" #include "Vconspiracion_vga_domain.h" #include "Vconspiracion_core_control.h" +#include "Vconspiracion_core_cp15_domain.h" #include "Vconspiracion_core_cp15_far.h" #include "Vconspiracion_core_cp15_fsr.h" #include "Vconspiracion_core_cp15_syscfg.h" @@ -464,6 +465,7 @@ int main(int argc, char **argv) std::fprintf(ctrl, "%08x ttbr\n", core.cp15->ttbr->read); std::fprintf(ctrl, "%08x far\n", core.cp15->far_->read); std::fprintf(ctrl, "%08x fsr\n", core.cp15->fsr->read); + std::fprintf(ctrl, "%08x dacr\n", core.cp15->domain->mmu_dac); std::fputs("=== end-regs ===\n", ctrl); }; |
