summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Per discussion on the mailing list, simply vfork -> fork mapping to only applyEric Andersen2002-07-313-3/+3
| | | | | iff we do not have vfork available, which is simpler and more reasonable. -Erik
* More i960 supportEric Andersen2002-07-311-0/+9
|
* Patch from Martin Proulx <mproulx@okiok.com> to fix i960Eric Andersen2002-07-311-1/+1
| | | | create_module() support.
* Patch from Alexander Pevzner <pzz@pzz.msk.ru> to fixup things when invoked asEric Andersen2002-07-311-1/+11
| | | | | | the C++ compiler to to automagically add include/g++ into the include search path, and automagically add -lstdc++ and -lm into the set of automatically linked libraries.
* You fool foolish. Goodbye level 2.Eric Andersen2002-07-311-0/+2
|
* Always build utils by defaultEric Andersen2002-07-311-3/+5
| | | | -Erik
* Account for MALLOC_HEADER_SIZE when calculating new size.Miles Bader2002-07-311-3/+4
|
* Use MALLOC_HEADER_SIZE.Miles Bader2002-07-311-1/+1
|
* (MALLOC_HEADER_SIZE): New macro.Miles Bader2002-07-311-2/+6
| | | | (MALLOC_BASE, MALLOC_ADDR): Use it.
* Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.Miles Bader2002-07-301-2/+2
| | | | Calculate amount freed when shrinking correctly.
* Update the size of grown/shrunk allocations.Miles Bader2002-07-301-16/+16
| | | | MALLOC_SET_SIZE now takes the user-address rather than the base-address.
* MALLOC_SET_SIZE now takes the user-address rather than the base-address.Miles Bader2002-07-301-2/+1
|
* Define MALLOC_SET_SIZE to take the user-address rather than the base-address.Miles Bader2002-07-301-2/+2
|
* Implement shrinking.Miles Bader2002-07-301-6/+19
| | | | | Fix bug when growing an allocation. Use new malloc header macros.
* Use new malloc header macros.Miles Bader2002-07-302-5/+6
|
* Add macros to abstract the malloc header format a bit.Miles Bader2002-07-301-1/+22
|
* Avoid errors in case some loon has explicitly includedEric Andersen2002-07-271-0/+2
| | | | | linux/kernel.h (even though doing so is very dumb). -Erik
* Oops. I accidentally omitted the actual mknod() function.Eric Andersen2002-07-271-0/+9
| | | | -Erik
* Ok, I get it. sjhill kept adding the 'find' command sinceEric Andersen2002-07-262-0/+2
| | | | | | include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik
* Kill ill advised find command that was not doing anythingEric Andersen2002-07-261-4/+3
| | | | | productive, but did annoying things instead. -Erik
* The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen2002-07-261-1/+9
| | | | | | | can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik
* Addition to 'distclean' for little endian MIPS."Steven J. Hill"2002-07-251-0/+1
|
* ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"2002-07-254-355/+230
|
* Cleanup from Neal Crook fixing some formatting and eliminatingEric Andersen2002-07-251-8/+8
| | | | some "sh: cd: ./lib: No such file or directory" errors.
* Kill cruft. Build ldd for the host system by default.Eric Andersen2002-07-251-4/+4
| | | | -Erik
* Implement syscall() for armEric Andersen2002-07-252-1/+50
| | | | -Erik
* Size tweaks.Miles Bader2002-07-253-15/+17
|
* Miscellaneous tidying-up.Miles Bader2002-07-252-13/+10
|
* Take advantage of the new syscall stuff on x86 and arm to killEric Andersen2002-07-254-568/+20
| | | | | the ldso specific syscalls and use the generic ones instead. -Erik
* Redo the locking, so that it may actually work. Now locking is done atMiles Bader2002-07-258-130/+186
| | | | | | | | | the malloc/free level, not within the heap abstraction, and there's a separate lock to control sbrk access. Also, get rid of the separate `unmap_free_area' function in free.c, and just put the code in the `free' function directly, which saves a bunch of space (even compared to using an inline function) for some reason.
* Add support for people calling syscall()Eric Andersen2002-07-243-76/+78
| | | | -Erik
* Remove source files that, well, no longer exist :)."Steven J. Hill"2002-07-241-1/+1
|
* This rule is only necessary for little endian MIPS."Steven J. Hill"2002-07-241-1/+1
|
* Factor out some common code sequences into inline functions.Miles Bader2002-07-242-53/+74
|
* Misc small cleanups.Miles Bader2002-07-243-4/+6
|
* Remove, since it's entirely incorrectMiles Bader2002-07-241-33/+0
|
* (__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader2002-07-241-3/+2
| | | | (__ASMNAME2): Macro removed.
* * Automatically try to unmap heap free-areas when they get very big.Miles Bader2002-07-238-190/+234
| | | | | | | | * Instead of using mmap/munmap directly for large allocations, just use the heap for everything (this is reasonable now that heap memory can be unmapped). * Use sbrk instead of mmap/munmap on systems with an MMU.
* Add some syscalls which I moved out of syscalls.cEric Andersen2002-07-225-0/+239
| | | | -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-2222-896/+425
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Fix spellingEric Andersen2002-07-191-1/+1
|
* Doc fix.Miles Bader2002-07-195-5/+5
|
* Rename mutex stuff to use heap-specific names.Miles Bader2002-07-195-24/+26
| | | | Doc fix.
* Miles Bader implemented a new mmap based malloc which is muchEric Andersen2002-07-1830-1524/+844
| | | | | | | smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles!
* Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> soEric Andersen2002-07-161-1/+1
| | | | that cfsetspeed would actually be compiled in.
* We don't need the debug versionsEric Andersen2002-07-161-2/+2
|
* __morecore need not be a function pointerEric Andersen2002-07-161-9/+8
|
* Disable debug stuff by defaultEric Andersen2002-07-161-1/+1
|
* Odd. Got a copy of junk in here.Eric Andersen2002-07-161-9/+0
|
* Do not assume NULL termination on the ut_id field. ThanksEric Andersen2002-07-161-1/+1
| | | | to mac12@po.cwru.edu for spotting this one.