summaryrefslogtreecommitdiffstats
path: root/lib/libstand
Commit message (Collapse)AuthorAgeFilesLines
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-021-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* trailing white space removal.obrien2000-01-181-16/+14
|
* Add two new functions cd9660_readfile() & cd9660_readdir(), whichobrien2000-01-181-110/+175
| | | | | | | cd9660_read() now uses to read CDROMs. With these changes FreeBSD/Alpha can now boot from a bootable CDROM. Submitted by: dfr
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-2/+2
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Use the ctype.h version of isascii() - it doesn't loose precision and thinkpeter1999-12-281-1/+1
| | | | | | that 0x100 (int) is an ascii character. Submitted by: bde
* Tidy up some loose ends. nullfs_read/write were returning the wrong value.peter1999-12-273-5/+7
| | | | | | Fix some ctype problems - isascii() caused a warning if fed an unsigned char - it's always > 0 and libstand is compiled with -Wall. Missing prototype/include in printf.c
* longjumperror() and abort() don't exist in libstand.. Don't testpeter1999-11-241-8/+1
| | | | | for a condition we can't handle (like the x86 longjmp). This was highlighted by attempting to build FICL into the alpha loader.
* Change toupper/tolower so that they don't give a bogus answer if thedfr1999-09-111-2/+10
| | | | argument is already upper/lower.
* $Id$ -> $FreeBSD$peter1999-08-2820-21/+21
|
* More egcs warning fixes:imp1999-04-252-3/+5
| | | | | | | | | | o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). o Use parens around assignment values used as truth values. o Remove unused function. Reviewed by: obrien and chuckr
* Don't build with -g. The a.out egcs can't handle it at the moment.jdp1999-04-221-2/+2
| | | | | This seems to have snuck back into the Makefile in an unrelated commit (rev. 1.8).
* Remove float-point dependency from i386's version of setjmp()/longjmp().dcs1999-02-121-5/+2
|
* Copy _setjmp.S from libc in preparation for loader-specific version.dcs1999-02-123-2/+209
|
* Oops. Missed this in the last commit.jkh1999-02-011-3/+1
| | | | Submitted by: Daniel C. Sobral <dcs@newsguy.com>
* POSIX introduced optreset to deal with multiple invocationsmsmith1999-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>
* Remove stray .endif from previous commit (I hope this is right)peter1998-11-041-2/+1
|
* Don't need this one anymore.msmith1998-11-041-81/+0
|
* Well I never. Seems like _setjmp()/_longjmp() are just what the doctormsmith1998-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)
* Improve the quality of isspace() to match expectations. This should makemsmith1998-11-041-2/+2
| | | | the Ficl interpreter read its softwords array OK.
* Don't try to build (nonexistent) Alpha setjmp until we have one.msmith1998-11-041-1/+3
|
* Move setjmp/longjmp implementations here from libc; no signal handlingmsmith1998-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.
* Add:msmith1998-11-015-10/+73
| | | | | | assert() setjmp()/longjmp() vsprintf()
* Add a new field to the devsw structure; dv_print, to print all valid unitsmsmith1998-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.
* Implement a hook to allow us to reclaim the memory used by the first stagedfr1998-10-192-2/+14
| | | | of the bootstrap (the bit which loads /boot/loader).
* To clarify last commit, msmith says:obrien1998-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.
* Reduce the sbrk() increment from 64K to 4K. There's not much room on themsmith1998-10-161-2/+2
| | | | Alpha, and wasting potentially 64K-4 bytes of RAM just isn't an option.
* Add strcasecmp source file required for dosfs operation.msmith1998-10-071-0/+74
|
* Enable the DOS filesystem. This allows reading from various DOS filesystemsmsmith1998-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.
* Don't build with -g.msmith1998-10-041-2/+2
|
* Prune unused zalloc components as recommended by Matt Dillon. Extra debuggingmsmith1998-10-015-348/+30
| | | | code is still enabled (it's not very expensive).
* * Enable old UFS compatibility code for booting from Digital Unix formatteddfr1998-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.
* Fixed setting of mp_End in zextendPool(). A case was missing and mp_Sizedillon1998-09-261-2/+3
| | | | no longer reflects the mp_End - mp_Base equivalent.
* Replace the old and extremely icky Mach/NetBSD allocator with a similarlymsmith1998-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>
* Use unsigned chars instead of signed chars when extracting bits of thedfr1998-09-231-1/+1
| | | | inet address.
* Include "stand.h", not <stand.h>.jkh1998-09-211-1/+1
|
* 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 :-(.
* Use a simple version of inet_ntoa(). The libc one uses inet_ntop which is toodfr1998-09-201-0/+65
| | | | complicated.
* Nuke prototype for strerror, consumers get it from <string.h>msmith1998-09-182-4/+2
| | | | Fix overlooked nullopen() implementation.
* Path arguments to *_open functions should be const, but we were manglingmsmith1998-09-189-74/+54
| | | | | | them. Submitted by: write-protected text segment in BTX
* Remove (wrong) OBJFORMAT setting.msmith1998-09-151-6/+1
|
* Add support for reading directories as files.rnordier1998-08-271-26/+59
| | | | Sort out fs_ops, alloc/free.
* Fixed syntax errors (__dead should have gone away years ago, andbde1998-08-241-2/+2
| | | | __attribute__(()) is a gccism - we use __dead2).
* Install libstand header <stand.h> and manpage (libstand.3)msmith1998-08-201-1/+6
|
* This commit was generated by cvs2svn to compensate for changes in r38451,msmith1998-08-2059-0/+11092
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-2059-0/+11092
| | | | | modules). Obtained from: NetBSD, with some architectural changes and many additions.
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+316
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud