2 * (c) 2013-2014 Alexander Warg <warg@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
5 * This file is part of TUD:OS and distributed under the terms of the
6 * GNU General Public License 2.
7 * Please see the COPYING-GPL-2 file for details.
11 #include <l4/sys/l4int.h>
13 #include <l4/l4virtio/virtqueue>
20 Vm_ram() : _vm_start(~0UL), _cont(false), _ident(false) {}
24 T *access(L4virtio::Ptr<T> p) const { return (T*)(p.get() + _offset); }
26 l4_addr_t vm_start() const { return _vm_start; }
27 l4_size_t size() const { return _size; }
28 l4_addr_t local_start() const { return _local_start; }
32 l4_addr_t _local_start;