Commit Graph

77689 Commits

Author SHA1 Message Date
alfred
2d2461dde0 Silence several warnings due to functions that needed to take a void *
having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(),
clnt_vc_control().
2002-07-14 23:14:02 +00:00
dwmalone
e00a16ef8c Fix a typo.
PR:		40539
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
2002-07-14 22:50:12 +00:00
kbyanc
636e436f26 Add some additional 802.11 media definitions.
Reviewed by:	imp
2002-07-14 21:58:19 +00:00
alc
b385b39509 o Lock page queue accesses by vm_page_wire(). 2002-07-14 20:40:32 +00:00
alc
84e8c06b80 o Lock page queue accesses by vm_page_wire(). 2002-07-14 20:24:40 +00:00
alc
e650551ab9 o Lock page queue accesses by vm_page_wire(). 2002-07-14 19:45:46 +00:00
alc
13868892db o Lock page queue accesses by vm_page_wire(). 2002-07-14 19:36:15 +00:00
alfred
c288b01e7d WARNS=4 2002-07-14 18:23:22 +00:00
alfred
adf0fb9f4e WARNS=4, add 2002-07-14 18:21:07 +00:00
alfred
6241f40508 WARNS=2, de-__P() 2002-07-14 18:16:06 +00:00
alc
136c0ea4b2 In execve(), delay the acquisition of Giant until after kmem_alloc_wait().
(Operations on the exec_map don't require Giant.)
2002-07-14 17:58:35 +00:00
alfred
b7f8470fdf WARNS=2 2002-07-14 17:55:35 +00:00
alfred
d95d8b89ab - TI-RPC is now the default again for code generation.
- As before, inetd support support is turned of per default.
  Code for inetd can be made with -I.

- Support for ``transport monitors'' and the NLSPROVIDER env
  variable is still there , even if their use is not clear in
  non TLI stream based systems like Free-/NetBSD. It can be activated
  with -P.

- There are a few corrections in rpcgen.1 and usage function to conform
  to the code. Added and documented -P

- I removed the #ifdefs checks for Free-/NetBSD since we are the only
  ones who use this code. MaxOS X may have the same limitations as
  we have, so this code will correctly build for them.

- Generate correct cflags.

Submitted by: mbr, Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
PR: bin/29175, misc/27816
2002-07-14 17:54:00 +00:00
dwmalone
44dbe3e8f4 Fix a typo.
PR:		40523
Submitted by:	Andrew Stevenson <andrew@ugh.net.au>
2002-07-14 15:28:01 +00:00
charnier
c32f3c3be4 The .Nm bootloader 2002-07-14 15:22:49 +00:00
charnier
e441f9245c The .Nm set of commands 2002-07-14 15:21:28 +00:00
charnier
123ce585c8 The .Nm 2002-07-14 15:19:46 +00:00
charnier
abd215c87f The .Nm utility 2002-07-14 15:12:00 +00:00
charnier
9feada5c58 The .Nm utility 2002-07-14 14:58:11 +00:00
charnier
d2168fe021 The .Nm utility 2002-07-14 14:47:15 +00:00
luigi
745a7b1537 Add "tty" entry. 2002-07-14 14:18:16 +00:00
luigi
1a2442c7c1 Add entry for the "screen" program. 2002-07-14 14:17:28 +00:00
luigi
0a62a25a08 Clear local screen when ^D is typed.
Use setproctitle to remove arguments from 'ps' output.

MFC after: 3 days
2002-07-14 14:08:43 +00:00
ache
662958d09e More Russian holidays
PR:		39578
Submitted by:	Sergey A. Osokin <osa@FreeBSD.org.ru>
2002-07-14 13:29:27 +00:00
sobomax
6a98505478 MFS: make this file compilable with gcc 2.9x as well. 2002-07-14 13:25:51 +00:00
ache
609d145bb8 Fix pl_PL collating table
PR:		39408
Submitted by:	Michal Pasternak <doc@pasternak.w.lub.pl>
2002-07-14 13:17:12 +00:00
sobomax
a81ce47daa Correct _PATH_RCP to be /bin/rcp, not /usr/bin/rcp. 2002-07-14 13:04:15 +00:00
tmm
13841bc271 Miscellaneous fixes:
- always reinitialize the rx descriptors, even if the mbuf is kept.
  This should fix the hangs on ifconfig that were observed
- on an rx overflow, reinitialize the descriptor so that the interface
  will not hang
- correct some bus_dmamap_sync() calls
- correct some debug messages
- some minor nits
2002-07-14 12:09:48 +00:00
luigi
760fc742c8 Not needed anymore. 2002-07-14 12:09:33 +00:00
luigi
c94e4ee107 Replace a logverbose call with log 2002-07-14 12:07:06 +00:00
kato
b095d5165e MFi386: sys/i386/i386/machdep.c revision 1.522. 2002-07-14 09:33:26 +00:00
luigi
f6c6028862 Enable building of picobsd using CURRENT sources again.
Following a suggestion by Ruslan, the initial creation of the
includes and libraries (and build tools) is now done by
invoking "make buildworld" (with -DPICOBSD which eventually will
limit the amount of stuff built with a 2-line change in Makefile.inc1).
The correct environment is then used for subsequent builds.

Also remove write_mfs_in_kernel.c in favour of using dd

All the above is conditional on __FreeBSD_version, as the previous
method still worked for versions earlier than 500035, and I am
unsure on how the "new" method works for earlier versions.

Finally, note that the crunch.conf files need some work because
some libraries (e.g. gmd) have gone away from the base installation.
2002-07-14 09:07:13 +00:00
julian
b443e6894a part of a greater patch set..
1/ don't need to set td_state to TDS_RUNNING in fork_return.
it's already set in choosethread().
2/ Set a child process state to "normal" as opposed to "new"
when we allow it to be put on the run queue.
Allows child to receive signals from the parent if the parent
runs first and tries to immediatly signal he child.

Submitted by:  (part 2)	Thomas Moestl <tmoestl@gmx.net>
2002-07-14 08:29:15 +00:00
imp
1f90b85e30 Rearrange previous commit that passed the vendor id to the kernel in a way
that's binary compatible for -stable.  While binary compatibility doesn't
matter much in -current, it is critical for -stable.  This change requires
pccardd/pccardc to be recompiled.
2002-07-14 06:47:52 +00:00
julian
d84464f213 Thinking about it I came to the conclusion that the KSE states were incorrectly
formulated.  The correct states should be:
IDLE:  On the idle KSE list for that KSEG
RUNQ:  Linked onto the system run queue.
THREAD: Attached to a thread and slaved to whatever state the thread is in.

This means that most places where we were adjusting kse state can go away
as it is just moving around because the thread is..
The only places we need to adjust the KSE state is in transition to and from
the idle and run queues.

Reviewed by:	jhb@freebsd.org
2002-07-14 03:43:33 +00:00
jmallett
8dcca6c133 Add a default case to the getopt(3) switch, remove a blank line nearby. 2002-07-14 02:34:37 +00:00
keramida
bbe7923a86 Typo: do do -> to do.
Reviewed by:	imp
2002-07-14 02:25:21 +00:00
jmallett
868a694e34 Functions declared as <type> <identifier>(<nil>) should be declared as
<type> <identifier>(<void-type>) in ANSI C.
2002-07-14 02:03:23 +00:00
jmallett
1c19cb9624 Remove prototype for main(). 2002-07-14 02:00:45 +00:00
julian
660340d306 oops, state cannot be two different values at once..
use || instead of &&
2002-07-14 01:36:48 +00:00
jake
fd7d3c2e28 Try both upa-portid and portid properties when finding the module id of a
secondary cpu.  Its called portid on UltraSPARCIII machines.
2002-07-14 00:08:58 +00:00
jake
04b64987c3 Remove debug code. 2002-07-14 00:01:16 +00:00
alc
5258ed77bb o Lock page queue accesses by vm_page_unmanage().
o Assert that the page queues lock is held in vm_page_unmanage().
2002-07-13 23:55:30 +00:00
jmallett
62f24912aa Typo fixo: imbedded => embedded 2002-07-13 22:47:40 +00:00
bde
61e58ad58c Quick fix for high resolution kernel profiling on i386's. Use
-finstrument-functions instead of -mprofiler-epilogue.  The former
works essentially the same as the latter but has a higher overhead
(about 22 more bytes per function for passing unused args to the
profiling functions).

Removed all traces of the IDENT Makefile variable, which had been
reduced to just a place for holding profiling's contribution to CFLAGS
(the IDENT that gives the kernel identity was renamed to KERN_IDENT).
2002-07-13 22:28:34 +00:00
peter
de5af3fe19 Two invlpg's slipped through that were not protected from I386_CPU
Pointed out by:	dillon
2002-07-13 21:55:11 +00:00
peter
823051bf35 invlpg() does not work too well on i386 cpus. Add token i386 support
back in to the pmap_zero_page* stuff.
2002-07-13 21:03:08 +00:00
peter
33ec32bcbf Do global shootdowns when switching to/from 4MB pages. I believe we can
do a shootdown on a 4MB "page" though, but this should be safer for now.

Noticed by:  tegge
2002-07-13 20:58:56 +00:00
peter
995438bbe5 Bandaid for SMP. Changing APTDpde without a global shootdown is not
safe yet.  We used to do a global shootdown here anyway so another day
or so shouldn't hurt.
2002-07-13 20:56:18 +00:00
alc
828e129a10 o Complete the locking of page queue accesses by vm_page_unwire().
o Assert that the page queues lock is held in vm_page_unwire().
 o Make vm_page_lock_queues() and vm_page_unlock_queues() visible
   to kernel loadable modules.
2002-07-13 20:55:21 +00:00