blob: 692507ec5ef9c9916642fd946adf093176014b05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// SPDX-FileCopyrightText: 2024 Himbeer <himbeer@disroot.org>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
const trap = @import("trap.zig");
pub const Error = error{
UnknownSyscall,
};
pub fn handle(trap_frame: *const trap.Frame) !void {
switch (trap_frame.general_purpose_registers[10]) {
else => return Error.UnknownSyscall,
}
}
|