提交 90d975e9 创建 作者: rsc's avatar rsc

comment bochs nonsense

上级 fbaa7b42
......@@ -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);
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论