diff options
author | Robert Morris <[email protected]> | 2019-06-04 10:43:45 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-06-04 10:43:45 -0400 |
commit | 0e131b226336808c135795f5b9d7defc5a58b2ae (patch) | |
tree | 226cf0c8f1043d99175aee8835baf570cdf662e6 /sysproc.c | |
parent | b78894f34ebbceb23bcf36ff820fefb942b54ccf (diff) | |
download | xv6-labs-0e131b226336808c135795f5b9d7defc5a58b2ae.tar.gz xv6-labs-0e131b226336808c135795f5b9d7defc5a58b2ae.tar.bz2 xv6-labs-0e131b226336808c135795f5b9d7defc5a58b2ae.zip |
fix a problem with end. make uartputc() wait until h/w is ready.
Diffstat (limited to 'sysproc.c')
-rw-r--r-- | sysproc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ sys_sbrk(void) if(argint(0, &n) < 0) return -1; + printf("sbrk(%d), sz was %d\n", n, (int)myproc()->sz); addr = myproc()->sz; if(growproc(n) < 0) return -1; |