From ad6d0e8f2d765c8db3acf049ccb48f320d409ea7 Mon Sep 17 00:00:00 2001 From: Mes Date: Sun, 15 Dec 2024 19:10:00 +0800 Subject: [PATCH] Place 'TODO' comments to indicate the next step --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 42369c6..69d9150 100644 --- a/main.c +++ b/main.c @@ -302,7 +302,8 @@ static inline sbi_ret_t handle_sbi_ecall_IPI(hart_t *hart, int32_t fid) static inline sbi_ret_t handle_sbi_ecall_RFENCE(hart_t *hart, int32_t fid) { - /* TODO: RFENCE SBI extension */ + /* TODO: Complete RFENCE SBI extension to support parallel multi-core + * simulation. */ uint64_t hart_mask, hart_mask_base; switch (fid) { case 0: @@ -618,6 +619,7 @@ static int semu_start(int argc, char **argv) /* Emulate */ uint32_t peripheral_update_ctr = 0; while (!emu.stopped) { + /* TODO: Implement parallel multi-core simulation */ for (uint32_t i = 0; i < vm.n_hart; i++) { if (peripheral_update_ctr-- == 0) { peripheral_update_ctr = 64;