Commit Graph

124350 Commits

Author SHA1 Message Date
uwe
7a1ea12099 Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
2004-02-22 01:24:25 +00:00
uwe
ad788cab09 In gcc3 world the "millicode" must be provided by libgcc*.a, so don't
include it in libc.
2004-02-22 01:05:49 +00:00
dan
5819919614 micro-optimisation - if we're going to return 0, do so before doing
other unnecessary work
2004-02-22 01:00:41 +00:00
enami
18a61d4783 Backout an obvious bug introduced in rev. 1.145. 2004-02-22 00:26:43 +00:00
enami
06107df871 Modify pool page header allocation strategy as follows:
In addition to current one (i.e., don't wast so large part of the page),
- if the header fitsin the page without wasting any items, put it there.
- don't put the header in the page if it may consume rather big item.

For example, on i386, header is now allocated in the page for the pools
like fdescpl or sigapl, and allocated off the page for the pools like
buf1k or buf2k.
2004-02-22 00:19:48 +00:00
bjh21
859077437c Use 0 for integers, not NULL. 2004-02-21 23:25:01 +00:00
bjh21
af905e2600 RCSID() 2004-02-21 23:22:34 +00:00
bjh21
02d168952e Ensure file ends with a newline. 2004-02-21 23:20:53 +00:00
cl
e9598cefd0 Actually test pthread__dbg to check if another gdb is attached (and not
pthread__tsd_destructors whose address happens to be in addr).
2004-02-21 20:48:11 +00:00
oster
8bf9613af8 unlockQNodes, unlockDataNodes, and unlockParityNodes are not used. Turf. 2004-02-21 20:06:29 +00:00
snj
6c4b89d3bf It's "its" 2004-02-21 18:23:21 +00:00
christos
9f2ccd7938 Separate tty separation from the prompt printing function. From Gerry Swislow. 2004-02-21 16:42:30 +00:00
skrll
b5330c98c7 Add the standard XXX about CPPFLAGS and -fpic here. 2004-02-21 16:02:06 +00:00
skrll
d93f13855a Move common LDFLAGS into Makefile from arch/*/Makefile.inc 2004-02-21 15:56:03 +00:00
cl
661c78132a Fix flow control:
The condition of the check if we are at a safe point to pause (i.e. we're not
holding a lock) was inverted.  Suspending the client did result in the
server using upto datalimit memory, because the server child process did
continue producing output while the server parent was holding back output
to the client.
2004-02-21 15:06:11 +00:00
augustss
8666d19603 Make INSTALL kernel a little slimmer. 2004-02-21 11:38:28 +00:00
jdolecek
10677fb827 switch nb_resolvehost_in() to getaddrinfo()
g/c commented out nbns_*() functions, they are implemented elsewhere
2004-02-21 10:09:01 +00:00
jdolecek
b142758840 sort iconv -l output 2004-02-21 09:16:25 +00:00
rtr
39401ac035 SRCS+= GetTimeInMillis.c for special combinations of XFree86 server is
being built with other servers.
2004-02-21 08:35:28 +00:00
rtr
36f1e88d93 MKMAN=no was there ever a Xmacppc.man? 2004-02-21 08:33:23 +00:00
rtr
12cdb6c3cf move libos.a down in the link line so its version of GetTimeInMillis() is
not the one linked (instead we get the version from libxnest.a and libxvfb.a)
appropriately.
2004-02-21 08:32:34 +00:00
junyoung
2402a07435 - Locate comment in right place.
- Fix wrt protection against multiple inclusion.
2004-02-21 04:31:40 +00:00
atatat
56392ab40b Use KERN_PROCSLOP for struct kinfo_proc and KERN_LWPSLOP for
struct kinfo_lwp, and not vice versa.

Should solve the issue with top dying because it's unable to "allocate
memory".
2004-02-21 03:27:57 +00:00
sekiya
6b0d2196d3 Add sgimips as a valid XFree86 server target. 2004-02-21 01:51:43 +00:00
skrll
151426159b Whitespace. 2004-02-20 20:58:24 +00:00
jkunz
7006f1c550 Import ipmlementations for _bus_dmamap_load_buffer(), mbus_dmamap_load(), mbus_dmamap_load_mbuf(), mbus_dmamap_load_uio() and mbus_dmamem_mmap(), from sys/arc/vax/vax/bus_dma.c and rework mbus_dmamap_sync() based on sys/arc/arm/arm32/bus_dma.c. 2004-02-20 20:22:10 +00:00
jkunz
c43db93399 hp700 has no PCI support yet. Enabling PCI devices breaks compilation, so disable all PCI devices for the moment. 2004-02-20 20:18:37 +00:00
drochner
972fe86c42 Provide a dummy cpu_exec_aout_makecmds() to make a kernel
with COMPAT_NETBSD32+COMPAT_AOUT link.
netbsd-1.3/i386 binaries are running now.
2004-02-20 18:11:16 +00:00
yamt
2becafcd79 don't assume that bus on intr_extra_buses has non-null pci_bridge_tag.
pchb's second bus doesn't have it.

ok'ed by Frank van der Linden.
2004-02-20 18:04:06 +00:00
yamt
d749a2d0b4 defer pmap switching until it's really needed
to avoid frequent loading of cr3 register, which involves tlb flush.

with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.
2004-02-20 17:35:01 +00:00
drochner
b07c616019 did this ever work? The EXEC_32 flag must be set _before_
exec_aout_prep_*magic(), otherwise setup_stack() fails.
2004-02-20 17:04:27 +00:00
fvdl
a043ba6b66 Actually match the nforce3 as well.. 2004-02-20 16:36:29 +00:00
drochner
f0423dfad5 -MID_SPARC->NETBSD32_MID_MACHINE
-check for zero BSS size, as in kern/exec_aout.c rev. 1.23
2004-02-20 16:14:38 +00:00
drochner
289fa68010 provide a definition NETBSD32_MID_MACHINE which tells for the a.out MID
to look for in 32-bit emulation
2004-02-20 16:11:44 +00:00
sjg
a3cc11808b Fix :M so that modifiers in nested variables don't terminate parsing
early.  Add a unit-test to verify it works and keeps working.
Re-jig the unit-tests so that all are sub makefiles.
2004-02-20 09:03:26 +00:00
atatat
f99654532c Make this:
% sysctl -A kern.cp_time

(and also "sysctl -A" without the kern.cp_time argument) print this:

	kern.cp_time: user = 851648, nice = 683496, sys = 69383, ...
	kern.cp_time.0: user = 85648, nice = 68496, sys = 6983, ...
	...

instead of just:

	kern.cp_time.0: user = 85648, nice = 68496, sys = 6983, ...
	...
2004-02-20 05:27:39 +00:00
uebayasi
d59e9104ff Tar(1)'s -s option needs an argument. Correct option string (s -> s:).
Reported and tested by Tomoaki Imamura.
2004-02-20 05:16:54 +00:00
fvdl
e27e92d426 Bump libc minor. 2004-02-19 21:30:22 +00:00
christos
dfc0794d60 -D_REENTRANT not needed anymore. 2004-02-19 19:51:05 +00:00
christos
b6b464bd1b -D_REENTRANT is not needed 2004-02-19 19:39:13 +00:00
christos
270cd4e394 Add servent and protoent tests 2004-02-19 19:38:51 +00:00
christos
2b03200f1f servent_r/protoent_r additions 2004-02-19 19:31:06 +00:00
christos
885e0fc7f3 protoent_r/servent_r 2004-02-19 19:30:30 +00:00
christos
d68ecdf1c9 getservent_r/getprotoent_r 2004-02-19 19:27:53 +00:00
christos
ec210d4a19 Implement the non-reentrant ones using the reentrant ones.
Name files by function name.
2004-02-19 19:27:26 +00:00
christos
7782337bb7 _r functions for services and protocols; also add the inet_cidr_* function
which will come next.
2004-02-19 19:22:51 +00:00
christos
8059eed1bc Re-entrant versions of services and prorocols functions. 2004-02-19 19:21:44 +00:00
christos
96401843e9 Adjust the compare script so that it can be used for both servent and protoent. 2004-02-19 19:19:29 +00:00
christos
6e311ad824 {get,set,end}protoent_r regressions. 2004-02-19 19:18:48 +00:00
christos
7fc50c9d78 {get,set,end}servent_r regression test. 2004-02-19 19:06:52 +00:00