• Austin Clements's avatar
    Generate syscall numbers and remove hand-written numbers · 7770d60c
    Austin Clements 提交于
    Now the only thing you need to do to create a new syscall is write the
    kernel function and put "//SYSCALL" immediately before it.
    
    There are only two places we depended on these #defines: forkt and
    initcode.  We now declare symbolic constants for the syscall numbers
    in sysstubs, which makes forkt just work (though it gets filled in at
    link time instead of by the preprocessor).  For initcode, we now link
    initcode against sysstubs so it can get these constants.
    7770d60c
名称
最后提交
最后更新
attic 正在载入提交数据...
bin 正在载入提交数据...
include 正在载入提交数据...
kernel 正在载入提交数据...
lib 正在载入提交数据...
manuals 正在载入提交数据...
net 正在载入提交数据...
stdinc 正在载入提交数据...
tools 正在载入提交数据...
user 正在载入提交数据...
.cvsignore 正在载入提交数据...
.dir-locals.el 正在载入提交数据...
.gitignore 正在载入提交数据...
BUGS 正在载入提交数据...
LICENSE 正在载入提交数据...
Makefile 正在载入提交数据...
README 正在载入提交数据...
README.josmp 正在载入提交数据...
TODO 正在载入提交数据...
TRICKS 正在载入提交数据...
param.h 正在载入提交数据...