You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
I add a loop in software/timer-interrupt/timer-interrupt.c to check intr_count update, and find nothing output. Is the timer-interrupt must be trigged by function metal_cpu_set_mtimecmp(cpu, 0);
Following is my code about the loop in timer-interrupt.c
printf("before return %d\n", intr_count);
int last = intr_count;
while(1)
{
if(intr_count != last){
printf("tmr updated %d\n", intr_count);
last = intr_count;
}
}
I add a loop in software/timer-interrupt/timer-interrupt.c to check intr_count update, and find nothing output. Is the timer-interrupt must be trigged by function
metal_cpu_set_mtimecmp(cpu, 0);
Following is my code about the loop in timer-interrupt.c
I'm curious why timer-interrupt doesn't trigger automated.
The text was updated successfully, but these errors were encountered: