summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make gcore work for ELF.John Polstra1998-10-195-99/+625
| | | | Notes: svn path=/head/; revision=40525
* Make configurable (a) whether to use int 0x13 extensions; (b) timeoutRobert Nordier1998-10-193-17/+25
| | | | | | | | value. Ignore failure to update mbr sector. Disable interrupts while using extended registers. Default to F1 not F2. Notes: svn path=/head/; revision=40524
* Add entries for DiskOnChip2000 Flash device.Jordan K. Hubbard1998-10-193-3/+9
| | | | | | | Submitted by: phk Notes: svn path=/head/; revision=40522
* Reclaim the 48k used by the first bootstrap stage by adding it to the mallocDoug Rabson1998-10-194-13/+23
| | | | | | | pool. Notes: svn path=/head/; revision=40521
* 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
* We're now in post-release; make the docs indicate as much.Jordan K. Hubbard1998-10-192-359/+25
| | | | Notes: svn path=/head/; revision=40519
* Rename boot2 to loader.Doug Rabson1998-10-182-3/+3
| | | | Notes: svn path=/head/; revision=40518
* R_ALPHA_RELATIVE relocations need to add the value to the existing memoryDoug Rabson1998-10-182-6/+6
| | | | | | | contents. Notes: svn path=/head/; revision=40517
* Add driver support for PCI fast ethernet adapters based on theBill Paul1998-10-1816-13/+2603
| | | | | | | | | | | | RealTek 8129/8139 chipset like I've been threatening. Update kernel configs, userconfig.c, relnotes and sysinstall. No man page yet; comming soon. I consider this driver stable enough that I want to give it some exposure in -current. Notes: svn path=/head/; revision=40516
* Commented out aic.KATO Takenori1998-10-181-2/+2
| | | | Notes: svn path=/head/; revision=40515
* Some cleanups and optimizations:Peter Wemm1998-10-181-163/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the system headers method for Elf32/Elf64 symbol compatability - get rid of the UPRINTF debugging. - check the ELF header for compatability much more completely - optimize the section mapper. Use the same direct VM interfaces that imgact_aout.c and kern_exec.c use. - Check the return codes from the vm_* functions better. Some return KERN_* results, not an errno. - prefault the page tables to reduce startup faults on page tables like a.out does. - reset the segment protection to zero for each loop, otherwise each segment could get progressively more privs. (eg: if the first was read/write/execute, and the second was meant to be read/execute, the bug would make the second r/w/x too. In practice this was not a problem because executables are normally laid out with text first.) - Don't impose arbitary limits. Use the limits on headers imposed by the need to fit them into one page. - Remove unused switch() cases now that the verbose debugging is gone. I've been using an earlier version of this for a month or so. This sped up ELF exec speed a bit for me but I found it hard to get consistant benchmarks when I tested it last (a few weeks ago). I'm still bothered by the page read out of order caused by the transition from data to bss. This which requires either part filling the transition page or clearing the remainder. Notes: svn path=/head/; revision=40514
* Add an ELF_MACHINE_OK() macro for compatability with the Alpha version.Peter Wemm1998-10-182-2/+6
| | | | Notes: svn path=/head/; revision=40513
* Update SMP-GENERIC98 to something a bit more recent based on GENERIC98.KATO Takenori1998-10-181-3/+14
| | | | Notes: svn path=/head/; revision=40512
* Sync with sys/i386/conf/GENERIC revision 1.125.KATO Takenori1998-10-182-2/+14
| | | | Notes: svn path=/head/; revision=40511
* adjust to match current times.Jordan K. Hubbard1998-10-181-2/+2
| | | | Notes: svn path=/head/; revision=40510
* Add a missing ++.Poul-Henning Kamp1998-10-181-3/+3
| | | | | | | | Noticed by: gcc via phk Submitted by: Mike Spengler <mks@networkcs.com> Notes: svn path=/head/; revision=40509
* Allow building games w/o an existing /usr/games.David E. O'Brien1998-10-181-3/+6
| | | | Notes: svn path=/head/; revision=40508
* Added missing dependency for bus_if.o on bus_if.hPoul-Henning Kamp1998-10-181-1/+1
| | | | Notes: svn path=/head/; revision=40507
* Allow ``make BINDIR=/foo/games'' to work.David E. O'Brien1998-10-182-3/+7
| | | | Notes: svn path=/head/; revision=40506
* Allow ``make BINDIR=/foo/games'' to work.David E. O'Brien1998-10-181-2/+2
| | | | Notes: svn path=/head/; revision=40505
* Initialize earlier (ie: before npx) in case it makes any difference.Peter Wemm1998-10-181-4/+8
| | | | | | | | Print a message when it attaches to pmath_emulate if bootverbose so that we can be sure it's online. Notes: svn path=/head/; revision=40504
* Print a message if bootverbose that the emulator is present in the kernel.Peter Wemm1998-10-181-5/+11
| | | | | | | | | | | Move the initialization before isa_configure() and npx, in case npx does something to initialize the state of the emulator somehow. I do not have any machines without a FPU so that I can test this with - except an old 386sx motherboard in a box somewhere that might work... Notes: svn path=/head/; revision=40503
* PR: 7583Peter Hawkins1998-10-181-4/+4
| | | | | | | | Submitted by: Dave Glowacki <dglo@SSEC.WISC.EDU> Support input via stdin if no input file name specified explicitly Notes: svn path=/head/; revision=40502
* OOPS!Peter Wemm1998-10-181-2/+2
| | | | | | | | | Supply the moduledata handle rather than the event dispatcher function. This should explain the panic on boot problem that's been discussed in -current at the moment. Both machines had GNU_MATH_EMULATE. Notes: svn path=/head/; revision=40501
* Only process the ``PWD'' environmental var if built with "WANT_ENV_PWD"David E. O'Brien1998-10-182-5/+14
| | | | | | | | defined. Bash v2 sets PWD and it creates major problems for those of us with /usr/src being a symlink. See the lists for examples of the problems. Notes: svn path=/head/; revision=40500
* 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
* "Fixed" a printf format error. Use bogus casts to avoid using %p so thatBruce Evans1998-10-171-1/+3
| | | | | | | the output doesn't change (unless the old format caused runtime errors). Notes: svn path=/head/; revision=40498
* Fixed printf format errors.Bruce Evans1998-10-174-6/+6
| | | | Notes: svn path=/head/; revision=40497
* Don't even think about using a sysctl to build osreldate.h, since thisBruce Evans1998-10-171-17/+4
| | | | | | | | | | | | | breaks cross-builds. Just depend on ${.CURDIR}/../sys/conf/newvers.sh existing. Don't override the (correct) defaults for the depend, lint or tags target. In LDIRS: fixed order-rot. Don't comment out dead networking directories; remove them. Notes: svn path=/head/; revision=40496
* Restored all lost user targets that are supported by bsd.subdir.mk:Bruce Evans1998-10-172-8/+10
| | | | | | | | | | checkdpadd, lint, maninstall, objlink, regress and tags. Removed bogus user target cleanobj. It is the non-recursive base of the cleandir target, so it is not useful (or usable) here. Notes: svn path=/head/; revision=40495
* Fixed the type of a signal handler.Bruce Evans1998-10-171-2/+3
| | | | Notes: svn path=/head/; revision=40494
* Set BINMODE to 444.Robert Nordier1998-10-171-1/+2
| | | | Notes: svn path=/head/; revision=40493
* Fixed printf format errors. Assume that uid_t's are representable asBruce Evans1998-10-171-2/+2
| | | | | | | unsigned longs. Notes: svn path=/head/; revision=40492
* Fixed printf format errors. Assume that time_t's are representable asBruce Evans1998-10-171-2/+2
| | | | | | | longs. Notes: svn path=/head/; revision=40491
* Fixed missing libraries in DPADD.Bruce Evans1998-10-173-9/+9
| | | | Notes: svn path=/head/; revision=40490
* Honour the default CFLAGS. This fixes a spew of warnings for compilingBruce Evans1998-10-171-14/+6
| | | | | | | | | | | | | | | | | | | unused static inlines in headers without -O. Fixed missing libraries in DPADD. Use .PATH instead of a symlink farm. Removed bogus dependency of util.c on statetext.h (only util.o depends on it). Removed rule for building statetext.h. The dependency was used to get statetext.h built, but statetext.h is a non-generated source file so it doesn't need building. This fixes an annoying message for the null build and use of `make' instead of ${MAKE} to do the null build. Fixed some style bugs. Notes: svn path=/head/; revision=40489
* Don't assume that time_t is long.Bruce Evans1998-10-171-3/+7
| | | | Notes: svn path=/head/; revision=40488
* Don't assume that time_t is long.Bruce Evans1998-10-171-2/+4
| | | | Notes: svn path=/head/; revision=40487
* Warn about (but process anyway) CBCP messages with an incorrect id.Brian Somers1998-10-171-1/+11
| | | | Notes: svn path=/head/; revision=40486
* Adjust our CBCP RESP id so that it's the same as the REQ.Brian Somers1998-10-171-1/+2
| | | | | | | Submitted by: Tom <root@majestix.cmr.no> Notes: svn path=/head/; revision=40485
* If the client asks for CBCP, then replies with CBCP_NONUMBrian Somers1998-10-171-1/+8
| | | | | | | | | to our REQ, allow no dialback - but only if we've ``set cbcp *''.. Suggested by: Andrzej Tobola <san@koziolek.lublin.top.pl> Notes: svn path=/head/; revision=40484
* Explain what the ``*'' means for a CBCP phone numberBrian Somers1998-10-171-3/+9
| | | | | | | in ``show link''. Notes: svn path=/head/; revision=40483
* Move help displays left one column to avoid problems withBrian Somers1998-10-171-3/+5
| | | | | | | | | broken terminals that can't handle 80 columns followed by a linefeed. Pointed out by: bde@FreeBSD.org Notes: svn path=/head/; revision=40482
* Warn if we encounter an unindented line that isn'tBrian Somers1998-10-171-2/+7
| | | | | | | terminated with a ``:''. Notes: svn path=/head/; revision=40481
* Warn that the specific chap protocol isn't supported whenBrian Somers1998-10-171-8/+19
| | | | | | | | rejecting CHAP because of byte 5. Suggested by: Daniel O'Callaghan <danny@hilink.com.au> Notes: svn path=/head/; revision=40480
* Don't add /usr/games to $PATH. Adding it here can only work for theBruce Evans1998-10-171-4/+4
| | | | | | | | | | | | `make world' case, and only made a difference for the evil NOTOOLS case of `make world' since games tools are installed in ${TOOLROOT}/usr/bin if they are built, but the PR was for normal builds. This is fixed in rev.1.14 of src/games/fortune/datfiles/Makefile. PR: 7936 Notes: svn path=/head/; revision=40479
* Fixed building without /usr/games in $PATH. Just add /usr/gamesBruce Evans1998-10-171-11/+13
| | | | | | | | | | | | | | | | | | | | | | | to the _end_ of $PATH before using tools that are normally in /usr/games. I broke this in rev.1.9 by assuming that these tools are in $PATH (as they are for `make world' unless NOTOOLS is set). Revs.1.10-1.13 of this file had various wrong fixes. Rev.1.18 of src/Makefile.inc1 has an incomplete fix. PR: 7936 Fixed comments about what to comment out to [not] install the potentially offensive fortunes. This should be configured using an ifdef. Fixed missing dependencies of fortunes.dat on fortunes, etc. Removed bogus dependency of `all' on source files. Fixed some style bugs. Notes: svn path=/head/; revision=40478
* Fix some glitches in the input routine:Robert Nordier1998-10-172-4/+14
| | | | | | | | | Don't display a \b if not acting on it. Don't process binary zero chars (which result from pressing function keys, etc. on the PC). Notes: svn path=/head/; revision=40477
* Having probed the keyboard, turn off the -P flag.Robert Nordier1998-10-172-2/+4
| | | | Notes: svn path=/head/; revision=40476
* Updated the error message for EXDEV to match recent kernel fixes.Bruce Evans1998-10-172-22/+10
| | | | | | | | | Fixed nearby indentation. Use RAW_PART instead of RAWPARTITION. Notes: svn path=/head/; revision=40475