summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-06-04 10:43:45 -0400
committerRobert Morris <[email protected]>2019-06-04 10:43:45 -0400
commit0e131b226336808c135795f5b9d7defc5a58b2ae (patch)
tree226cf0c8f1043d99175aee8835baf570cdf662e6 /proc.c
parentb78894f34ebbceb23bcf36ff820fefb942b54ccf (diff)
downloadxv6-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 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index e9aec5d..b696d0c 100644
--- a/proc.c
+++ b/proc.c
@@ -360,7 +360,7 @@ scheduler(void)
for(;;){
// Enable interrupts on this processor.
intr_on();
-
+
// Loop over process table looking for process to run.
acquire(&ptable.lock);
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){