diff --git a/syscalls/ece391syscall.S b/syscalls/ece391syscall.S index a17c6b8e3eab679f2929b9333c919214715945d4..145d788118d6ef141aef8ed6bae2c397095236b8 100644 --- a/syscalls/ece391syscall.S +++ b/syscalls/ece391syscall.S @@ -27,6 +27,8 @@ DO_CALL(ece391_getargs,SYS_GETARGS) DO_CALL(ece391_vidmap,SYS_VIDMAP) DO_CALL(ece391_set_handler,SYS_SET_HANDLER) DO_CALL(ece391_sigreturn,SYS_SIGRETURN) +DO_CALL(ece391_malloc,SYS_MALLOC) +DO_CALL(ece391_free,SYS_FREE) /* Call the main() function, then halt with its return value. */ diff --git a/syscalls/ece391sysnum.h b/syscalls/ece391sysnum.h index 052f3b2f8191bd52ea14549e23ae85256dc959d5..ecd4db23092bb580b5e36ea4dece877af31359e1 100644 --- a/syscalls/ece391sysnum.h +++ b/syscalls/ece391sysnum.h @@ -11,5 +11,7 @@ #define SYS_VIDMAP 8 #define SYS_SET_HANDLER 9 #define SYS_SIGRETURN 10 +#define SYS_MALLOC 11 +#define SYS_FREE 12 #endif /* ECE391SYSNUM_H */