summaryrefslogtreecommitdiff
path: root/labs/xv6.html
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-08-02 11:55:26 -0400
committerRobert Morris <[email protected]>2019-08-02 11:55:26 -0400
commit0c10cbe829787a2745b0f7e3ad46f200b0b94d34 (patch)
tree804979bc6c773a75473b0c603f56536292b7cacc /labs/xv6.html
parent0c3125b9ebf5fde1396620da3f5839b88a3ae50b (diff)
downloadxv6-labs-0c10cbe829787a2745b0f7e3ad46f200b0b94d34.tar.gz
xv6-labs-0c10cbe829787a2745b0f7e3ad46f200b0b94d34.tar.bz2
xv6-labs-0c10cbe829787a2745b0f7e3ad46f200b0b94d34.zip
syscall lab nits
Diffstat (limited to 'labs/xv6.html')
-rw-r--r--labs/xv6.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/labs/xv6.html b/labs/xv6.html
index 8dc7786..13d581e 100644
--- a/labs/xv6.html
+++ b/labs/xv6.html
@@ -82,16 +82,16 @@ initial file system. You just ran one of them: <tt>ls</tt>.
<h2>sleep</h2>
-<p>Implement the UNIX program sleep, which sleeps for a user-specified
- number of ticks.
+<p>Implement the UNIX program sleep for xv6; your sleep should pause
+ for a user-specified number of ticks.
<p>Some hints:
<ul>
<li>Look at some of the other programs in <tt>user/</tt> to see
- how you can obtain the arguments passed to a program. If the user
+ how you can obtain the command-line arguments passed to a program. If the user
forgets to pass an argument, sleep should print an error message.
- <li>The argument is passed as a string; you can convert it to an
+ <li>The command-line argument is passed as a string; you can convert it to an
integer using <tt>atoi</tt> (see user/ulib.c).
<li>Use the system call <tt>sleep</tt> (see user/usys.S and kernel/sysproc.c).