Commit Graph

20 Commits

Author SHA1 Message Date
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
jonathan c9d036d796 defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}. 1999-02-07 09:34:58 +00:00
enami 29e9385ce2 Make this file compile again by removing no longer used `struct
cfdriver md_cd' and related code.
1998-09-01 06:13:33 +00:00
eeh a2dd74ed79 Merge paddr_t changes into the main branch. 1998-08-13 02:10:37 +00:00
mrg d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
mrg 1a8c7604f4 initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the rest of the MI portion changes.

this will be KNF'd shortly.  :-)
1998-02-05 07:59:28 +00:00
leo b9906e7600 Use DISKUNIT macro to encode md's unit in the minor number. 1997-08-01 19:38:30 +00:00
jeremy b06eb8ce7f Comment reference to ramdisk.h -> md.h 1997-05-23 23:44:34 +00:00
thorpej 7c14653df6 It's not safe to sleep in mdattach(), so don't pass WAITOK to malloc(). 1997-01-11 06:26:41 +00:00
pk 1cfdb29905 Rename this driver `md'. 1996-12-28 23:09:26 +00:00
christos 86373f8cf9 backout kprintf changes 1996-10-13 01:37:04 +00:00
christos 5d85fa8122 printf -> kprintf, sprintf -> ksprintf 1996-10-10 22:25:05 +00:00
leo 7ff219ef0d Add some prototypes. 1996-04-12 08:30:09 +00:00
gwr daef0ae82a The ramdisk is now a pseudo-device. 1996-03-22 23:02:02 +00:00
thorpej 6d9ea4cf59 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 00:43:52 +00:00
leo 6da2ce259c Allow for a machine dependent match function - rd_match_hook() 1996-03-07 10:25:28 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
gwr 97fc3b8321 get size of softc right 1995-11-17 23:33:34 +00:00
gwr c35fd76e91 Fix a comment 1995-10-26 15:38:45 +00:00
gwr 9a79c5a043 Machine-independent RAM-disk driver. 1995-10-08 23:30:57 +00:00