Search code examples
operating-systemsystem-callsxv6

how do i add a system call / utility in xv6


Can any one tell me/ point me any references to how to add a system call / utility in XV6

exhaustive search on google was futile and hacking the hard way also was not productive so far .

the reference book also did not have any hello world example to start with any help greatly appreciated


Solution

  • Read this: http://zoo.cs.yale.edu/classes/cs422/2010/xv6-book/trap.pdf
    It explains it quite well