Commit Graph

92004 Commits

Author SHA1 Message Date
christos 22a842763e Deal with other sizeof() return issues. We usually cast it to u_int, because
this is what the rpc function argument passing expects, or use socklen_t
as appropriate...
2002-02-05 22:41:47 +00:00
christos 91caf38a2a - Cast pointer casts to (void *) first to shut-up lint
- Deal with variable size enums, by generating assignment to an enum_t variable.
- Use f_print everywhere instead of fprintf - when in Rome...
- I don't understand the value of the unexplained hack. Use IXDR_{U_,}INT32
  instead of IXDR_{U_,}LONG.

With those changes our generated librpcsvc files pass lint.
2002-02-05 22:05:42 +00:00
christos ed811ba9a7 Don't spit out a trailing comma as the last member of an enum. 2002-02-05 22:03:01 +00:00
christos 0a8ad43664 cast ~0 to (u_int) because it is aimed at the size argument of the xdr function. 2002-02-05 22:02:15 +00:00
christos aa9da9e0fc size is really a u_int 2002-02-05 22:01:09 +00:00
tron c5118cc527 Add the SMC 9452TX to the list of cards. 2002-02-05 21:50:34 +00:00
christos 582f45a690 Add __MNT_CONTROL_FLAGS to __MNT_FLAGS for the sake of completeness.. 2002-02-05 21:25:48 +00:00
thorpej 58eebd58b3 Use vm_page_md rather than pmap_physseg. Saves lots of cycles in
common operations.
2002-02-05 21:14:36 +00:00
ross 1a31609385 Don't make broken links out of incomplete .Xr requests. 2002-02-05 21:00:09 +00:00
kleink cd6a8bc27c Add MPC601 MQ and RTCU/RTCL SPRs. 2002-02-05 19:49:17 +00:00
chuck df904ed198 after discussion with christos, use string "hidden" rather than "ignored" 2002-02-05 19:35:03 +00:00
agc bf3822aec1 Search uid ranges properly, using command line ranges if provided, and
using the default range last.

Problem reported by Cillian Sharkey <cns@redbrick.dcu.ie>
2002-02-05 19:18:29 +00:00
thorpej 9485327397 Allow platforms to use an extra level of indirection for FIQs,
enabled by definining __ARM_FIQ_INDIRECT in <machine/types.h>.
This is needed for OpenFirmware systems (like the Shark), where
the OFW vector page is used, and kernel entries merely patched
into it.
2002-02-05 18:26:07 +00:00
fredb c26310d581 whitespace cleanup 2002-02-05 15:28:03 +00:00
fredb 31543d3f23 Add an explicit transformation for iwm.s -> iwm.o, patterned after the
kernel's ${NORMAL_S}. In particular, we need the ${CPPFLAGS} from
<bsd.kmod.mk> to support non-self-hosted builds. (Changing iwm.s to iwm.S
would also work.)
2002-02-05 15:26:52 +00:00
reinoud 19c1a02e8b The postfix `regexp' and `pcre' examples are now split into a `access',
`body' and `header' part ... The origional examples are aparently no longer
available.
2002-02-05 15:03:50 +00:00
reinoud fe0ecbaede At last enable the real time clock again on acorn32 !! thanks a lot to Mike
Pumford for the patches.
2002-02-05 14:36:35 +00:00
reinoud 3af1f00423 Add the relevant libarm* libs to base and comp for acorn32 2002-02-05 14:11:34 +00:00
reinoud ef70c25c39 libarm32.so should be in base, not in comp. 2002-02-05 13:58:40 +00:00
pk ae36e0e350 bootpath_build(): parse boot path correctly if the boot device arguments
consists of more than one character (we still pay attention to the first
argument character only).  From bt@csfps.de; PR#15495.
2002-02-05 13:54:39 +00:00
mrg 1956e2770e add some more details. 2002-02-05 13:44:01 +00:00
lukem daea03f9f5 Support `/unset all', to unset all of the global values set with `/set ...' 2002-02-05 12:15:13 +00:00
lukem 848861bf4f add some more IMAGEDEPENDS 2002-02-05 11:15:04 +00:00
lukem bfa72435ba remove unnecessary 'chown root.wheel' and be consistent with the rest
of this file...
2002-02-05 09:14:12 +00:00
jmc 4b4c3144ba Enable the _Qp* routines to be built always and allow full softfloat to be
pulled in if MKSOFTFLOAT gets enabled.
2002-02-05 07:54:01 +00:00
jmc d9c86555ad Add softfloat and quad softfloat setup for sparc64 (thanks to Andrey Petrov
for most of this. I just integrated the build).

This adds proper functions for the _Qp* parts of the sparc64 ABI (which
handle quad softfloat). The routines work but need additional testing.
However if the compiler calls these currently bad things (core dumps)
will happen as gcc 2.95.3 generates bad calls for these.

Until that problem is fixed in the toolchain -msoft-quad-float cannot be
enabled as the default option for all builds (but the routines need to be
in libc as libgcc contains some references to these and anything including
it via --whole-archive will need the symbols to at least resolve).
2002-02-05 07:53:05 +00:00
chs 90503a3cda add an assert (hopefully to find where we recycle vnodes without
freeing all the pages, like I've seen recently).
2002-02-05 07:50:58 +00:00
thorpej 90544559d3 Don't put `frompc' into a0 in the delay slot of the __mcount
call; `jal __mcount' might be expanded by the assembler, and
thus a bogus `frompc' value could be passed.
2002-02-05 07:12:20 +00:00
thorpej b02b24b1d7 Replace u_quad_t with uint64_t and quad_t with int64_t, and use
<inttypes.h> to get those type definitions.  These types are more
portable, and a little more sane to do autoconf tests for.
2002-02-05 03:04:26 +00:00
eeh e16b1e8bf6 Add a sound driver for Blade 100s (which doesn't seem to do much. All I
get is the sound of silecne.)
2002-02-05 01:55:49 +00:00
eeh 94a482c8a0 Fix a blatant inconsistency in PCI_PRODUCT handling. 2002-02-05 01:51:51 +00:00
kleink e930ad8aed KNF example code snippet. 2002-02-05 01:47:42 +00:00
augustss 2f3db30ca0 Make ulpn device nodes (no reset on open). 2002-02-05 00:45:46 +00:00
ross a9a98a852c just editing comments 2002-02-05 00:40:16 +00:00
augustss 7be4e1341d Add a sentence about the no-reset-on-open device node. 2002-02-05 00:37:48 +00:00
augustss b5d25cc57f Test for default device in a portable way. Thanks to Michael Ericsson
for spotting the problem.
2002-02-05 00:17:26 +00:00
perseant fd4bbaaa48 Walk the segment list correctly when rolling forward between the two
primary superblocks.  This prevents spurious "block could not be read"
messages that might otherwise be seen if the filesystem had not been
properly unmounted.
2002-02-04 23:43:43 +00:00
perseant 5dcafb60c7 Use the correct size for inode blocks. This caused false data checksum
mispatches to be reported on v2 filesystems.
2002-02-04 23:41:28 +00:00
manu b778bba3d3 Added system calls: getdents64/ngetdents64 2002-02-04 20:26:34 +00:00
kleink d4e99a46ec Add a separate varargs(3) manual page, reusing stdarg(3) contents, and
remove the name `varargs' from stdarg(3); inspired by conversation with
Charles Hannum.
2002-02-04 20:09:46 +00:00
martti c6a4a9d33a Fixed Darren's original IPv6 icmp-type patch (rev 1.8) to display
better error messages if the user tries to use symbolic names such
as "echo" and "echorep" in "ipv6-icmp ... icmp-type ..." rules.

Consider the following rules:

  # cat /etc/ipf6.conf
  pass in quick proto ipv6-icmp from any to any icmp-type 128
  pass in quick proto ipv6-icmp from any to any icmp-type echo

Use of symbolic names give now the following error:

  # ipf -Fa -6f /etc/ipf6.conf
  2: Unknown ICMPv6 type (echo) specified (use numeric value instead)

The first rule with numeric value will work as expected:

  # ipfstat -6hi
  0 pass in quick proto ipv6-icmp from any to any icmp-type 128

NOTE: You MUST use numerical values for ICMPv6 types. See
      /sys/netinet/icmp6.h for available codes!
2002-02-04 19:07:47 +00:00
kleink 1b7ae2b741 While va_{start,arg,end} conform to ISO C90, they were certainly not
introduced in there but ANSI C; pointed out by Charles.
2002-02-04 18:27:38 +00:00
thorpej cb2e377d4c Whitespace cleanup. 2002-02-04 18:18:51 +00:00
uch c6bcb69ec7 recompile 2002-02-04 17:41:37 +00:00
uch 2e968e7e37 SH4 and HD64465(SH4 companion chip) serial console support. 2002-02-04 17:38:26 +00:00
uch e79ccc5b22 enable PERSONA HPW650PA 2002-02-04 17:33:08 +00:00
uch 8484a699cd add CacheSync() WinCE(2.10 or later) API declaration. 2002-02-04 17:32:36 +00:00
uch 7758e1728a smart debug message. 2002-02-04 17:32:02 +00:00
uch c154e13e2c change system information print. remove ExtEscape (WinCE API) test. this was not useful. 2002-02-04 17:31:34 +00:00
uch 45ac5fbf94 correct file opening mode. CreateFile(_filename, GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); 2002-02-04 17:31:05 +00:00