add sys_add_three_integers

This commit is contained in:
2024-09-12 12:59:18 -04:00
parent f5117281a3
commit 090b997d35
9 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
#include <types.h>
#include <lib.h>
#include <syscall.h>
int sys_add_three_integers(int a, int b, int c, int *ret) {
*ret = a + b + c;
return 0;
}