aboutsummaryrefslogtreecommitdiff
path: root/src/interrupts.zig
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-05-12 12:16:56 +0200
committerHimbeer <himbeer@disroot.org>2024-05-12 12:16:56 +0200
commit28ab405e7aeb099ec4b19ea50f8924c59f6594b7 (patch)
tree6f7524967eb2d9fba7dbbea421dc8ec816fb4166 /src/interrupts.zig
parentffa86f50962556fa47b9e73c4d5b254a02ea40ed (diff)
interrupts: Stop timer interrupt handler log spam
Diffstat (limited to 'src/interrupts.zig')
-rw-r--r--src/interrupts.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/interrupts.zig b/src/interrupts.zig
index 090b8f3..90dcb12 100644
--- a/src/interrupts.zig
+++ b/src/interrupts.zig
@@ -106,7 +106,6 @@ export fn handleTrap(epc: usize, tval: usize, cause_bits: usize, hart_id: usize,
switch (@as(AsyncCause, @enumFromInt(cause.num))) {
.supervisor_software => w.print("Hart {d}: Software interrupt\r\n", .{hart_id}) catch while (true) {},
.supervisor_timer => {
- w.print("Hart {d}: Timer interrupt\r\n", .{hart_id}) catch while (true) {};
time.interruptInSeconds(null, 1) catch while (true) {};
},
.supervisor_external => {