1. 2012年 4月 07日 4 次提交
    • Austin Clements's avatar
      argcheckptr can take a const pointer · a7d4b8fe
      Austin Clements 提交于
      a7d4b8fe
    • Austin Clements's avatar
      Fix the zero page allocator · 6f540f24
      Austin Clements 提交于
      Since the underlying kmem allocator uses the first sizeof(struct run)
      bytes as metadata for freed runs, the zero pages put into the zero
      page allocator's kmem were coming back with the first few bytes
      non-zero.  Fix this by explicitly zero'ing the run header of pages
      retrieved from kmem.
      
      usertests now passes the bss test.  It still fails twofiles and
      forktest.
      6f540f24
    • Austin Clements's avatar
      Enforce that a vmnode's sz must agree with its number of pages · a184838e
      Austin Clements 提交于
      Maybe we want vmnode to just take a byte size...
      a184838e
    • Austin Clements's avatar
      Map ELF segments with zeroed regions as two vmnodes · 49ba38fa
      Austin Clements 提交于
      Previously, we mapped it as one node that spanned all of the pages,
      but had a smaller size.  This causes a panic when we fault on pages
      beyond the size because vmnode::loadpg calls readi with a too-large
      offset.  We could "fix" loadpg, but what we have now is actually
      POSIX-ish behavior (which says faults beyond the end of the mapped
      object should signal SIGBUS), so instead we fix the ELF loader to
      create two vmnodes in this situation.
      
      This gets usertests running again for me (it now fails at the BSS
      test, but at least it starts).
      49ba38fa
  2. 2012年 4月 06日 3 次提交
  3. 2012年 4月 05日 7 次提交
  4. 2012年 4月 04日 12 次提交
  5. 2012年 4月 03日 13 次提交
  6. 2012年 4月 02日 1 次提交