Doug Rabson
7d5af294dc
Add the two sections used for PLT entries to the text and sdata sections
...
respectively. This makes IPLTLSB relocations work properly (these are
generated for weak symbols, particularly for _longjmp).
2001-10-25 08:50:14 +00:00
Ruslan Ermilov
c2ff9625d0
Simplify.
2001-10-25 08:50:06 +00:00
Ruslan Ermilov
bd1a63798a
The directory of the makefile that's including the file is tried first.
...
See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.
2001-10-25 08:37:12 +00:00
Maxim Sobolev
f4dfe934d1
Make `-b' option actually work as advertised.
2001-10-25 07:56:20 +00:00
Ruslan Ermilov
907d70d6de
Sort SUBDIR.
2001-10-25 07:55:43 +00:00
Ruslan Ermilov
444ff633bf
Fix cross-building further.
...
Introduce ${TARGET} defaulting to ${MACHINE} which should be set to
whatever your target ${MACHINE} is, and use that with world-related
stages. That is, to build pc98 on alpha, one now needs to set both
TARGET_ARCH=i386 and TARGET=pc98.
The scope of ${TARGET} is limited to Makefile.inc1 and cross-tools.
In particular, this change was tested to fix:
1. Cross building of "alpha" on i386. The breakage was introduced
by rev. 1.10 to sbin/i386/Makefile (missing <machine/cronyx.h>).
2. Descending into machine-specific subdirs for a different arch.
Previously, sbin/i386 and usr.sbin/boot0cfg were descended into
when cross-building "alpha" or pc98 on i386.
3. Fixes pc98 cross-building which was horribly broken, caused by
not setting MACHINE correctly (most ${MACHINE} == pc98 checking
Makefiles put -DPC98 to CFLAGS).
2001-10-25 07:28:55 +00:00
Jonathan Lemon
0751407193
Don't use the ip_timestamp structure to access timestamp options, as the
...
compiler may cause an unaligned access to be generated in some cases.
PR: 30982
2001-10-25 06:27:51 +00:00
Jonathan Lemon
ec691a10e6
If we are bridging, fall back to using any inet address in the system,
...
irrespective of receive interface, as a last resort.
Submitted by: ru
2001-10-25 06:14:21 +00:00
Jonathan Lemon
807b8338ba
Relocate the KASSERT for a null recvif to a location where it will
...
actually do some good.
Pointed out by: ru
2001-10-25 05:56:30 +00:00
Jonathan Lemon
06279b5357
Mdoc fixes and clarification.
...
Submitted by: sheldonh
2001-10-25 05:53:11 +00:00
Jonathan Lemon
cce33f59e8
Document the link0 option, which downloads the microcode to the board.
2001-10-25 05:49:23 +00:00
Jonathan Lemon
72a32a26aa
Add support for loadable microcode which implements interrupt coalescing
...
and packet bundling. Make the microcode settings controllable via sysctl
and loader tunables.
Submitted by: Marko Zec <zec@tel.fer.hr>
(with some munging and dynamic sysctl support by me)
Also extend the workaround for Dynamic Standby mode to later '559 chips,
not just the ICH2 variants.
2001-10-25 05:32:01 +00:00
Jonathan Lemon
9a7a8c90d1
. Add structure elements for sysctl.
...
. Document default values for microcode
2001-10-25 05:27:25 +00:00
Jonathan Lemon
3ceb25205d
. Add structure definition for microcode download.
...
Submitted by: Marko Zec <zec@tel.fer.hr>
. Add some PCI chip revision entries.
. Make size of txcb dependent on pointer size rather than arch #define
2001-10-25 05:25:58 +00:00
Jonathan Lemon
b4c45df0a7
Add Intel's loadable microcode to implement receive side bundling.
...
This is taken verbatim from the Intel's e100-1.6.22 release, with
the addition of their LICENSE file at the top.
Submitted by: Marko Zec <zec@tel.fer.hr>
2001-10-25 05:23:31 +00:00
Jonathan Lemon
18bfd58110
cnclose() can potentially race against itself. To avoid vn_close() races,
...
NULL-out cnd_vp before calling the latter, as it may block.
Submitted by: dillon
2001-10-25 04:51:37 +00:00
Jonathan Lemon
ae4da68827
Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.
...
Submitted by: Andrew R. Reiter arr@watson.org
2001-10-25 04:44:50 +00:00
Archie Cobbs
0fb56449d6
Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token
...
value could be returned when the debug level was non-zero.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 5 days
2001-10-25 04:02:25 +00:00
Andrey A. Chernov
92277380c8
Re-commit www:www
...
If anybody wants to remove them for some reason, please consider "pop"
removing first.
Approved by: arch discussion from Oct 20
MFC after: 3 days
2001-10-25 03:27:16 +00:00
Garrett Wollman
6811ccc9b3
Resume deorbit burn sequence for <malloc.h>. Inspection of my make logs
...
reveals no programs in the standard build which hit the previous warning
message. This change will NOT be merged to 4-stable.
2001-10-25 02:35:29 +00:00
Robert Watson
f8bf16fc88
o Remove extern showallsockets, defunct as of the change to
...
kern.security.seeotheruids_permitted. This was missed in the
commit that made this change elsewhere.
2001-10-25 02:03:37 +00:00
Luigi Rizzo
c5ca4c7e6e
Backout 1.61 -- both intrcnt and intrnames are already exported
...
via sysctl under "hw".
2001-10-25 01:32:24 +00:00
Peter Wemm
9d91d74d2b
Change #include "DEFS.h" to <machine/asm.h>.
2001-10-25 01:30:54 +00:00
Luigi Rizzo
f36f7f8005
Use the correct sysctl names for intrcnt and intrnames.
2001-10-25 01:29:21 +00:00
John Baldwin
24db04598b
Split the per-process Local Descriptor Table out of the PCB and into
...
struct mdproc.
Submitted by: Andrew R. Reiter <arr@watson.org>
Silence on: -current
2001-10-25 00:53:43 +00:00
Jonathan Lemon
7ce26133ea
Force FWRITE on when opening the console, so that the flags passed to
...
vn_close match those from vn_open. This fixes the panic some people
were seeing about "vrele: missed vn_close".
2001-10-25 00:14:16 +00:00
Greg Lehey
999ee3ac48
Update Labour Day in New Zealand. It's definitely not today. This
...
year it was on 22 October, which makes me think that it's the 4th
Monday in October. At least this way it's correct for this year.
2001-10-25 00:01:06 +00:00
Julian Elischer
5a2553fa1d
re-undo rev 1.78 now that style(9) is sane in this regard,
...
(make struct {proc,thread,kse,ksgrp} readable again.)
2001-10-24 23:40:59 +00:00
Julian Elischer
79596dc40f
Merge in BSDisms. Slight rewordings in some cases.
...
Submitted by: bde@freebsd.org
Reviewed by: jhb@freebsd.org
2001-10-24 22:57:39 +00:00
John Baldwin
882bcf5879
Document the requirements and nature of the logical CPU IDs. It isn't
...
very strict and leaves much up to the platform so that it can define a
convenient mapping.
Requested by: mjacob
2001-10-24 22:15:38 +00:00
John Baldwin
02185af5a9
Change the module name from 'snd_sonicvibes' to 'snd_vibes' as that is
...
the filename (thus the "old" module name) and the name used by
snd_driver.ko.
2001-10-24 21:44:07 +00:00
John Baldwin
579f17a038
Change module name from 'snd_als' to 'snd_als4000' to match name in
...
snd_driver.ko.
2001-10-24 21:42:06 +00:00
John Baldwin
0ff24d06f7
Change the module name from 'via' to 'snd_via82c686' to match the KLD
...
filename and in snd_driver.ko.
2001-10-24 21:38:08 +00:00
John Baldwin
ee1fbec1bf
Change the module name from 'snd_cmipci' to 'snd_cmi' to match the
...
filename, module name in the loader, the dependency in snd_driver.ko, and
to be consistent with other sound drivers.
2001-10-24 21:35:31 +00:00
Doug Rabson
04c2a8f6be
* Clear the TLB on boot.
...
* If a pte for a location given to pmap_enter_quick is valid, just give
up - don't panic, even if the mapping is different.
2001-10-24 21:22:08 +00:00
Doug Rabson
45740e15b4
If we get an unhandled page fault in kernel mode, either panic (if
...
pcb_onfault is not set) or arrange to restart at the location in
pcb_onfault.
This ought to help the stability of a system under moderate load. It
certainly stops DDB from hanging the kernel when it tries to access a
non-present page.
2001-10-24 21:20:50 +00:00
Peter Wemm
e6d808aee3
De-orbit DEFS.h - the other arches do not use it, and it got replaced
...
with <machine/asm.h>.
Reviewed by: bde
2001-10-24 20:29:14 +00:00
Doug Rabson
88f5f7ac50
Try to get the self-relocator to work with IPLTLSB relocations. Doesn't
...
work right though - I can't figure out why.
2001-10-24 20:14:49 +00:00
Matt Jacob
888ef2d923
Unbreak alpha builds.
2001-10-24 18:45:35 +00:00
Matthew Dillon
a06fe5111e
unwind v_writecount in fhopen() if we are unable to allocate the
...
descriptor.
MFC after: 3 days
2001-10-24 18:32:17 +00:00
Jonathan Lemon
553b79aa63
cn_tab no longer exists, use cnadd() to add a console device. Note that
...
this may result in duplicate console output in some cases.
2001-10-24 18:30:05 +00:00
Dag-Erling Smørgrav
27c97f7660
Don't enable write cacheing on devices that don't support tagged queuing
...
unless hw.ata.wc is set.
Approved by: sos
MFC after: 1 week
2001-10-24 18:24:09 +00:00
Jeroen Ruigrok van der Werven
62b151c324
Document C99 conformity.
...
Update text which is printed out to reflect reality.
2001-10-24 18:14:51 +00:00
Jeroen Ruigrok van der Werven
d4c54c0c46
Add __FBSDID.
...
Change __assert() function to print failing function name.
This makes us C99 conforming.
2001-10-24 18:12:43 +00:00
Jeroen Ruigrok van der Werven
6cefb54a32
Add __FBSDID.
...
Change __assert() function to print failing function name.
#if 0 the sccsid block.
This makes us C99 conforming.
2001-10-24 18:12:18 +00:00
Jeroen Ruigrok van der Werven
8c825c1afd
Add $FreeBSD$.
...
Change assert() macro to print failing function name.
Change K&R function prototype wrapper to ANSI prototype.
This makes us C99 conforming.
2001-10-24 18:10:37 +00:00
Jonathan Lemon
b792b54c89
Remove call to cninit_finish().
2001-10-24 17:42:01 +00:00
John Baldwin
c5ca5a55a1
- Clean up the comments slightly here to make them more readable.
...
- Set the type and trapframe number for the F00F workaround since type
can be used later by sv_transtrap(). Debuggers might also want to look
at the type in the trapframe.
Submitted by: bde (mostly)
2001-10-24 17:38:40 +00:00
Andrey A. Chernov
e41febc84b
Help to recover from bad seek (i.e. negative or too big) happens beyond
...
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.
2001-10-24 17:25:49 +00:00
Hajimu UMEMOTO
a55dfa2ac1
Make apm a module.
...
We need further work to be able to specify an equivalence of `flags 0x20'.
Many PCs should work for now. But, some PCs need `flags 0x20'.
2001-10-24 16:53:54 +00:00