diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-05-27 22:59:19 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-05-27 22:59:19 +0200 |
commit | 5da4f0fc0f55b43815adbdbc8f2e0e26eaac84e6 (patch) | |
tree | 1381230c9dc8060f167b2988a55052c598fdd7f5 /sys/man/8 | |
parent | ad7390dda820db424821b19c572a44b4cc0838e8 (diff) |
sdram: experimental ramdisk driver
this driver makes regions of physical memory accessible as a disk.
to use it, ramdiskinit() has to be called before confinit(), so
that conf.mem[] banks can be reserved. currently, only pc and pc64
kernel use it, but otherwise the implementation is portable.
ramdisks are not zeroed when allocated, so that the contents are
preserved across warm reboots.
to not waste memory, physical segments do not allocate Page structures
or populate the segment pte's anymore. theres also a new SG_CHACHED
attribute.
Diffstat (limited to 'sys/man/8')
-rw-r--r-- | sys/man/8/plan9.ini | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini index 981e43fc5..29bdb7acf 100644 --- a/sys/man/8/plan9.ini +++ b/sys/man/8/plan9.ini @@ -500,6 +500,15 @@ on AoE and .I slot to use as a root device for bootstrapping. +.SS \fLramdisk\fIX\fL=\fIsize\fP +.SS \fLramdisk\fIX\fL=\fIsize sectorsize\fP +.SS \fLramdisk\fIX\fL=\fIaddress size sectorsize\fP +This reserves physical memory as a ramdisk that will appear as an +.IR sd(3) +device. When the +.I address +argument is omited or zero, then the ramdisk will be allocated +from the top of physical memory. .SS AUDIO .SS \fLaudio\fIX\fL=\fIvalue\fP This defines a sound interface. PCI based audio devices such as |