From 90d975e9c8a540efb380435f0dfc1369bad684ae Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 26 Sep 2007 23:32:47 +0000 Subject: [PATCH] comment bochs nonsense --- lapic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lapic.c b/lapic.c index 2bf97fb..d62c8ea 100644 --- a/lapic.c +++ b/lapic.c @@ -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);