This repository gives the complete description of adding system calls to the xv6 kernel.
GNU General Public License v3.0GPL-3.0