comment bochs nonsense
This commit is contained in:
parent
fbaa7b428e
commit
90d975e9c8
1 changed files with 2 additions and 0 deletions
2
lapic.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue