From: Frans Kaashoek Date: Fri, 12 Aug 2011 16:02:17 +0000 (-0400) Subject: Oops X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=c95ce31c5978bd43e1f0d34e51a4e3d7bcc41b14;p=cs3210-lab1.git Oops --- diff --git a/main.c b/main.c index 8f95559..570ae52 100644 --- a/main.c +++ b/main.c @@ -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;