Skip to content
Snippets Groups Projects
Commit c95ce31c authored by Frans Kaashoek's avatar Frans Kaashoek
Browse files

Oops

parent e0d1ba0d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment