diff options
| author | Frans Kaashoek <kaashoek@206.sub-75-194-151.myvzw.com> | 2011-08-12 12:02:17 -0400 | 
|---|---|---|
| committer | Frans Kaashoek <kaashoek@206.sub-75-194-151.myvzw.com> | 2011-08-12 12:02:17 -0400 | 
| commit | c95ce31c5978bd43e1f0d34e51a4e3d7bcc41b14 (patch) | |
| tree | d2b16fa33ab6004758982b4c07df3047af6d9448 | |
| parent | e0d1ba0d7470f84b94c6eedbf220152a805881a7 (diff) | |
| download | xv6-labs-c95ce31c5978bd43e1f0d34e51a4e3d7bcc41b14.tar.gz xv6-labs-c95ce31c5978bd43e1f0d34e51a4e3d7bcc41b14.tar.bz2 xv6-labs-c95ce31c5978bd43e1f0d34e51a4e3d7bcc41b14.zip | |
Oops
| -rw-r--r-- | main.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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; | 
