From 374362c55c7e1268ce6c52b029458ef22144c114 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 2 Sep 2009 10:06:37 -0700 Subject: [PATCH] lapic: disable microdelay because it makes Bochs slow --- lapic.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lapic.c b/lapic.c index d143e80..d2407b1 100644 --- a/lapic.c +++ b/lapic.c @@ -124,10 +124,6 @@ lapiceoi(void) void microdelay(int us) { - volatile int j = 0; - - while(us-- > 0) - for(j=0; j<10000; j++); }