Doug Rabson
85d6f9f7d3
Add ia64_fc().
2001-09-21 10:09:27 +00:00
Michael Reifenberger
896de692f8
Make msgseg, msgssz (->msgmax) and msgmni TUNABLE.
2001-09-21 09:25:17 +00:00
Warner Losh
2d45d0504c
Fix, I think, The second slot problem with Cirrus Logic PD6729/30 parts:
...
o Move initialization of the slot bst and bsh to inside the for loop.
o move sc there as well.
o Remove debug printf that prints the ID of the first slot twice.
o Use the sp for the relevant slot in getb, rather than for the 0th slot.
2001-09-21 06:45:35 +00:00
Peter Wemm
9789c757b9
Add some comments about KVA_PAGES and a test.
2001-09-21 06:34:01 +00:00
Peter Wemm
f83fbaf22d
Introduce a new option, KVA_SPACE, which can be used to reconfigure
...
the size of the kernel virtual address space relatively painlessly.
Userland will adapt via the exported kernbase symbol. Increasing
this causes the user part of address space to reduce.
2001-09-21 06:23:03 +00:00
Jake Burkholder
53beacfa00
Add kernbase symbol and use it instead of magic numbers in the
...
linker script.
2001-09-21 05:43:38 +00:00
Peter Wemm
1114d18594
Add a pointer to kenv(1).
2001-09-21 02:25:53 +00:00
Jonathan Lemon
57ea1fa07f
Revert last commit. The same functionality can be obtained through the
...
'kenv' command, which I obviously was unaware of.
2001-09-21 02:09:01 +00:00
Robert Watson
94088977c9
o Rename u_cansee() to cr_cansee(), making the name more comprehensible
...
in the face of a rename of ucred to cred, and possibly generally.
Obtained from: TrustedBSD Project
2001-09-20 21:45:31 +00:00
Jonathan Lemon
e492f03505
Add a sysctl MIB 'kern.env', that dumps the contents of the kernel
...
environment from the loader, as well as the kernel's compiled in static
hints.
2001-09-20 20:09:37 +00:00
Doug Rabson
4ef1beb1ea
If two @fptr relocations refer to the same symbol, use the same fptr
...
structure to resolve them. This is necessary to allow code to compare
function pointers.
2001-09-20 16:32:54 +00:00
Doug Rabson
0fda7b2b10
Don't clear the single-step bit after a trap - leave it up to the
...
debugger. The code was broken anyway - it clear every bit *except* the
single-step bit (oops).
2001-09-20 16:30:48 +00:00
Doug Rabson
1e59a2270d
The second instruction in an MLX bundle is slot one, not slot two, even
...
though the actual opcode is stored in the value in slot two.
2001-09-20 16:29:30 +00:00
Mark Peek
d699b539c2
Add missing include file.
2001-09-20 15:32:56 +00:00
Mark Peek
3d88852a1e
Don't include NFS headers.
...
Reported by: dfr
2001-09-20 15:31:58 +00:00
Søren Schmidt
f601b4eb7c
Overhaul to minimize stack usage, in some places >2K was used
...
on the stack *blush*...
2001-09-20 15:25:36 +00:00
Doug Rabson
fea451577e
Tidy.
2001-09-20 15:03:28 +00:00
Luigi Rizzo
32f967a3c0
A bunch of minor changes to the code (see below) for readability, code size
...
and speed. No new functionality added (yet) apart from a bugfix.
MFC will occur in due time and probably in stages.
BUGFIX: fix a problem in old code which prevented reallocation of
the hash table for dynamic rules (there is a PR on this).
OTHER CHANGES: minor changes to the internal struct for static and dynamic rules.
Requires rebuild of ipfw binary.
Add comments to show how data structures are linked together.
(It probably makes no sense to keep the chain pointers separate
from actual rule descriptors. They will be hopefully merged soon.
keep a (sysctl-readable) counter for the number of static rules,
to speed up IP_FW_GET operations
initial support for a "grace time" for expired connections, so we
can set timeouts for closing connections to much shorter times.
merge zero_entry() and resetlog_entry(), they use basically the
same code.
clean up and reduce replication of code for removing rules,
both for readability and code size.
introduce a separate lifetime for dynamic UDP rules.
fix a problem in old code which prevented reallocation of
the hash table for dynamic rules (PR ...)
restructure dynamic rule descriptors
introduce some local variables to avoid multiple dereferencing of
pointer chains (reduces code size and hopefully increases speed).
2001-09-20 13:52:49 +00:00
Doug Rabson
3890444abd
Don't include NFS headers. I have no idea why they were here in the first
...
place - NFS has no assembler in it.
2001-09-20 11:02:18 +00:00
Peter Wemm
79d8adaf4e
Use the kernbase symbol exported from locore.o instead of hardcoded magic
...
numbers.
2001-09-20 09:19:38 +00:00
Peter Wemm
02e0a4faed
Export kernbase like on the i386. I dont think the alpha kernel is
...
movable like on the x86, but this gets things in sync and reduces
the need for special cases in things like ps and libkvm etc.
2001-09-20 09:09:03 +00:00
Ruslan Ermilov
dadb6c3bb0
Use the current process's credentials rather than socket's cached.
...
If the process drops its super-user privileges, we certainly don't
want to allow it to modify routing tables.
Discussed with: rwatson
2001-09-20 08:25:25 +00:00
Doug Rabson
68176c8544
Add definition of SSC_GET_RTC.
2001-09-20 08:22:56 +00:00
Munechika SUMIKAWA
55e89be995
Removed a wrong comment.
...
Obtained from: KAME
MFC after: 1 week
2001-09-20 08:04:21 +00:00
Munechika SUMIKAWA
862e52ea61
Fixed comment: ipip_input -> mroute_encapcheck.
...
Reported by: bde
2001-09-20 07:59:45 +00:00
Peter Wemm
fbd7a9dd97
decrement the dumping variable after use so we can call it several times
...
if needed.
2001-09-20 06:08:53 +00:00
Peter Wemm
b3ef232c6f
Add nfs_lock.c to the build list. *blush*
2001-09-20 05:32:34 +00:00
Peter Wemm
9353fd809d
Finish KSE-ification updates.
2001-09-20 05:15:04 +00:00
Peter Wemm
987f5fca86
Wrap a module around the init code so that we have somethign do do a
...
modfind(2) on, and declare a version so that loader/kldload etc
can locate it (using kldxref's linker.hints file if needed).
2001-09-20 05:13:43 +00:00
Coleman Kane
57110f7604
Add probe line for the AMD 761 northbridge chip. At least it detects now,
...
seems to set up memory spaces correctly. This change actually did work for
me using -STABLE, XFree86 4.0.3 ~ some snapshot of DRI awhile back. I sent
mail to dfr to no avail, perhaps someone else would like to test it with
DRI.
Anyway, people have been nagging me about this change for awhile, so here's
the commit.
2001-09-20 05:13:12 +00:00
Peter Wemm
66678c9cad
Regenerate. This seems to have been missed in the last commit.
2001-09-20 05:01:08 +00:00
Peter Wemm
d55d47aded
Add the magic marker so that loader and kldload(2) can find this in
...
module form automagically.
2001-09-20 04:57:34 +00:00
Peter Wemm
1b7624d47b
Pass 1: update for KSE and NFS changes. Somehow this got missed.
...
osf1_mount.c isn't complete yet.
2001-09-20 04:56:42 +00:00
Peter Wemm
a83ddba96f
Make this compile again. I would have sworn that I did this already in
...
the KSE tree and thought it had been merged.
2001-09-20 04:55:06 +00:00
Peter Wemm
247c65c27f
Oops. Fix a missing indirection level. gcc didn't complain about it on
...
x86, but did complain about it on alpha (since int and pointer are
different sizes)
2001-09-20 03:45:51 +00:00
Peter Wemm
55f25b39e9
Replicate a change from alpha/genassym.c to other arches. This should
...
fix nfs-related build breakage.
2001-09-20 02:49:59 +00:00
Peter Wemm
84eecb0c87
Make alpha/genassym.c compile again. *oops*
2001-09-20 02:48:03 +00:00
Peter Wemm
3cd72ab407
I forgot to rm the nfs module directory.
...
Submitted by: mux@qualys.com
2001-09-20 01:11:18 +00:00
Mark Peek
06fdffd84d
Use BATL/BATU macros instead of hardcoded hex constants.
2001-09-20 00:48:30 +00:00
Mark Peek
5fd2c51edb
Update PowerPC MD code to compile and do initial bootstrap based on
...
recent changes (KSE and VM requiring physmem to be setup).
Reviewed by: benno, jhb, julian
2001-09-20 00:47:17 +00:00
John Baldwin
a44f918bf9
Fix a bug in propagate priority: the kse group pointer wasn't being
...
updated in the loop so the new thread always seemd to have the same
priority as the original thread and no actual priorities were changed.
2001-09-19 22:52:59 +00:00
Bill Paul
8ce3678a09
Handle the RX FIFO overflow condition with the rxeof handler instead
...
of the rxeoc handler for now. The rxeoc handler will reset the link,
and the NatSemi chip's RX FIFO will overflow on a 32-bit bus once you
start hitting it with 500Mbps or more of traffic.
Also increase the size of the RX ring to 128 descriptors (was 64).
2001-09-19 21:39:26 +00:00
Jeroen Ruigrok van der Werven
2622bf6fe4
Solve our braindead sourcetree dependency on GCC in another way.
...
Discussed with: bde
2001-09-19 17:51:23 +00:00
Robert Watson
288b789333
o Clarification of securelevel_{ge,gt} comment.
...
Submitted by: dd
2001-09-19 14:09:13 +00:00
Maxim Sobolev
962cf4203d
Fix abuse of vtagtype. In addition, after this the linux programs will be
...
able correctly distinguish ext2fs from the ufs filesystem (previously ext2fs
was indistinguishable from the ufs).
Reviewed by: phk, marcel
2001-09-19 12:35:51 +00:00
Doug Rabson
447a0851af
Implement time().
2001-09-19 12:12:12 +00:00
Peter Wemm
e5a860ebb4
Reserve an extra 16 bytes in case we have to grow the trapframe into
...
a vm86trapframe for switching to vm86 [unlikely] while exiting.
I lost this when doing the pcb move that went in with the KSE commit.
Reviewed by: jake
2001-09-19 05:44:12 +00:00
Peter Wemm
2f01a0c097
Fix a mistake I made with the pcb movement relative to the stack in the
...
KSE patch. We need to leave the 16 bytes here for enabling the trapframe
to be converted to a vm86trapframe if we're switching *to* a vm86 context.
2001-09-19 05:34:12 +00:00
Peter Wemm
66f769fe39
Add missing ; in last commit
...
Pointy-hat-to: jhb
2001-09-19 02:53:59 +00:00
Scott Long
ba3b337964
Add a quirk entry for the Sony CLIE memory stick device. This will become
...
useful once ATAPI support is turned on in the umass driver.
2001-09-19 00:35:09 +00:00