Skip to content

Commit 183a2d0

Browse files
authored
Merge pull request #1770 from YenHaoChen/pr-sim
Fix a typo in f11bd7b (Support parsing procs fully from DTS)
2 parents 6f28e4b + 20a5082 commit 183a2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv/sim.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ sim_t::sim_t(const cfg_t *cfg, bool halted,
103103
cfg, this, cfg->hartids[i], halted,
104104
log_file.get(), sout_));
105105
harts[cfg->hartids[i]] = procs[i];
106-
return;
107106
}
107+
return;
108108
} // otherwise, generate the procs by parsing the DTS
109109

110110
// Only make a CLINT (Core-Local INTerrupt controller) and PLIC (Platform-

0 commit comments

Comments
 (0)