summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+
+
+
+
+
+
+
+
+
+
+
+
+
+