summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <rsc>2008-08-20 18:00:13 +0000
committerrsc <rsc>2008-08-20 18:00:13 +0000
commit9b62657ecdbbdafda3a2e7a27ff50195468681b3 (patch)
tree761f66441b1c859567031926160c194d65639a37
parent5b7f8cbe7cda336b3a23c1b16fa36ef282b13803 (diff)
downloadxv6-labs-9b62657ecdbbdafda3a2e7a27ff50195468681b3.tar.gz
xv6-labs-9b62657ecdbbdafda3a2e7a27ff50195468681b3.tar.bz2
xv6-labs-9b62657ecdbbdafda3a2e7a27ff50195468681b3.zip
formatting updates
-rw-r--r--spinlock.h43
-rw-r--r--timer.c33
2 files changed, 33 insertions, 43 deletions
diff --git a/spinlock.h b/spinlock.h
index 31c3563..a9242b6 100644
--- a/spinlock.h
+++ b/spinlock.h
@@ -9,46 +9,3 @@ struct spinlock {
// that locked the lock.
};
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// Blank page.
diff --git a/timer.c b/timer.c
index 89700dc..e270db7 100644
--- a/timer.c
+++ b/timer.c
@@ -30,3 +30,36 @@ timer_init(void)
outb(IO_TIMER1, TIMER_DIV(100) / 256);
pic_enable(IRQ_TIMER);
}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+// Blank page
+
+
+
+
+
+
+
+
+
+
+
+
+
+