Commit Graph

152750 Commits

Author SHA1 Message Date
tnozaki 503c123619 switch the conversion table from rfc1345 to unicode.org's one. 2006-10-19 14:06:14 +00:00
pooka c870120337 VOP_RENAME synopsis:
* tdvp points to a vnode, not a componentname.
* name of the source vnode is fvp, not vp
2006-10-19 13:44:00 +00:00
simonb e8ff7d18f3 Use "U" suffixes for largest unsigned type values.
Pointed out by Nick Hudson.
2006-10-19 12:05:26 +00:00
yamt 355bbc5cdf document tcp.abc. 2006-10-19 11:48:02 +00:00
yamt c549acefec tcp_reno_newack: remove an __unused because it's now used. 2006-10-19 11:42:32 +00:00
yamt df8e5bddfa tcp_reno_newack: regardless of sysctl setting, use L=1*SMSS when
we are doing retransmission.
2006-10-19 11:42:02 +00:00
yamt 81463c93c7 implement RFC3465 appropriate byte counting.
from Kentaro A. Kurahone, with minor adjustments by me.
the ack prediction part of the original patch was omitted because
it's a separate change.  reviewed by Rui Paulo.
2006-10-19 11:40:51 +00:00
he 4df50368d1 sysconf() returns long, which isn't neccessarily assignment-compatible
with size_t, as evidenced by sh5, so add an explicit cast.
2006-10-19 10:10:35 +00:00
vanhu 5328e8c78b Added ipsecdoi_chkcmpids() function 2006-10-19 09:36:22 +00:00
vanhu 3835b0b6a5 From Matthew Grooms: use ipsecdoi_chkcmpids() and changed src/dst to loc/rmt in getsainfo(). 2006-10-19 09:35:51 +00:00
vanhu b0f2fc5ddb From Matthew Grooms: Added ipsecdoi_chkcmpids() function. 2006-10-19 09:35:44 +00:00
yamt 4ba42a7148 add an assertion. 2006-10-19 09:34:00 +00:00
martin 799bddf8fa MD_DO_NOT_NEED_FALLTHRU for sparc and sparc64, from Nick Hudson. 2006-10-19 08:37:46 +00:00
mrg 3bb37666dd s/gcc3/gcc4/. 2006-10-19 08:18:45 +00:00
uwe a619033d94 SH_RCR2_BITS for bitmask_snprintf. 2006-10-19 03:26:10 +00:00
uwe 5e3c689570 Oops, don't stop rtc when enabling rtc oscillator - we would stall it
until rtc(4) attaches and starts the clock (that caused my Jornada to
lose about 12 secs during boot).
2006-10-19 00:25:18 +00:00
bjh21 7fb3ea3f6c Use GDB 6 on armeb as well. 2006-10-18 23:31:50 +00:00
bjh21 cc630e93eb GDB 6.5 seems to be basically functional on ARM, so make it the default there. 2006-10-18 23:22:24 +00:00
jklos 89009eb679 Fix for PR 33667. Note that putting bmac_mediachange where thorpej
suggested doesn't fix this issue. Not a perfect fix, but much better than
leaving it as it was. Tested on several iMacs and a blue & white G3.
2006-10-18 21:37:48 +00:00
he e02c317333 Simplify the previous change. There's actually no need to treat constants
specially in ptconv(), the constants will be checked in convert() anyway.
2006-10-18 21:34:39 +00:00
freza 57dc9ea382 Treat multiple
SPECIAL prog {objs,objpaths,keepsymbols} itemX

lines (where "prog" is fixed) in crunchgen configuration the same as

  SPECIAL prog {objs,objpaths,keepsymbols} item1 ... itemN

OK by David Laight
2006-10-18 21:20:44 +00:00
pavel 322d0c4e0a Update to upstream revision 1.24 by Stepan Kasal to fix a typo.
Prompted by PR misc/34850.
2006-10-18 20:46:30 +00:00
martin ab82117070 Backout size_t casts - lint has been fixed. 2006-10-18 19:15:46 +00:00
tnozaki 2e2fc44e22 add new iconv module libJOHAB,
this supports S.Korean character encoding scheme ``JOHAB''.
2006-10-18 17:54:54 +00:00
martin ab081bc491 Ooops, array initialization for the page size map differs in DEBUG and
other kernels - hide details in a macro.
Pointed out by Matthias Scheler.
2006-10-18 15:28:39 +00:00
christos 9b803358d7 PR/34848: Roland Illig: NetBSD's sed cannot handle files that are missing
the final new line.
This is an fgetln() problem; fix and add a way to test.
2006-10-18 15:17:38 +00:00
martin 82fe1a885a Re-enable lint warnings as errors, now that the source seems to lint
fine on non-i386 arches.
2006-10-18 14:50:58 +00:00
martin ec465210f2 Sprinkle a few size_t casts to avoid conversion warnings. 2006-10-18 14:49:21 +00:00
martin b6f68b3740 Add casts to apease lint. 2006-10-18 14:41:08 +00:00
skrll 22acc290fb Fix symbol loading for the common(?) case - boot from disk. 2006-10-18 14:00:31 +00:00
he 099b977bfe Add the GUMSTIX kernels now that the distrib setup tries to find
those kernels.
2006-10-18 10:13:58 +00:00
martin 27bbd80a3d Initializers 2006-10-18 09:18:22 +00:00
uwe 95f76b747d Clean more files generated by eVC3. 2006-10-18 02:18:27 +00:00
rjs ddc28f5427 Clean up some comments. Cosmetic change to use correct structure
offset names.

Optimize out two instructions from sparc64_ipi_save_fpstate and
sparc64_ipi_drop_fpstate.
2006-10-18 01:41:38 +00:00
uwe 4a0ed35f45 The real libkern.h now uses "long long" that eVC has no clue about.
Instead of polluting libkern.h with ifdefs introduce our own private
copy.  Since AFAICT we only need it for libsa/ufs.c which only
includes it for the strlen() prototype, trim it to provide just that
for now.

We cannot just #include <string.h> (the WinCE one) here, as that pulls
in a lot of unrelated stuff, e.g. defines for limits that collide with
machine/limits.h
2006-10-18 01:39:01 +00:00
he 834c0a7840 Add handling of the supposed-to-fail tests. Add an
"ok: <testname>" possibly followed by "(should warn & fail)" to the
output to make it a little more obvious what is being run.
2006-10-18 00:05:33 +00:00
he 7164372cfa Add a few regression tests for lint. These files are supposed to fail
lint checking.
2006-10-18 00:03:27 +00:00
he 4228dd3afb Partly redo when to emit warnings for argument type conversions.
Remove the apparently always true "styp(nt) != SHORT" part of the
innermost test.  Allow atomatic conversion of literals as long as
they fit into the target type.

This should fix some of the lint issues in proplib on some of our
platforms.

Approved by christos.
2006-10-18 00:01:19 +00:00
he 081971a032 Use __inline instead of inline, to allow linting of ourselves... 2006-10-17 23:53:30 +00:00
wiz adba8fa9a7 Recognize a newer D-Link DWL-G122 as supported. 2006-10-17 23:42:18 +00:00
mrg d7ad3f5fab allocate 128KB (as opposed to 64KB) per-cpu, and place the interrupt
stack, cpu_info structure, panicstack, idle uarea and normal kernel
stack in here.  the idle uarea and kernel stack are in the 2nd 64KB
page.  the interrupt stack and cpu_info structure are as the same
place in the 1st 64KB page, and the panicstack grows down from the
top of this page.  update comments in param.h to suit (XXX: a lot
of these constants should move to a header file that will not pollute
the name space so much.)  map these pages identically between
cpu_initialise() and cpu_mp_startup(), and deal with the two 64KB
pages in pmap_extract().  keep an unmapped 64KB page between them.

don't initialise the unused "ci_eintstack" member of the cpu_info
structure

use constants to initialise many addresses in the cpu_info structure,
consolidating these assignments from cpu0 and cpu>0

delete u0/estack0/panicstack from locore.s

clean up some wrong comments in locore.s

fix a 32bit-only bug in cpu_mp_startup().

delete 'u0' entirely.


this fixes recent random lossage seen on port-sparc64: processes
stuck in RUN state, data faults, and hangs.
2006-10-17 22:26:05 +00:00
bouyer f3366866dc Change BSD_SYMTAB to BSD_SYMTAB=yes. Xen-3.0.2 wants it, and xen-3.0.3
doesn't care.
2006-10-17 22:16:20 +00:00
he 565d8259e3 Add initialization of a variable where gcc for some archs thinks
that it may be used un-initialized.  From cursory inspection it is
not obvious that gcc is wrong.
2006-10-17 21:14:03 +00:00
martin ed11f023c9 Backout previous - this library is not ready for linting 2006-10-17 20:34:15 +00:00
dogcow 4d6780ca5c I figure I may as well add myself, too. You'd think this'd be automagically
generated at some point...
2006-10-17 20:26:50 +00:00
mjf 34c85e509f Added myself to the list. 2006-10-17 20:07:34 +00:00
bouyer abd9ea51ce XEN_NO_HYPERCALLPAGE is redundant with XEN_COMPAT_030001; make
XEN_COMPAT_030001 disable the hypercall page too and remove
XEN_NO_HYPERCALLPAGE
2006-10-17 19:57:24 +00:00
bouyer 754514a443 Add ELF_PADDR_OFFSET and VIRT_ENTRY strings to __xen_guest ELF section,
so that our kernels works with newer xen-3 hypervisors; and correct the value
of VIRT_BASE for dom0.
Now that we can embed the values of KERNBASE and KERNTEXTOFF in the binary
for Xen, make the domU memory layout the same as dom0 for Xen3 (making
it the other way round doens't work; probably because of alignement
constraints in the hypervisor). The old domU layout is used if options
XEN_COMPAT_030001 is present in the kernel config file. Enable this the
domU kernel config files for now, in case someone wants to run a NetBSD
domU on an older Xen3 installation.
2006-10-17 18:53:03 +00:00
dogcow 372e6ef309 now that we have -Wno-unused-parameter, back out all the tremendously ugly
code to gratuitously access said parameters.
2006-10-17 18:21:29 +00:00
christos 51739e272e Only retry if we were able to clean up some descriptors, otherwise we get
into an infinite loop.
2006-10-17 17:44:34 +00:00