diff options
Diffstat (limited to 'machine/minit.c')
-rw-r--r-- | machine/minit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/machine/minit.c b/machine/minit.c index 94a1491..0052eb7 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -124,7 +124,7 @@ static void hart_plic_init() static void wake_harts() { for (int hart = 0; hart < MAX_HARTS; ++hart) - if ((((~HART_MASK & hart_mask) >> hart) & 1)) + if ((((~DISABLED_HART_MASK & hart_mask) >> hart) & 1)) *OTHER_HLS(hart)->ipi = 1; // wakeup the hart } |