Minimal implementation of sbrk that allocates from a static array
authorKevin Klues <klueska@cs.berkeley.edu>
Wed, 27 May 2009 11:03:47 +0000 (04:03 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Fri, 5 Jun 2009 00:56:28 +0000 (17:56 -0700)
commitb697392d45d90b998d37d46a4d6ba49552f6042f
tree1b67dfebb78b0caa1359e6c683f517baf2a9f9a2
parent3b2e4937bec5765d776fadeb2016164945e0fa96
Minimal implementation of sbrk that allocates from a static array

What we really need is to request memory from the OS and return pointers from there until we run
out and need to request more.  Barret and I talked a bit about this yesterday i.e. why not just
return chunks of pages through sbrk?  It could just as easily "malloc" pages of memory from the
OS and return pointers to those instead of relying on the presence of a HEAP that grows towards
the stack.
user/apps/parlib/Makefrag
user/parlib/inc/lib.h
user/parlib/inc/newlib_backend.h [new file with mode: 0644]
user/parlib/inc/parlib.h [deleted file]
user/parlib/src/Makefrag
user/parlib/src/newlib_backend.c [new file with mode: 0644]
user/parlib/src/parlib.c [deleted file]