Commit Graph

41217 Commits

Author SHA1 Message Date
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
veego
833218f8ab Fix the protoype of __syscall: s/int/quad_t/ 1998-07-24 18:48:14 +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
tv
f33c6eef65 Fix flawed logic: I'm not all here today. (.if's werten't doing what the
commit comment said they would do.
1998-07-24 16:51:33 +00:00
tv
7d85aa8579 Fix the rebuild of libgcc:
- If USE_EGCS is set, rebuild egcs's libgcc and install it
  (unless DESTDIR is set and system compiler is not gcc 2.8,
   in which case print a warning message and do nothing).
- Do not rebuild gcc 2.7's libgcc.  egcs can build this fine.
1998-07-24 16:48:47 +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
137185670b Add bootfloppy stuff. 1998-07-24 15:55:28 +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
ross
3c35d73f31 Deal with the gnu __attribute__ keyword, which is in an odd place and
breaks the ctags function-recognition algorithm.
1998-07-24 07:30:08 +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
sommerfe
247b8c3e8c Avoid truncating partition size in freespace calculation 1998-07-23 19:05:59 +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
augustss
a07569cb70 Fix typo in getopt string. 1998-07-23 18:39:53 +00:00
msaitoh
31177b97e7 In usercodes, we use getpagesize() instead of NBPG. 1998-07-23 18:15:57 +00:00
phil
11c7d5d3b1 Put back "return value" meaning in option actions accidentally removed
in chanages for dynamic menus.  (Return !=0 means to exit menu dynamically.)
1998-07-23 17:56:00 +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
cf835b8a8d Update man page.
Be a little more verbose with -v when no controllers were found.
1998-07-23 13:57:51 +00:00
augustss
02c8f266db Make the /dev/ part of the device name optional. 1998-07-23 13:48:59 +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