Mercurial > hg > Papers > 2021 > anatofuz-master
view paper/src/xv6_syscall.cbc @ 111:4642d2f215d2
update
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 06 Feb 2021 15:42:26 +0900 |
parents | e25a073180de |
children |
line wrap: on
line source
void syscall(void) { int num; int ret; if((num >= NELEM(syscalls)) && (num <= NELEM(cbccodes)) && cbccodes[num]) { proc->cbc_arg.cbc_console_arg.num = num; goto (cbccodes[num])(cbc_ret); }