Skip to content
Snippets Groups Projects
Commit 666cf044 authored by Zefan Xu's avatar Zefan Xu
Browse files

add modified syscallsupport.S

parent b4157868
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,8 @@ DO_CALL(ece391_getargs,SYS_GETARGS) ...@@ -27,6 +27,8 @@ DO_CALL(ece391_getargs,SYS_GETARGS)
DO_CALL(ece391_vidmap,SYS_VIDMAP) DO_CALL(ece391_vidmap,SYS_VIDMAP)
DO_CALL(ece391_set_handler,SYS_SET_HANDLER) DO_CALL(ece391_set_handler,SYS_SET_HANDLER)
DO_CALL(ece391_sigreturn,SYS_SIGRETURN) 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. */ /* Call the main() function, then halt with its return value. */
......
...@@ -11,5 +11,7 @@ ...@@ -11,5 +11,7 @@
#define SYS_VIDMAP 8 #define SYS_VIDMAP 8
#define SYS_SET_HANDLER 9 #define SYS_SET_HANDLER 9
#define SYS_SIGRETURN 10 #define SYS_SIGRETURN 10
#define SYS_MALLOC 11
#define SYS_FREE 12
#endif /* ECE391SYSNUM_H */ #endif /* ECE391SYSNUM_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment