Skip to content

Commit ad6d0e8

Browse files
committed
Place 'TODO' comments to indicate the next step
1 parent e86f510 commit ad6d0e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ static inline sbi_ret_t handle_sbi_ecall_IPI(hart_t *hart, int32_t fid)
302302

303303
static inline sbi_ret_t handle_sbi_ecall_RFENCE(hart_t *hart, int32_t fid)
304304
{
305-
/* TODO: RFENCE SBI extension */
305+
/* TODO: Complete RFENCE SBI extension to support parallel multi-core
306+
* simulation. */
306307
uint64_t hart_mask, hart_mask_base;
307308
switch (fid) {
308309
case 0:
@@ -618,6 +619,7 @@ static int semu_start(int argc, char **argv)
618619
/* Emulate */
619620
uint32_t peripheral_update_ctr = 0;
620621
while (!emu.stopped) {
622+
/* TODO: Implement parallel multi-core simulation */
621623
for (uint32_t i = 0; i < vm.n_hart; i++) {
622624
if (peripheral_update_ctr-- == 0) {
623625
peripheral_update_ctr = 64;

0 commit comments

Comments
 (0)