Skip to content

Commit

Permalink
js: expose syscall function in types
Browse files Browse the repository at this point in the history
  • Loading branch information
tombl committed Dec 30, 2024
1 parent 44f78be commit f70e1fa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/wasm/src/wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ export interface Instance extends WebAssembly.Instance {
boot(): void;
call(fn: number, arg: number): void;
trigger_irq_for_cpu(cpu: number, irq: number): void;
syscall(
nr: number,
arg0: number,
arg1: number,
arg2: number,
arg3: number,
arg4: number,
arg5: number,
): number;
};
}

Expand Down

0 comments on commit f70e1fa

Please sign in to comment.