create doSysCall function
merge conflict