summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 04:40:58 +0000
committerrsc <rsc>2007-08-28 04:40:58 +0000
commit9e82bfb04cc5644f32823fa9ec406261f05073b8 (patch)
treec1329bb47af7959a7ea3b483429529567f13f813 /main.c
parenteae04163a758cf1fa8cc47c8668e1e769f289bc6 (diff)
downloadxv6-labs-9e82bfb04cc5644f32823fa9ec406261f05073b8.tar.gz
xv6-labs-9e82bfb04cc5644f32823fa9ec406261f05073b8.tar.bz2
xv6-labs-9e82bfb04cc5644f32823fa9ec406261f05073b8.zip
rename 8253pit.c to timer.c
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index a7570bc..87e5841 100644
--- a/main.c
+++ b/main.c
@@ -46,7 +46,7 @@ main(void)
ide_init(); // disk
bootothers(); // boot other CPUs
if(!ismp)
- pit8253_timerinit(); // uniprocessor timer
+ timer_init(); // uniprocessor timer
userinit(); // first user process
// enable interrupts on this processor.
@@ -74,7 +74,7 @@ mpmain(void)
scheduler();
}
-void
+static void
bootothers(void)
{
extern uchar _binary_bootother_start[], _binary_bootother_size[];