Close interrupt during trapframe construction.

This commit is contained in:
TXuian
2024-04-28 18:34:45 +08:00
parent e5df6012af
commit 695dd91201
10 changed files with 22 additions and 8 deletions
@@ -89,7 +89,9 @@ int main()
mmap(ARM_PERIPHERAL_VIRT_BASE, ARM_PERIPHERAL_BASE, 0x2000, true);
printf("%s: Sending soft interrupt\n", prog_name);
gic_send_sgi(SW_INTERRUPT_3, 0xF, kGicSgiFilter_UseTargetList);
while (1) {
gic_send_sgi(SW_INTERRUPT_3, 0xF, kGicSgiFilter_UseTargetList);
}
printf("%s: Soft interrupt send done\n", prog_name);
exit();
}