Where syscalls are stored in FreeBSD?

I am developing my own Unix-like OS called Zaurux and i don't know, where do i need to store syscalls.
I want to know, where syscalls are stored in FreeBSD kernel before storing syscalls in my OS.
I tried to find them in the code of kernel, but there is too many #include <*.h> where * is name of header.
P.S. It's not an ad, it's just a question and it IS related to FreeBSD because I want to know how it works.
 
Suggestion for you finding the answer yourself: Read the "black book": Design and implementation of the FreeBSD Operating System (the second edition is black and orange on the cover), by Kirk McKusick et al.
 
Back
Top