Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Frans Kaashoek committed Aug 12, 2011
1 parent e0d1ba0 commit c95ce31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ bootothers(void)
// memory, so we use bootpgdir for the APs too. kalloc can return addresses
// above 4Mbyte (the machine may have much more physical memory than 4Mbyte), which
// aren't mapped by bootpgdir, so we must allocate a stack using boot_alloc();
// This introduces the constraint that xv6 cannot invoke until after these last boot_alloc
// invocations.
// This introduces the constraint that xv6 cannot use kalloc until after these
// last boot_alloc invocations.
stack = boot_alloc();
*(void**)(code-4) = stack + KSTACKSIZE;
*(void**)(code-8) = mpboot;
Expand Down

0 comments on commit c95ce31

Please sign in to comment.