summaryrefslogtreecommitdiff
path: root/lib/libstand
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2919-20/+20
| | | | Notes: svn path=/stable/3/; revision=50572
* MFC. Remove setjmp/longjmp() dependency on floatiing point, on i386.Daniel C. Sobral1999-02-123-7/+5
| | | | | | | | | | Also, mfc a modification to the file pager, to make it a little bit more useful. Approved by: jkh Notes: svn path=/stable/3/; revision=43935
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-02-122-0/+204
| | | | Notes: svn path=/stable/3/; revision=43934
* This commit was manufactured by cvs2svn to create branch 'RELENG_3'.cvs2svn1999-01-211-318/+0
| | | | Notes: svn path=/stable/3/; revision=42951
* POSIX introduced optreset to deal with multiple invocationsMike Smith1999-01-111-2/+2
| | | | | | | | | | | | | of getopt (as in, multiple input lines :). This is documented in the man page and is used in the code, but unistd.h and stand.h do not declare it. Incidentally, it prevents me fixing a bug in loader's code... :-) PR: misc/9373 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com> Notes: svn path=/head/; revision=42511
* Remove stray .endif from previous commit (I hope this is right)Peter Wemm1998-11-041-2/+1
| | | | Notes: svn path=/head/; revision=40903
* Don't need this one anymore.Mike Smith1998-11-041-81/+0
| | | | Notes: svn path=/head/; revision=40892
* Well I never. Seems like _setjmp()/_longjmp() are just what the doctorMike Smith1998-11-043-8/+16
| | | | | | | | | | ordered. This brings the Alpha back to parity, and should bring us BootForth on both platforms. Submitted by: John Birrell (jb@freebsd.org) Notes: svn path=/head/; revision=40891
* Improve the quality of isspace() to match expectations. This should makeMike Smith1998-11-041-2/+2
| | | | | | | the Ficl interpreter read its softwords array OK. Notes: svn path=/head/; revision=40889
* Don't try to build (nonexistent) Alpha setjmp until we have one.Mike Smith1998-11-041-1/+3
| | | | Notes: svn path=/head/; revision=40878
* Move setjmp/longjmp implementations here from libc; no signal handlingMike Smith1998-11-044-4/+504
| | | | | | | | | | | in libstand, only for i386 until I locate an alpha setjmp/longjmp. Minimal 64-bit gcc integer support for i386. This is kinda nasty, and should be revisited once we decide whether the bootblocks need quad arithmetic. Notes: svn path=/head/; revision=40874
* Add:Mike Smith1998-11-015-10/+73
| | | | | | | | | assert() setjmp()/longjmp() vsprintf() Notes: svn path=/head/; revision=40805
* Add a new field to the devsw structure; dv_print, to print all valid unitsMike Smith1998-10-313-2/+19
| | | | | | | | | | etc. associated with the device entry. Consider EOF an 'error' for fgetstr if we haven't read anything yet. You *MUST* recompile and reinstall libstand before rebuilding the bootstrap. Notes: svn path=/head/; revision=40774
* Implement a hook to allow us to reclaim the memory used by the first stageDoug Rabson1998-10-192-2/+14
| | | | | | | of the bootstrap (the bit which loads /boot/loader). Notes: svn path=/head/; revision=40520
* To clarify last commit, msmith says:David E. O'Brien1998-10-171-1/+1
| | | | | | | | The reason the Alpha has less room than the i386 is because the bootstrap is given a 256K mapping by the firmware; to add more requires extra work. Notes: svn path=/head/; revision=40499
* Reduce the sbrk() increment from 64K to 4K. There's not much room on theMike Smith1998-10-161-2/+2
| | | | | | | Alpha, and wasting potentially 64K-4 bytes of RAM just isn't an option. Notes: svn path=/head/; revision=40458
* Add strcasecmp source file required for dosfs operation.Mike Smith1998-10-071-0/+74
| | | | Notes: svn path=/head/; revision=40036
* Enable the DOS filesystem. This allows reading from various DOS filesystemsMike Smith1998-10-063-10/+9
| | | | | | | | | | (FAT12/16/32, VFAT). Make a private copy of strcasecmp, as the "real" one uses the system ctype header, which introduces locale poisoning. Notes: svn path=/head/; revision=40005
* Don't build with -g.Mike Smith1998-10-041-2/+2
| | | | Notes: svn path=/head/; revision=39942
* Prune unused zalloc components as recommended by Matt Dillon. Extra debuggingMike Smith1998-10-015-348/+30
| | | | | | | code is still enabled (it's not very expensive). Notes: svn path=/head/; revision=39863
* * Enable old UFS compatibility code for booting from Digital Unix formattedDoug Rabson1998-09-266-7/+46
| | | | | | | | | | 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. Notes: svn path=/head/; revision=39672
* Fixed setting of mp_End in zextendPool(). A case was missing and mp_SizeMatthew Dillon1998-09-261-2/+3
| | | | | | | no longer reflects the mp_End - mp_Base equivalent. Notes: svn path=/head/; revision=39666
* Replace the old and extremely icky Mach/NetBSD allocator with a similarlyMike Smith1998-09-2613-338/+1118
| | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=39665
* Use unsigned chars instead of signed chars when extracting bits of theDoug Rabson1998-09-231-1/+1
| | | | | | | inet address. Notes: svn path=/head/; revision=39607
* Include "stand.h", not <stand.h>.Jordan K. Hubbard1998-09-211-1/+1
| | | | Notes: svn path=/head/; revision=39536
* Allocate disk buffers using a custom allocator. The standard allocator ↵Doug Rabson1998-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 :-(. Notes: svn path=/head/; revision=39529
* Use a simple version of inet_ntoa(). The libc one uses inet_ntop which is tooDoug Rabson1998-09-201-0/+65
| | | | | | | complicated. Notes: svn path=/head/; revision=39528
* Nuke prototype for strerror, consumers get it from <string.h>Mike Smith1998-09-182-4/+2
| | | | | | | Fix overlooked nullopen() implementation. Notes: svn path=/head/; revision=39469
* Path arguments to *_open functions should be const, but we were manglingMike Smith1998-09-189-74/+54
| | | | | | | | | them. Submitted by: write-protected text segment in BTX Notes: svn path=/head/; revision=39468
* Remove (wrong) OBJFORMAT setting.Mike Smith1998-09-151-6/+1
| | | | Notes: svn path=/head/; revision=39203
* Add support for reading directories as files.Robert Nordier1998-08-271-26/+59
| | | | | | | Sort out fs_ops, alloc/free. Notes: svn path=/head/; revision=38582
* Fixed syntax errors (__dead should have gone away years ago, andBruce Evans1998-08-241-2/+2
| | | | | | | __attribute__(()) is a gccism - we use __dead2). Notes: svn path=/head/; revision=38506
* Install libstand header <stand.h> and manpage (libstand.3)Mike Smith1998-08-201-1/+6
| | | | Notes: svn path=/head/; revision=38453
* This is libstand; a support library for standalone executables (eg. bootstrapMike Smith1998-08-2060-0/+11408
modules). Obtained from: NetBSD, with some architectural changes and many additions. Notes: svn path=/cvs2svn/branches/MSMITH/; revision=38451