John Baldwin
ad278afdf0
Change the first argument of prison_xinpcb() to be a thread pointer instead
...
of a proc pointer so that prison_xinpcb() can use td_ucred.
2002-04-09 20:04:10 +00:00
John Baldwin
9b28af9165
Whitespace changes to wrap long lines.
2002-04-09 20:01:16 +00:00
John Baldwin
6dc958b9ff
We don't need Giant to read the pgrp ID since the proc lock has protected
...
p_pgrp since the pgrp locking went in. We also don't need it to check for
invalid values in the options argument to wait1(), so push Giant down
slightly.
2002-04-09 20:00:40 +00:00
John Baldwin
16e7bc7b90
- Remove an early KSE diagnostic panic. The thread pointer here is always
...
curthread.
- We don't need Giant to do suser() checks now, so don't lock Giant until
after the check.
2002-04-09 19:58:38 +00:00
John Baldwin
7f5092f330
Round 2 of munging the MI/MD split in NOTES. Put almost all the device
...
drivers with MI portions into the MI notes. Device drivers such as busses
like the isa, eisa, and pci devices are now in the MD NOTES section even
though they have some MI code. This will ensure that only the proper bits
of device drivers will be included due to the optional bits dependent on
the busses in sys/conf/files. This commit also takes the stance that since
hints are ignored in NOTES anyways, it is ok to include hints for a bus
that may not be present.
Advice from: bde
2002-04-09 18:26:58 +00:00
Mike Silbersack
c3b2fe55ba
Update comments to reflect the recent ephemeral port range
...
change.
Noticed by: ru
MFC After: 1 day
2002-04-09 18:01:26 +00:00
Daniel C. Sobral
be88b71603
Upgrade to FICL version 3.02. Anything wrong is my fault, everything right is
...
due Jon Mini.
PR: 36308
Submitted by: Jon Mini <mini@haikugeek.com>
MFC after: 4 weeks
2002-04-09 17:45:28 +00:00
John Baldwin
2b60cfc5ce
Don't lock the ithread lock in ithread_create(). The ithread isn't on any
...
lists or in any tables yet so there are no other references to it, thus
we don't need to lock it.
2002-04-09 16:26:37 +00:00
Poul-Henning Kamp
1bdb20a68e
Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start
...
of the device magic stuff might occupy.
Sponsored by: DARPA & NAI Labs.
2002-04-09 15:43:32 +00:00
Poul-Henning Kamp
c7b1a1d1c3
Various stylistic nit picking.
...
Sponsored by: DARPA & NAI Labs.
2002-04-09 15:17:59 +00:00
Poul-Henning Kamp
a4ef1c5f92
Introduce the convenience function g_getattr() and make it DWIM.
...
Sponsored by: DARPA & NAI Labs.
2002-04-09 15:13:42 +00:00
Poul-Henning Kamp
0d3f37a804
Constifixation of attribute argument to g_io_[gs]etattr()
...
Sponsored by: DARPA & NAI Labs
2002-04-09 15:12:05 +00:00
Poul-Henning Kamp
e2a685488d
Describe the generic disk ioctls in some detail.
...
Sponsored by: DARPA & NAI Labs
2002-04-09 15:09:54 +00:00
Poul-Henning Kamp
85b16a0d1a
Constifixion of bio_attribute.
2002-04-09 14:03:02 +00:00
Josef Karthauser
242fcd8d18
Slight tidy up to reduce the differences between our version and NetBSD's.
...
(No functional changes).
2002-04-09 12:55:46 +00:00
Poul-Henning Kamp
2ce7d7a033
GC various bits and pieces of USERCONFIG from all over the place.
2002-04-09 11:18:46 +00:00
Poul-Henning Kamp
1aec374128
machine/uc_device.h was only here for USERCONFIG and kget(1).
...
We have neither anymore.
2002-04-09 11:04:42 +00:00
Poul-Henning Kamp
7f086a0852
Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking
...
is a "set" not a "get" operation.
Sponsored by: DARPA & NAI Labs.
2002-04-09 10:04:09 +00:00
Doug Rabson
63fe680462
Define a complete set of accessors for application and control registers.
2002-04-09 09:03:30 +00:00
Doug Rabson
2d1fae48d5
Don't call make_dev from ssccnattach - its far too early to work properly.
2002-04-09 08:53:57 +00:00
David E. O'Brien
4961d6f99c
Back out rev 1.11. People want a FUBARed prototype that breaks many
...
things.
2002-04-09 05:17:44 +00:00
Jeff Roberson
a59f8b9e6c
Turn #ifdef LOOKUP_SHARED into #ifndef LOOKUP_EXCLUSIVE to enable this
...
behavior by default. Also, change the options line to reflect this.
If there are no problems reported this will become the only behavior and the
knob will be removed in a month or so.
Demanded by: obrien
2002-04-09 05:14:17 +00:00
David E. O'Brien
1de038230a
Back out revision 1.11 which wrapped the ioctl prototype w/()'s.
...
While it may have allowed the XFree86 4 port to build; it killed TONS
of other ports. The XFree86 4 can be patched to not use its macro a lot
easier than figuring how to deal with 1000 other now-broken ports.
2002-04-09 02:22:13 +00:00
Jake Burkholder
22d67801e6
Forgot these files in previous commit to frame.h. Also add needed include
...
of machine/emul.h.
2002-04-09 01:43:07 +00:00
Jake Burkholder
d134a05e90
Oops. machine/emul.h didn't exist yet.
2002-04-09 01:42:19 +00:00
Jake Burkholder
82436f1067
Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,
...
and add some compatibility defines. Add fields for ins and locals to
struct reg also for the same reason; these aren't filled in yet because
getting at those registers sucks and I'd rather not save them in the
trapframe just for this. Reorder struct reg to be ABI compatible as
well. Add needed include of machine/emul.h.
This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it
doesn't work yet :(
2002-04-09 00:57:23 +00:00
Jake Burkholder
530faa0f9e
Add device se (commented out, most people won't find this useful yet).
2002-04-09 00:37:33 +00:00
Jake Burkholder
7c53bb3492
Use the right major number.
2002-04-09 00:35:26 +00:00
Jake Burkholder
24d1f113ab
Grab a major number for the se driver.
2002-04-09 00:34:18 +00:00
Jake Burkholder
b1377f8959
Add the se driver.
2002-04-09 00:30:43 +00:00
Jake Burkholder
48af45c161
Add a low level console driver for the Siemens SAB82532 chip found in many
...
newer ultras and probably other sun machines. This is a pretty decent
chip with 32 byte read and write fifos and support for many higher baud
rates. It supports hdlc and sdlc as well as asynchronoue serial, but the
goal here is just decent serial console support for the sparc64 port, so
these modes are not expected to be supported. So far this only has support
for the low level routines used by kernel printf and thus ddb over serial,
a character device which can be used for login consoles has not yet been
written.
2002-04-09 00:24:20 +00:00
Jake Burkholder
bb75d97e13
Fix another unsigned long used to index the symbol table which should be
...
Elf_Hashelt.
2002-04-09 00:05:46 +00:00
Jake Burkholder
16b7e738de
Enable device pass.
2002-04-08 23:21:31 +00:00
Maxime Henrion
a48ca36999
The fourth parameter to copystr() is a size_t, not an int.
...
Approved by: peter
2002-04-08 21:14:19 +00:00
Jeff Roberson
1d4cb54ba8
Quiet witness warnings about acquiring several zone locks. In the case that
...
this happens it is OK.
2002-04-08 21:08:17 +00:00
Jeroen Ruigrok van der Werven
2bb113d084
Fix typo: conole -> console
...
PR: 33965
Submitted by: Nicola Vitale <nivit@libero.it>
2002-04-08 19:19:10 +00:00
Josef Karthauser
0ad441b80d
Lock down Giant in the usb_task_thread() kthread.
2002-04-08 18:13:21 +00:00
Jeroen Ruigrok van der Werven
73d75acaa0
Change ks_calls from int64_t to uint64_t, since it cannot be negative.
...
PR: 32342
Submitted by: ryan beasley <ryanb@goddamnbastard.org>
Reviewed by: jeff, Tim J Robbins
2002-04-08 10:37:27 +00:00
Bruce Evans
32893f634b
Removed ispc98 sysctl completely. Applications should understand that
...
ispc98 isn't set if its sysctl doesn't exist. At least make(1) already
understands this.
Approved by: nyan
2002-04-08 10:34:57 +00:00
Josef Karthauser
64503575e3
Regenerate.
2002-04-08 10:17:19 +00:00
Josef Karthauser
43de0d9175
Add an entry for HP LaserJet 1200.
2002-04-08 10:16:19 +00:00
Poul-Henning Kamp
2dd527b3ac
Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.
...
Sponsored by: DARPA & NAI Labs
2002-04-08 09:20:07 +00:00
Poul-Henning Kamp
a1f1e35d8b
Remove 3 instances of vm_zone.h inclusion.
2002-04-08 08:12:46 +00:00
Poul-Henning Kamp
1265c0ce2b
In reverence of the 3rd X11 development rule:
...
3.The only thing worse than generalizing from one example
is generalizing from no examples at all.
Remove the fwcylinders attribute before anybody gets the idea that we
alone have squared the circle.
Sponsored by: DARPA & NAI Labs.
2002-04-08 08:00:40 +00:00
Poul-Henning Kamp
d39e457bba
Put back dumppcb, but this time we put a comment to tell what it is for.
...
Brucifixion by: bde
2002-04-08 06:59:13 +00:00
Takanori Watanabe
32b58d137b
Print DRQ resource in boot message.
2002-04-08 06:58:17 +00:00
Jeff Roberson
8396dd9eaa
Change the vm_zone calls over to uma calls. Remove the reference to the
...
vm_zone header.
2002-04-08 06:57:43 +00:00
Jeff Roberson
86bbae32f4
Add a mechanism to disable buckets when the v_free_count drops below
...
v_free_min. This should help performance in memory starved situations.
2002-04-08 06:20:34 +00:00
Jeff Roberson
605cbd6a08
Don't release the zone lock until after the dtor has been called. As far as I
...
can tell this could not have caused any problems yet because UMA is still
called with giant.
Pointy hat to: jeff
Noticed by: jake
2002-04-08 05:13:48 +00:00
Alan Cox
c0bf5caa74
Restructure aio_return() to eliminate duplicated code and facilitate Giant
...
push down.
2002-04-08 04:57:56 +00:00