summaryrefslogtreecommitdiffstats
path: root/lib/libstand/ufs.c
Commit message (Collapse)AuthorAgeFilesLines
* * Enable old UFS compatibility code for booting from Digital Unix formatteddfr1998-09-261-0/+4
| | | | | | | disks. * Fix a whole raft of warnings, printf and otherwise. * Make zalloc work for alpha (just a case of using the right typedef). * Add some (disabled) malloc debug printing to stand.h.
* Replace the old and extremely icky Mach/NetBSD allocator with a similarlymsmith1998-09-261-46/+14
| | | | | | | | | | | | | | | | | compact and much better one donated by Matt Dillon. Implement a simple sbrk() which uses the existing setheap() api. Remove the custom allocator from the UFS code. It wasn't working quite right, and it shouldn't be needed with the new allocator. Fix a serious problem with changing the value of already-existent environment variables. Don't attempt to modify the supposedly-const argument to putenv() Fix an off-by-one sizing error in the zipfs code detected by the new allocator. Submitted by: zmalloc from Matt Dillon <dillon@backplane.com>
* Allocate disk buffers using a custom allocator. The standard allocator ↵dfr1998-09-201-11/+45
| | | | | | | fragments extremely badly if disk buffers are freed back into the main heap and the alpha bootstrap has a restricted address space which just ran out :-(.
* Path arguments to *_open functions should be const, but we were manglingmsmith1998-09-181-4/+11
| | | | | | them. Submitted by: write-protected text segment in BTX
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+704
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud