Skip to content

Commit

Permalink
Place 'TODO' comments to indicate the next step
Browse files Browse the repository at this point in the history
  • Loading branch information
Mes0903 committed Dec 15, 2024
1 parent e86f510 commit ad6d0e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ad6d0e8

Please sign in to comment.