diff options
author | rsc <rsc> | 2007-09-26 23:32:47 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-09-26 23:32:47 +0000 |
commit | 90d975e9c8a540efb380435f0dfc1369bad684ae (patch) | |
tree | a87485382710f2483e8eb8a6e278ef2af891d118 | |
parent | fbaa7b428e3292dec10781f5fa5c9a3eae982426 (diff) | |
download | xv6-labs-90d975e9c8a540efb380435f0dfc1369bad684ae.tar.gz xv6-labs-90d975e9c8a540efb380435f0dfc1369bad684ae.tar.bz2 xv6-labs-90d975e9c8a540efb380435f0dfc1369bad684ae.zip |
comment bochs nonsense
-rw-r--r-- | lapic.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -122,6 +122,8 @@ lapic_startap(uchar apicid, uint addr) microdelay(10); // Send startup IPI (twice!) to enter bootstrap code. + // Regular hardware wants it twice, but Bochs complains. + // Too bad for Bochs. for(i = 0; i < 2; i++){ lapic[ICRHI] = apicid<<24; lapic[ICRLO] = STARTUP | (addr>>12); |