ragge
c556165f92
Do not try to enter more than MAX_INT16 symbols into the patricia tree;
...
the not-entered symbols will be found anyway but via a linear-search.
This only happens if something is wrong when linking the kernel.
Fixes problems reported on port-hp700.
2003-11-06 18:22:01 +00:00
kleink
9acc1a6c3b
Have the linker discard local labels' symbols.
2003-11-06 18:19:32 +00:00
yamt
8b91732e18
fix wrong assertions.
...
they can be false due to alignment requiments (and PMAP_PREFER).
2003-11-06 12:45:26 +00:00
dsl
aed7f069e5
Ensure that the controlling tty is unlinked from the session and pgrp.
...
Due to the way the console is handled, neither the revoke() nor vrele()
is guaranteed to be seen by the real, underlying tty.
2003-11-06 09:30:13 +00:00
dsl
96e2f904d9
Remove a pile of redundant (caddr_t) casts.
2003-11-06 09:16:22 +00:00
dsl
618165063e
When closing a process's controlling terminal, also remove the links
...
to the session and pgrp from the tty. The way that the console is
handled means that the vrele() may not actually do the final close
on the tty itself.
2003-11-06 08:58:04 +00:00
he
1995f8d682
Replace an overlooked instance of p->p_nras with LIST_EMPTY(&p->p_raslist).
2003-11-06 08:49:13 +00:00
jdolecek
a10e06c83e
force -Wno-uninitialized if the compiler is gcc 2.95
2003-11-06 08:23:22 +00:00
mycroft
2ef56c13e8
Force the codec into a known state before trying to determine its speed.
2003-11-06 07:13:33 +00:00
martti
c5a31d5210
Set ${MACHINE} and ${MACHINE_ARCH}.
2003-11-06 07:09:40 +00:00
itojun
9a941e2d01
handle KAME scopeid hack for multicast addr. Matthias Drochner
2003-11-06 06:11:48 +00:00
itojun
ae3e6f6041
correct behavior when ipv6mr_interface is 0. Matthias Drochner
2003-11-06 06:10:51 +00:00
simonb
f3bced434d
Try using matching numbers of open and close parentheses to make this
...
compile again.
2003-11-06 04:17:11 +00:00
christos
e0406466be
This is the last part of siginfo support for pc532. Simon will make this
...
work.
2003-11-06 02:46:44 +00:00
christos
368d3f3d0e
siginfo trampoline addition. This is not used until simon verifies that it
...
works.
2003-11-06 02:28:00 +00:00
christos
e9b24cbc3d
make this compile again
2003-11-06 02:25:07 +00:00
christos
16eaa4c6a9
pc532 passes everything on the stack like the i386...
2003-11-06 00:58:17 +00:00
simonb
43621cbb3a
Add kernel portion of siginfo for ns32k.
...
Much thanks to Christos Zoulas for doing this.
2003-11-06 00:41:20 +00:00
simonb
f2706af267
Add COMPAT_16.
2003-11-06 00:38:36 +00:00
he
842be31a16
Document some of the recent "compile fixes for -Wuninitialized" for
...
the vax port, to be reviewed when gcc 3.3.2 for vax is ready.
2003-11-06 00:37:14 +00:00
he
69c90d9f70
Initialize 'p' to NULL, to work around that the compiler otherwise
...
can't know that 'p' is initialized before it's being used.
Reviewed by ragge.
2003-11-06 00:35:23 +00:00
he
4a1426d85c
Pull up the initialization of 'minnex', so that the compiler can know
...
that it's going to be set before it's used.
2003-11-06 00:33:36 +00:00
he
11f834a44a
Add a default: branch with a panic() to the switch statement to
...
handle "impossible" segment types, so that the compiler can know
that 'pt' has been initialized after the switch statement.
2003-11-06 00:32:27 +00:00
he
93d88e5e12
Work around gcc 2.95.3's inability to detect that 'ck' will be set
...
in rounds 129 and 130 through the loop. Will be noted in doc/HACKS,
and should be reviewed when gcc 3.3.2 is ready for vax.
2003-11-06 00:30:13 +00:00
he
505125808c
Work around gcc 2.95.3's inability to detect that "ret" is initialized.
...
Will be documented in doc/HACKS, and should be looked at again when
gcc 3.3.2 for vax is ready.
2003-11-06 00:25:50 +00:00
simonb
00ea35b3b3
Fix gcc332 uninitialised bogon.
2003-11-05 23:39:21 +00:00
fvdl
0be1698412
Fix byteswapping a direntry. From Wolfgang Solfrank.
2003-11-05 22:27:16 +00:00
scw
f77bf2bb0c
Enable/Restore alignment fault state on interrupt handler entry/exit.
2003-11-05 21:10:59 +00:00
fvdl
aad37eaff6
Apparently, Dell PERC 4/Di controllers can have two memory BARs, with the
...
second one empty. The previous revision made it pick the empty one.
Reinstate the BAR size check.
2003-11-05 16:03:27 +00:00
yamt
4a570157d7
add a missing pmap_update().
2003-11-05 15:45:54 +00:00
yamt
b479cef701
don't move hint backward.
2003-11-05 15:34:50 +00:00
yamt
171053e863
- fix a reversed comparison.
...
- fix "nextgap" case.
- make sure don't get addresses behind hint.
- deal with integer wraparounds better.
- assertions.
2003-11-05 15:09:09 +00:00
fvdl
664bce39ae
Remove extraneous (
2003-11-05 13:58:00 +00:00
fvdl
51c222e5a2
Add igphy.
2003-11-05 13:51:29 +00:00
kleink
c1a19161a9
From Ragge's wishlist: rename infinity -> huge_val.
2003-11-05 13:46:51 +00:00
scw
aee833c0ee
Add "options ARM32_DISABLE_ALIGNMENT_FAULTS" to forcibly disable
...
alignment fault checking if necessary.
This option gets the acorn32 port working again.
XXX: Richard Earnshaw suggested enabling alignment faults for
XXX: userland only on acorn32. Need to investigate this.
2003-11-05 12:53:15 +00:00
scw
754f153b0d
Use the alignment fault enable/restore macroes in irq_entry.
2003-11-05 12:03:58 +00:00
kivinen
c3d5c66357
Removed ./usr/share/man/cat1/grohtml.0 and
...
./usr/share/man/man1/grohtml.1 from the obsolete list,
as they are now again installed.
2003-11-05 10:54:13 +00:00
hannken
2ef662a69e
Clean up the usage of vn_start_write(). At least one occurence clobbered
...
previous error conditions.
If "(flags & (V_WAIT|V_PCATCH)) == V_WAIT" the return value is always zero.
Ignore the return value in these cases.
From Darrin B. Jewell.
2003-11-05 10:18:38 +00:00
scw
ca8c391c95
s/bcopy/memmove/
...
The kernel's bcopy (actually a wrapper around memcpy) is not guaranteed to
handle overlapping regions, even though the old ARM version did.
This fixes a problem where the kernel reported more available memory
than actually existed.
2003-11-05 10:09:10 +00:00
wiz
17ecf67f9f
Add {cat,html,man}4/hpcsh.
2003-11-05 08:23:44 +00:00
wiz
eb0fcf4886
Add html4/hpcsh.
2003-11-05 08:22:16 +00:00
wiz
4a9f67d01b
Various fixes.
2003-11-05 08:21:32 +00:00
tron
0ad4493632
Update comment for wm(4) attachment because the driver supports more
...
than the Intel 82543 and 82544.
2003-11-05 07:51:12 +00:00
skrll
ad376176f9
Switch ARM to gdb 5.3.
...
XXX 26bit support isn't there at the moment.
2003-11-05 07:14:31 +00:00
junyoung
dfb82ca484
rindex() shouldn't be used in the kernel. Use strrchr() instead.
2003-11-05 05:46:32 +00:00
mycroft
06eb56a853
So, on other platforms we use the BOOTP/DHCP file name for the boot program
...
and use a default file name of "netbsd" for the kernel. Do the same thing
here, as it hardly makes sense any other way.
2003-11-05 04:18:26 +00:00
christos
82812c7677
remove malloc.h (we don't need it)
2003-11-05 04:03:43 +00:00
christos
293ab5b508
limit malloc so that corrupted executables don't allocate a lot of memory.
2003-11-05 04:03:21 +00:00
uwe
81468ece49
Register definitions for SH7709 DAC.
2003-11-05 03:08:13 +00:00