NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
SimpleMemoryAccess template. More...
Functions | |
bool | copy_inout (unsigned long address, void *ptr, unsigned count, bool read) |
Fast copy/inout version that only copies to mem-regions but not registers. | |
bool | copy_out (unsigned long address, void *ptr, unsigned count) |
Copy from buffer to the guest. | |
bool | copy_in (unsigned long address, void *ptr, unsigned count) |
Copy from the guest to a buffer. |
Variables | |
DBus< MessageMemRegion > * | _bus_memregion |
DBus< MessageMem > * | _bus_mem |
SimpleMemoryAccess template.
Copyright (C) 2010, 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.
bool copy_in | ( | unsigned long | address, |
void * | ptr, | ||
unsigned | count | ||
) |
Copy from the guest to a buffer.
bool copy_inout | ( | unsigned long | address, |
void * | ptr, | ||
unsigned | count, | ||
bool | read | ||
) |
Fast copy/inout version that only copies to mem-regions but not registers.
bool copy_out | ( | unsigned long | address, |
void * | ptr, | ||
unsigned | count | ||
) |
Copy from buffer to the guest.
DBus<MessageMem>* _bus_mem |
DBus<MessageMemRegion>* _bus_memregion |