Commit Graph

23915 Commits

Author SHA1 Message Date
thorpej
bf51a1d137 uvm_deallocate() takes an address and a size, not an address range. From
ITOH Yasufumi <yasufu-i@is.aist-nara.ac.jp>, PR #5834.
1998-07-24 20:47:59 +00:00
thorpej
2385ee5eca Provide PMAP_{,UN}MAP_POOLPAGE(). 1998-07-24 20:32:07 +00:00
thorpej
8325d058bf Implement uvm_km_{alloc,free}_poolpage(). These functions use pmap hooks to
map/unmap pool pages if provided by the pmap layer.
1998-07-24 20:28:48 +00:00
thorpej
6127f55620 Implement kmem_{alloc,free}_poolpage(). These functions use pmap hooks to
map/unmap pool pages if provided by the pmap layer.
1998-07-24 20:27:26 +00:00
thorpej
fc4828b0b4 A few small changes to how pool pages are allocated/freed:
- If either an alloc or release function is provided, make sure both are
  provided, otherwise panic, as this is a fatal error.
- If using the default allocator, default the pool pagesz to PAGE_SIZE,
  since that is the granularity of the default allocator's mechanism.
- In the default allocator, use new functions:
	uvm_km_alloc_poolpage()/uvm_km_free_poolpage(), or
	kmem_alloc_poolpage()/kmem_free_poolpage()
  rather than doing it here.  These functions may use pmap hooks to
  provide alternate methods of mapping pool pages.
1998-07-24 20:19:23 +00:00
thorpej
7d8833a179 Put back swap_data_lock, which was apparently deleted accidentally during
the last round of changes.  (I noticed it because I run my kernels w/
LOCKDEBUG.)
1998-07-24 18:46:02 +00:00
drochner
658e297dd6 Initialize the new "dispoffset" (but don't use it for anything fancy). 1998-07-24 16:22:51 +00:00
drochner
3d545acb51 Overload the generic "copyrows" function by a private one which implents
a "fast scroll" by setting the display start in memory.
(Only implemented for "scroll up" because this is more used. "scroll down"
is easy to add.)
This moves the semantics of "copyrows" to something like "moverows";
the contents of the new visible lines at the bottom is undefined.
The emulations can live without the original "copy" semantics.
1998-07-24 16:20:14 +00:00
drochner
7764b57db5 allow the displayed area to start anywhere in display memory,
add a "dispoffset" variable to control this
1998-07-24 16:12:18 +00:00
tsubai
5cc05df4ca Comment out "insert root disk..." message.
Remove unnecessary video init.
1998-07-24 15:52:04 +00:00
rvb
d33dfcd7dc Coda glue 1998-07-24 15:40:42 +00:00
rvb
b1d69203b3 Coda glue 1998-07-24 15:18:21 +00:00
tsubai
5f9682b601 Calculate DELAY constant before configure(). 1998-07-24 14:40:40 +00:00
drochner
e81ad8e2c6 add random generator hook 1998-07-24 13:42:29 +00:00
drochner
6dc9297499 remove unneeded typecast 1998-07-24 13:41:52 +00:00
sommerfe
1c2f0a15fd Don't create the extent region pool until one of our callers is of the
opinion that it's safe to call malloc.
1998-07-24 06:40:45 +00:00
sommerfe
8ba3494f9a Deal with new pool code's changed API by rewriting this to not use pools.
Instead, use a manually maintained freelist in a second tailq.
Uses less data space, looks more symmetrical.
1998-07-24 03:29:29 +00:00
gwr
4eeeee6a7c Print a complaint when no children were specified
in the config file.  Better than a link error...
1998-07-23 23:48:33 +00:00
gwr
4a15b6ba7d Make this like the other redirect includes. 1998-07-23 23:47:02 +00:00
gwr
7e0d396bf4 Add xyc to the dev/xy.c line, similar for xd. 1998-07-23 23:45:24 +00:00
pk
f836b9e8d3 Drop private page table list maintenance; use memory pools instead. 1998-07-23 21:42:40 +00:00
pk
4e465abf3f Use a memory pool instead of malloc to allocate region descriptors. 1998-07-23 20:57:17 +00:00
pk
a96abe7092 Update pool_* functions to new interface. 1998-07-23 20:52:01 +00:00
pk
363f729ada Use memory pools to allocate swap buffers. Allocations are all dynamic;
in particular `nswbuf' is gone, as is the private "struct buf" list that
was previously maintained in here.
1998-07-23 20:51:09 +00:00
pk
20f05a4bb5 Include pool_drain() in page scans. 1998-07-23 20:36:09 +00:00
pk
73ffa498ec Define M_POOL. 1998-07-23 20:34:59 +00:00
pk
e32923a128 Re-vamped pool manager.
* support for customized memory supplier
	* automatic page reclaim by VM system
	* time-based hysteresis
	* cache coloring (after Bonwick's "slabs")
1998-07-23 20:34:00 +00:00
christos
1253bfdf46 Utilize the centralized probe function. 1998-07-23 19:32:42 +00:00
christos
fe7d31fe1e First-gen 1998-07-23 19:31:36 +00:00
christos
bdb2269a46 Create a master list of pnp logical and compatibility device codes instead
of hard-coding it into each driver and use a centralized probe function.
1998-07-23 19:30:44 +00:00
thorpej
8d611b5f32 Remember the product ID and revision. 1998-07-23 19:25:52 +00:00
thorpej
d2bc077edb G/c a now unsed config flag. 1998-07-23 19:03:11 +00:00
thorpej
1c9aed40f6 Round-out full-duplex support. 1998-07-23 19:02:55 +00:00
msaitoh
31177b97e7 In usercodes, we use getpagesize() instead of NBPG. 1998-07-23 18:15:57 +00:00
thorpej
458ba64f3a Slight variation on last; be a bit more zealous about fixing up the
clock source.  Now, when my EtherPower II locks up, it eventually recovers!

(Geez, I'd like to know why it does this, and only apparently in 10mb/s mode).
1998-07-23 17:37:38 +00:00
drochner
c4c3297772 update comment ("John F. Woods" <jfw@funhouse.com>, PR kern/5798) 1998-07-23 16:39:24 +00:00
drochner
56a5adfaff Switch keyboard to "event mode" on open.
Nuke wskbd_set_translation(). It doesn't fit into the "screen" model.
1998-07-23 14:33:01 +00:00
augustss
d6ef9cbb33 Add some comments and a function to set the alternate settings in an
interface.
1998-07-23 13:44:21 +00:00
augustss
8cdf268a45 Implement bulk transfer for OHCI. 1998-07-23 13:41:04 +00:00
pk
217addc8de Option DDB_ONPANIC needs a value. 1998-07-23 13:03:23 +00:00
drochner
7cdf5d9a77 retry disk accesses (for shaky floppy drives) 1998-07-23 09:59:44 +00:00
augustss
c263b1d26f Don't leak memory if opening a pipe fails. 1998-07-23 09:18:37 +00:00
pk
84840da908 in_pcballoc(): we can't afford to wait for memory. 1998-07-23 08:24:33 +00:00
augustss
964fdc18b8 Use the pipe maximum packet length rather than the device max length when
setting up a transfer.
Update the UHCI data toggle correctly.
1998-07-23 01:46:27 +00:00
augustss
0f40401a23 Fix bug in freeing TD chain after bulk transfer. 1998-07-23 00:27:36 +00:00
thorpej
202d438148 CS8900 driver has of_network_dev property. 1998-07-22 22:09:59 +00:00
thorpej
c10c18b955 Get media from OpenFirmware. 1998-07-22 22:09:18 +00:00
thorpej
daf40e1b0b Add common OpenFirmware network interface functions. Currently supports
decoding the `supported-network-types' and `chosen-network-type' properties
into ifmedia words.
1998-07-22 22:04:14 +00:00
tsubai
04e498dae6 Change from "-G 0" to "-G0" for egcs. 1998-07-22 19:59:21 +00:00
is
0751419914 Back out previous change. It breaks Seyon in a non-obvious way. 1998-07-22 19:13:02 +00:00