title: Pass struct to xv6 system call
body: <p>I'm aware which we are not able to pass parameters to xv6 system call directly and we are forced to use it's built in methods.</p>
  
  <p>But all examples and questions in this site is about how to send integer to system call. Which it's answer is using argint() method.</p>
  
  <p>But my question is, is there anyway to pass "struct" to a xv6 system call? Are there any bulit-in methods for this purpose too? </p>
  
  <p>If there is, could you please say a simple example?</p>