tron
cf76f4876d
Fix memory leak which occurs after an allocation failure.
2002-05-07 09:06:51 +00:00
jdolecek
828400151c
add -ffreestanding to CFLAGS, so that this wouldn't attempt to link in libc(ugh)
...
g/c the -Wno-main and HAVE_GCC28 stuff
make the machine symlinks via common .BEGIN cookie, so that they would
be properly setup for 'depend' or 'dependall' targets too; g/c the limits.h
symlink, which doesn't seem to be needed
2002-05-07 09:03:52 +00:00
itojun
c0fa39f338
correct plogv().
2002-05-07 08:58:32 +00:00
jdolecek
9edc8549c6
some esp register names are no longer provided by next68k espreg.h,
...
use MI <dev/ic/ncr53c9xreg.h> ones
2002-05-07 08:57:31 +00:00
enami
b42b2c8323
In soreceive(), don't call sopendfree() if MSG_DONTWAIT is set
...
since it may sleep. nfsrv_rcv() tries to do its jobs in softintr
handler as far as possible.
2002-05-07 08:06:35 +00:00
uwe
440409e641
Delint a bit.
2002-05-07 06:45:22 +00:00
gmcgarry
d9248c05c1
FPSP required. Noted by Michael Wolfson.
2002-05-07 06:17:10 +00:00
gmcgarry
918cdbbb79
Make more featureful.
2002-05-07 06:07:30 +00:00
uwe
58789acb68
Delint. Add /* CONSTCOND */. Add parens to macro argument to avoid
...
interesting interaction between cc -C and comma inside a comment after
macro definition.
2002-05-07 05:56:47 +00:00
uwe
41e6fbc398
Delint somewhat.
2002-05-07 04:52:49 +00:00
thorpej
a19e4685f7
Make CLKF_INTR() slightly less broken. The previous definition always
...
tested true if the CPU was running in the kernel at the time of the clock
interrupt, therefore all such time (kernel and idle) was counted as interrupt
time. The new definition simply punts on trying to count interrupt time,
which allows us to see kernel and idle time.
2002-05-07 04:01:59 +00:00
lukem
6007cc8838
Use release:: instead of release: when multiple release targets may exist
2002-05-07 03:34:16 +00:00
lukem
e914dad622
wrap line
2002-05-07 03:29:43 +00:00
thorpej
3a3df0d1d2
Fix reading values mapped in P1 via /dev/kmem (problem uncovered by
...
uch's new pmap).
2002-05-07 03:28:25 +00:00
matt
e5555e5c26
Change struct ipqe to use TAILQ's instead of LIST's (primarily for TCP's
...
benefit currently). Rework tcp_reass code to optimize the 4 most likely causes
of out-of-order packets: first OoO pkt, next OoO pkt in seq, OoO pkt is part
of new chuck of OoO packets, and the OoO pkt fills the first hole. Add evcnts
to instrument tcp_reass (enabled by the options TCP_REASS_COUNTERS). This is
part 1/2 of tcp_reass changes.
2002-05-07 02:59:38 +00:00
lukem
119f33b8a8
install correct item with IMAGETAR_RELEASEDIR release target
2002-05-07 02:40:55 +00:00
uwe
2baa6f8e86
Drop SUN4_PGSHIFT and SUN4CM_PGSHIFT. They are already known to .S
...
files from sys/param.h. The problem is that lint stubs are generated
with -C (keep comments) and gcc complains about macro redefinition,
since "assym.h" doesn't have the comments that "sys/param.h" has.
2002-05-07 02:38:44 +00:00
enami
c4e1385f55
Fetch the right page from a file even if it is mapped from middle of it.
...
This makes `tail -<N> <FILE> | cat > file' correctly, where <FILE> is
a regular file larger than 10Mbytes (makes tail to map part of file)
and <N> is big enough to produce output larger than 8kbytes (makes pipe
to use page loan facility). Problem reported by FUKAUMI Naoki on japanese
local mailing list.
2002-05-07 02:29:52 +00:00
simonb
91a4b7da7f
Use "NOMAN=" instead of "MKMAN=no"; per lukem.
2002-05-07 02:13:51 +00:00
lukem
42f8815d89
Change -s srcdir and -d destdir so that they don't contain the "/etc" portion.
...
srcdir now defaults to /usr/src (from /usr/src/etc).
destdir now defaults to / (from /etc).
2002-05-07 02:11:07 +00:00
eeh
25dfe267a1
Don't add -DBIGPIC to APICFLAGS.
2002-05-07 02:06:32 +00:00
simonb
79cc6dcb79
Remove a "NOMAN="; Makefile.booters now has MKMAN=no.
2002-05-07 02:04:26 +00:00
lukem
3bf21f2fec
Use "r+" instead of "r+w", since the latter is not standard.
...
Noted by <Steve.McClellan@radisys.com> in private email.
2002-05-07 02:04:09 +00:00
simonb
67c33ffcda
Remove two shadowed variables, one of which was set to what it was
...
shadowing(!) and the other a temporary variable (as was it's shadow).
Code generated with "gcc -O2" is the same before and after.
2002-05-07 02:02:41 +00:00
uwe
c38dba996a
lint target depends on ${LINTSTUBS}, not on (nonexistent) ${KERNLINTSTUBS}.
2002-05-07 02:00:17 +00:00
eeh
90c1726789
Turn on 32-bit relocations for sparc64 PIC code.
2002-05-07 01:45:45 +00:00
eeh
22abdf821b
Use large (-fPIC) relocations.
2002-05-07 01:34:21 +00:00
eeh
b92211c580
Go back from using %g2 (an application register) to %g7 (a system register)
...
for syscall returns.
2002-05-07 01:32:46 +00:00
eeh
1d63620b87
Add support for large -fPIC relocations.
2002-05-07 01:31:33 +00:00
uwe
8107633e20
bus space methods should be "static __inline__", not "extern __inline__".
...
Otherwise an unoptimized kernel cannot be linked. Reviewed by pk.
2002-05-07 00:37:47 +00:00
nathanw
004890f326
cat the tc.shl setlist, instead of trying to run it.
2002-05-06 23:38:47 +00:00
lukem
1b44564120
sparc now has a back-end
2002-05-06 23:18:20 +00:00
eeh
2a4ecb6335
Add a flag for ofpci to let psycho chose between pci and ofpci.
2002-05-06 22:41:10 +00:00
eeh
d87653c0d2
Switch to ofpci.
2002-05-06 22:34:40 +00:00
eeh
91c28a3626
Add code to attach ofpci.
2002-05-06 22:29:22 +00:00
chris
c419c08421
Regenerate for Netgear FA411.
2002-05-06 22:28:18 +00:00
chris
b72d0938bb
Add in Netgear FA411.
2002-05-06 22:26:48 +00:00
eeh
ba4db702d5
Recognize `ofpci' as a PCI bus.
2002-05-06 22:20:57 +00:00
eeh
19fcb9e555
Fix printing during attach and get rid of pci_cd that's provided by the linker.
2002-05-06 22:20:07 +00:00
eeh
24954ac8ae
Add ofpci_make_tag().
2002-05-06 22:18:51 +00:00
eeh
2ec18b07b9
Provide pci_cd if needed.
2002-05-06 22:12:43 +00:00
eeh
822aeae880
Note ofpci and ofppb.
2002-05-06 22:11:50 +00:00
jdolecek
05d0665f1c
rename memory_disc_size to md_root_size, so that kernels without
...
MEMORY_DISK_ROOT_SIZE option link
also make local md_root_size size_t
XXX is the load_memory_disc_from_floppy() stuff actually still being used?
2002-05-06 21:18:25 +00:00
thorpej
177f0931bd
Don't bother testing if a u_short is > 0xffff -- that test is always false.
2002-05-06 20:14:36 +00:00
eeh
1805506872
Add ofpci and ofppb.
2002-05-06 19:48:05 +00:00
eeh
e60dcd0a0b
Add ofppb to match ofpci.
2002-05-06 19:40:20 +00:00
eeh
509fa464af
Add the ofpci driver.
2002-05-06 19:39:51 +00:00
agc
6df6be6300
Make this compile on some of the more esoteric architectures.
2002-05-06 19:37:51 +00:00
eeh
5d47d866f7
Only put interrupts into the list for that interrupt level if the handler
...
is not shared. Otherwise put the shared interrupt dispatcher in the list.
2002-05-06 19:19:48 +00:00
bjh21
251de84ccc
Consistently declare the types of float_rounding_mode and float_exception_flags
...
as fp_rnd and fp_except respectively.
2002-05-06 19:05:00 +00:00