Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Per discussion on the mailing list, simply vfork -> fork mapping to only apply | Eric Andersen | 2002-07-31 | 3 | -3/+3 | |
| | | | | | iff we do not have vfork available, which is simpler and more reasonable. -Erik | |||||
* | More i960 support | Eric Andersen | 2002-07-31 | 1 | -0/+9 | |
| | ||||||
* | Patch from Martin Proulx <mproulx@okiok.com> to fix i960 | Eric Andersen | 2002-07-31 | 1 | -1/+1 | |
| | | | | create_module() support. | |||||
* | Patch from Alexander Pevzner <pzz@pzz.msk.ru> to fixup things when invoked as | Eric Andersen | 2002-07-31 | 1 | -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 Andersen | 2002-07-31 | 1 | -0/+2 | |
| | ||||||
* | Always build utils by default | Eric Andersen | 2002-07-31 | 1 | -3/+5 | |
| | | | | -Erik | |||||
* | Account for MALLOC_HEADER_SIZE when calculating new size. | Miles Bader | 2002-07-31 | 1 | -3/+4 | |
| | ||||||
* | Use MALLOC_HEADER_SIZE. | Miles Bader | 2002-07-31 | 1 | -1/+1 | |
| | ||||||
* | (MALLOC_HEADER_SIZE): New macro. | Miles Bader | 2002-07-31 | 1 | -2/+6 | |
| | | | | (MALLOC_BASE, MALLOC_ADDR): Use it. | |||||
* | Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY. | Miles Bader | 2002-07-30 | 1 | -2/+2 | |
| | | | | Calculate amount freed when shrinking correctly. | |||||
* | Update the size of grown/shrunk allocations. | Miles Bader | 2002-07-30 | 1 | -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 Bader | 2002-07-30 | 1 | -2/+1 | |
| | ||||||
* | Define MALLOC_SET_SIZE to take the user-address rather than the base-address. | Miles Bader | 2002-07-30 | 1 | -2/+2 | |
| | ||||||
* | Implement shrinking. | Miles Bader | 2002-07-30 | 1 | -6/+19 | |
| | | | | | Fix bug when growing an allocation. Use new malloc header macros. | |||||
* | Use new malloc header macros. | Miles Bader | 2002-07-30 | 2 | -5/+6 | |
| | ||||||
* | Add macros to abstract the malloc header format a bit. | Miles Bader | 2002-07-30 | 1 | -1/+22 | |
| | ||||||
* | Avoid errors in case some loon has explicitly included | Eric Andersen | 2002-07-27 | 1 | -0/+2 | |
| | | | | | linux/kernel.h (even though doing so is very dumb). -Erik | |||||
* | Oops. I accidentally omitted the actual mknod() function. | Eric Andersen | 2002-07-27 | 1 | -0/+9 | |
| | | | | -Erik | |||||
* | Ok, I get it. sjhill kept adding the 'find' command since | Eric Andersen | 2002-07-26 | 2 | -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 anything | Eric Andersen | 2002-07-26 | 1 | -4/+3 | |
| | | | | | productive, but did annoying things instead. -Erik | |||||
* | The __set_errno macro _must_ match that defined in include/bits/errno.h. We | Eric Andersen | 2002-07-26 | 1 | -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-25 | 1 | -0/+1 | |
| | ||||||
* | ldso specific syscalls and userspace syscalls all in one file now. | "Steven J. Hill" | 2002-07-25 | 4 | -355/+230 | |
| | ||||||
* | Cleanup from Neal Crook fixing some formatting and eliminating | Eric Andersen | 2002-07-25 | 1 | -8/+8 | |
| | | | | some "sh: cd: ./lib: No such file or directory" errors. | |||||
* | Kill cruft. Build ldd for the host system by default. | Eric Andersen | 2002-07-25 | 1 | -4/+4 | |
| | | | | -Erik | |||||
* | Implement syscall() for arm | Eric Andersen | 2002-07-25 | 2 | -1/+50 | |
| | | | | -Erik | |||||
* | Size tweaks. | Miles Bader | 2002-07-25 | 3 | -15/+17 | |
| | ||||||
* | Miscellaneous tidying-up. | Miles Bader | 2002-07-25 | 2 | -13/+10 | |
| | ||||||
* | Take advantage of the new syscall stuff on x86 and arm to kill | Eric Andersen | 2002-07-25 | 4 | -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 at | Miles Bader | 2002-07-25 | 8 | -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 Andersen | 2002-07-24 | 3 | -76/+78 | |
| | | | | -Erik | |||||
* | Remove source files that, well, no longer exist :). | "Steven J. Hill" | 2002-07-24 | 1 | -1/+1 | |
| | ||||||
* | This rule is only necessary for little endian MIPS. | "Steven J. Hill" | 2002-07-24 | 1 | -1/+1 | |
| | ||||||
* | Factor out some common code sequences into inline functions. | Miles Bader | 2002-07-24 | 2 | -53/+74 | |
| | ||||||
* | Misc small cleanups. | Miles Bader | 2002-07-24 | 3 | -4/+6 | |
| | ||||||
* | Remove, since it's entirely incorrect | Miles Bader | 2002-07-24 | 1 | -33/+0 | |
| | ||||||
* | (__ASMNAME): Use C_SYMBOL_PREFIX. | Miles Bader | 2002-07-24 | 1 | -3/+2 | |
| | | | | (__ASMNAME2): Macro removed. | |||||
* | * Automatically try to unmap heap free-areas when they get very big. | Miles Bader | 2002-07-23 | 8 | -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.c | Eric Andersen | 2002-07-22 | 5 | -0/+239 | |
| | | | | -Erik | |||||
* | Rework syscall handling. Rewrite syscall handlers for x86 and ARM. | Eric Andersen | 2002-07-22 | 22 | -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 spelling | Eric Andersen | 2002-07-19 | 1 | -1/+1 | |
| | ||||||
* | Doc fix. | Miles Bader | 2002-07-19 | 5 | -5/+5 | |
| | ||||||
* | Rename mutex stuff to use heap-specific names. | Miles Bader | 2002-07-19 | 5 | -24/+26 | |
| | | | | Doc fix. | |||||
* | Miles Bader implemented a new mmap based malloc which is much | Eric Andersen | 2002-07-18 | 30 | -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> so | Eric Andersen | 2002-07-16 | 1 | -1/+1 | |
| | | | | that cfsetspeed would actually be compiled in. | |||||
* | We don't need the debug versions | Eric Andersen | 2002-07-16 | 1 | -2/+2 | |
| | ||||||
* | __morecore need not be a function pointer | Eric Andersen | 2002-07-16 | 1 | -9/+8 | |
| | ||||||
* | Disable debug stuff by default | Eric Andersen | 2002-07-16 | 1 | -1/+1 | |
| | ||||||
* | Odd. Got a copy of junk in here. | Eric Andersen | 2002-07-16 | 1 | -9/+0 | |
| | ||||||
* | Do not assume NULL termination on the ut_id field. Thanks | Eric Andersen | 2002-07-16 | 1 | -1/+1 | |
| | | | | to mac12@po.cwru.edu for spotting this one. |