From 4f14d8d1e594bdf45e36a035f6c3fd4ca959711e Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Wed, 9 Aug 2017 07:43:06 -0400 Subject: Commit to running on an SMP (perhaps with only 1 core). Remove most code from picirq.c and remove timer.c completely. Update runoff.list. --- main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index e5b7d64..6bdeab4 100644 --- a/main.c +++ b/main.c @@ -22,7 +22,7 @@ main(void) mpinit(); // detect other processors lapicinit(); // interrupt controller seginit(); // segment descriptors - picinit(); // another interrupt controller + picinit(); // disable pic ioapicinit(); // another interrupt controller consoleinit(); // console hardware uartinit(); // serial port @@ -31,8 +31,6 @@ main(void) binit(); // buffer cache fileinit(); // file table ideinit(); // disk - if(!ismp) - timerinit(); // uniprocessor timer startothers(); // start other processors kinit2(P2V(4*1024*1024), P2V(PHYSTOP)); // must come after startothers() userinit(); // first user process -- cgit v1.2.3