summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Include arpa/inet.hbrian2002-03-311-0/+2
|
* Implement i386's (o)sigreturn() like the alpha's: Use copyin() to readalc2002-03-312-16/+24
| | | | | | | | the osigcontext or ucontext_t rather than useracc() followed by direct user- space memory accesses. This reduces (o)sigreturn()'s execution time by 5- 50%. Submitted by: bde
* Add a local proc *p in exec_new_vmspace() to avoid repeated dereferencingalc2002-03-311-6/+7
| | | | to obtain it.
* Pass the address of the bootinfo block to the kernel in registermarcel2002-03-304-10/+10
| | | | r8. Keep it at the hardwired address for now. Bump the version.
* Transition to a model where the loader passes the address of themarcel2002-03-303-31/+58
| | | | | | | | | | | | | | | | | | | | bootinfo block in register r8. In locore.s we save the address in the global variable 'pa_bootinfo'. In machdep.c we compare this value against the hardwired address, but don't depend on its validity yet (ie: we still expect the bootinfo block to be at the hardwired address). After a small amount of time, we'll flip the switch and depend on the loader to pass us the address. From that moment on the loader is free to put it anywhere it likes, provided the machine itself likes it as well. Add some verbosity to aid in the transition. We emit a message if the loader didn't pass the address and we also emit a message if there's no bootinfo block at the hardwired address. While in locore.s, reduce the number of redundant serialization instructions. A srlz.i is a proper superset of a srlz.d and thus is a valid replacement. Also slightly reorder the movl instructions to improve bundle density.
* Fix braino: the example interface is fxp0, not ed0.dd2002-03-301-1/+1
| | | | | PR: 36471 Submitted by: John Nielsen <zoobie@bsdconspiracy.net>
* Correct typo.dd2002-03-301-1/+1
| | | | | PR: 36544 Submitted by: dak@klemm.delta6.net
* Pass the physical address of the bootinfo block to the kernel inmarcel2002-03-304-2/+6
| | | | | | | | | register r8. We continue to write the bootinfo block at the same hardwired address, because the kernel still expects it there. It is expected that future kernels use register r8 to get to the bootinfo block and don't depend on the hardwired address anymore. Bump the loader version once again due to the interface change.
* Correct a comment: sendsig() calls the MI vm_map_growstack() butalc2002-03-301-1/+1
| | | | the corresponding comment refers to a MD grow_stack() that doesn't exist.
* Use the MI vm_map_growstack() instead of the MD grow_stack() in trap(). Removealc2002-03-304-34/+6
| | | | the MD grow_stack().
* Move the "dumping" variable from systm.h to conf.h.phk2002-03-303-1/+6
|
* sendmail 8.12 doesn't require _FFR_UNSAFE_SASL anymore.ume2002-03-301-2/+2
| | | | | | This is standard feature. Submitted by: ru
* Fix CLEANFILES.ru2002-03-301-0/+1
|
* sendmail 8.12 claims against GroupReadableSASLFile.ume2002-03-301-1/+1
| | | | Submitted by: mistral@imasy.or.jp
* Don't nowerror for sys/dev/pdq/pdq.cmdodd2002-03-301-2/+2
|
* Restore the correct CLEANFILES that got damaged in rev. 1.15.ru2002-03-301-1/+1
|
* Mention the UltraSparc as supported in the README, also deal with thebmah2002-03-301-4/+5
| | | | fact that (now) not every supported platform has sysinstall(8).
* Don't use gcc specific flags.dwmalone2002-03-301-1/+0
|
* 1) Staticise.dwmalone2002-03-301-13/+13
| | | | | 2) Remove registers. 3) Change some ints to size_t which are used with fread/fwrite.
* 1) Const enough things to avoid warnings.dwmalone2002-03-306-30/+31
| | | | | | | | 2) Cast ifdef_level to a size_t before comparing it to a ratio of size_ts. Ifdef_level should always be positive. 3) Complete prototype for chfont. 4) Cast some ptrdiff_ts to ints before using as a field width. 5) Avoid shadowing a local variable p with another local variable p.
* Fix /dev/acdNc minor device number. This bug prevents installing FreeBSDmatusita2002-03-302-2/+2
| | | | | | | | | from CD-ROM in 4-stable. Note that in 5-current, we use devfs so this change (hopefully) shouldn't change anything. I'll MFC to 4-stable later. Tested with: FreeBSD/i386, 4.5-STABLE-20020330-JPSNAP
* Remove debug output in last commit.sos2002-03-301-10/+0
|
* Add a "special progname lib xxx ..." command to crunchgenluigi2002-03-302-2/+23
| | | | | | | | | so the .lo files can be partially linked against libraries which redefine symbols in the standard libs, or which reference symbols in the objects. Submitted by: Sam Leffler MFC After: 3 days
* 1) Add missing prototypes for fmt_perm and cvt_time.dwmalone2002-03-301-6/+8
| | | | | | | 2) Move a break outside a #if block to keep gcc3 from seeing a "default:" at the end of a block. 3) Fix some format warnings. Some remain which can be fixed more easily when we have a full C99 printf.
* Add support for getting status (fan, temp, 5V and 12V levels) fromsos2002-03-304-9/+179
| | | | | | Promise Superswap enclosures. Sponsored by: Advanis
* Use the method described in the strtol man page to check if it parseddwmalone2002-03-301-1/+1
| | | | the entire string. This avoids signed/unsigned comparison.
* Fixed handling of short reads in readdisklabel() and writedisklabel().bde2002-03-301-0/+6
| | | | | | | | | | | | | | | | These functions use DEV_STRATEGY() which can easily return a short count (with no error) for reads near EOF. EOF happens for "disks" too small to contain a label sector (mainly for empty slices). The functions didn't understand this at all, and looked for labels in the garbage in the buffer beyond what DEV_STRATEGY() returned. The recent UMA changes combined with my local changes and configuration resulted in the garbage often containing a valid but garbage label left over from a previous call. Bugs in EOF handling in -current limited the problem to "disks" with size precisely LABELSECTOR sectors. LABELSECTOR happens to be a very unusual "disk" size since it is only 0 for non-i386 arches that don't usually have disks with DOS MBRs.
* In ffs_mountffs(), set mnt_iosize_max to si_iosize_max unconditionallybde2002-03-305-1/+19
| | | | | | | | | | | | | | | | provided the latter is nonzero. At this point, the former is a fairly arbitrary default value (DFTPHYS), so changing it to any reasonable value specified by the device driver is safe. Using the maximum of these limits broke ffs clustered i/o for devices whose si_iosize_max is < DFLTPHYS. Using the minimum would break device drivers' ability to increase the active limit from DFTLPHYS up to MAXPHYS. Copied the code for this and the associated (unnecessary?) fixup of mp_iosize_max to all other filesystems that use clustering (ext2fs and msdosfs). It was completely missing. PR: 36309 MFC-after: 1 week
* Fix vendor ID.dwmalone2002-03-301-2/+4
| | | | | | | | Make usage message match the man page. (Missing -o, -h doesn't depend on -d). PR: 36470 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 1 week
* Clean up vendor ID and FBSDID.dwmalone2002-03-301-5/+7
| | | | We now seem to include <arpa/inet.h> to get ntoh*.
* Fix constness warnings.dwmalone2002-03-302-13/+14
| | | | | | Remove register keyword. Don't initialise "badtype" in declaration - it was initialised below anyway. Remove prototype for strcpy.
* Don't use gcc specific flags.dwmalone2002-03-301-1/+0
|
* Change a "/*" within a comment to a "**".dwmalone2002-03-301-1/+2
| | | | Add a missing include spotted by gcc30.
* Mark some parameters as unused.dwmalone2002-03-303-14/+24
| | | | | Make more code depend on '#ifndef NO_X' so we don't get unused warnings when compiling without X.
* Minor post warns stuff.dwmalone2002-03-303-19/+14
| | | | | | | | | 1) Fix up vendor IDs for files I'm touching and put FBSDID in the right place. 2) Cast return value of snprintf to size_t rather than casting sizeof() to an int, 'cos we know snprintf returns a non-genative number. 3) Avoid 'char *blank = "";' by just strduping. This could be bad sometimes, but all these variables usually point at malloced memory so this makes them always point at malloced memory.
* Add a sprinkling of mp_Down() calls to ensure that we don't think thatbrian2002-03-301-1/+7
| | | | the multi-link NCP is up when it isn't.
* Don't use the RTF_GATEWAY flag and pass the RTA_GATEWAY address when updatingbrian2002-03-301-1/+8
| | | | routes.
* Add a missing breakbrian2002-03-301-0/+1
|
* Merge the NETGRAPH branch into HEAD. tty devices now use netgraph's linebrian2002-03-3030-147/+1226
| | | | | | | | discipline to do the async escaping, but no other benefits are available yet. Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency. Make the Makefile a little more sane WRT RELEASE_CRUNCH.
* Fix a few typos.keramida2002-03-301-2/+2
| | | | | | | | | as a user ID -> has a user ID command constitutes of -> command consists of PR: misc/36523 Submitted by: Chris Pepper <pepper@mail.rockefeller.edu> MFC after: 3 days
* MFi386: revision 1.55nyan2002-03-301-0/+3
|
* Use the raid lun not the magic when writing Promise config.sos2002-03-301-2/+1
|
* MFi386: revision 1.506.nyan2002-03-302-8/+18
|
* Allow to build with GCC 3.1.obrien2002-03-301-1/+2
|
* Const what I could on a first pass.obrien2002-03-301-7/+9
|
* Add a quick and dirty way to determine where we're loaded from. Wemarcel2002-03-302-16/+56
| | | | | | | | only care if it's network or not at this time. If we're loaded from the network, we set currdev (=loaddev) so that the kernel is loaded from the network as well. In all other cases we initialize to disk. This makes netbooting more convenient and can easily be enhanced to do more elaborate checking.
* The EFI loader has been improved a lot since it was first added.marcel2002-03-302-0/+4
| | | | | | | Most significantly (from an interfacing point of view) is the support for the FPSWA pointer passing. Even though that was added 4 months ago, it's probably not a bad idea to bump the version number to reflect this.
* Fix the initialization of the protocol:marcel2002-03-301-2/+68
| | | | | | | | | | | | | | | | | o Query the state field of the protocol mode to determine whether we need to start and/or initialize the protocol. When we're loaded across the network, the protocol has already been started and is already initialized. When no networking has happened yet, we have to start and initialize the protocol ourselves. o After initialization, we have to set the receive filters. Not doing this results in a deaf interface. We set the unicast and broadcast filters. Multicast may not be supported. This specific change fixes the problem we had that we could not netboot if the loader was started from the EFI shell. o To help future debugging, add a function that dumps the current mode of the interface. It's conditional on EFINET_DEBUG. o To help in runtime problems, emit a diagnostic message when we could not initialize the protocol properly.
* Nuke CV_DEBUG in favour of INVARIANTS.dan2002-03-302-2/+1
| | | | Approved by: jhb
* Add a driver configuration file for the Alpha platform, and specify thatmurray2002-03-301-0/+46
| | | | | the network drivers should be taken out of the boot kernel, and added to the /stand/modules directory of mfsroot.flp.
OpenPOWER on IntegriCloud