NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
Memory backed virtual disk. More...
#include "host/dma.h"
#include "nul/motherboard.h"
#include <nul/service_fs.h>
#include <nul/baseprogram.h>
#include <nul/capalloc.h>
Classes | |
class | VirtualDisk |
Provide a memory backed disk. More... |
Functions | |
PARAM_HANDLER (vdisk,"vdisk:file - create a virtual disk from the given file","Example: vdisk:rom://foo/bar creates a virtual disk from the module foo/bar") | |
PARAM_HANDLER (vdisk_empty,"vdisk_empty:size - create a virtual disk of a given size","Example: vdisk_empty:1048576 creates a virtual disk of 1MiB size") |
Variables | |
VirtualDisk | __attribute__ |
Memory backed virtual disk.
Copyright (C) 2009, Bernhard Kauer bk@vm Economic rights: Technische Universitaet Dresden (Germany) mon. org
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.
PARAM_HANDLER | ( | vdisk | , |
"vdisk:file - create a virtual disk from the given file" | , | ||
"Example: vdisk:rom://foo/bar creates a virtual disk from the module foo/bar" | |||
) |
PARAM_HANDLER | ( | vdisk_empty | , |
"vdisk_empty:size - create a virtual disk of a given size" | , | ||
"Example: vdisk_empty:1048576 creates a virtual disk of 1MiB size" | |||
) |
VirtualDisk __attribute__ |