diff options
author | Russ Cox <rsc@x40.(none)> | 2009-09-02 10:06:37 -0700 |
---|---|---|
committer | Russ Cox <rsc@x40.(none)> | 2009-09-02 10:06:37 -0700 |
commit | 374362c55c7e1268ce6c52b029458ef22144c114 (patch) | |
tree | bf3e79e947fc2edf2a18637d17896dd61e062aa5 | |
parent | f8ab2079cda8fc89f576b3b78a23a9c62891d74d (diff) | |
download | xv6-labs-374362c55c7e1268ce6c52b029458ef22144c114.tar.gz xv6-labs-374362c55c7e1268ce6c52b029458ef22144c114.tar.bz2 xv6-labs-374362c55c7e1268ce6c52b029458ef22144c114.zip |
lapic: disable microdelay because it makes Bochs slow
-rw-r--r-- | lapic.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -124,10 +124,6 @@ lapiceoi(void) void microdelay(int us) { - volatile int j = 0; - - while(us-- > 0) - for(j=0; j<10000; j++); } |