Functions | Variables

vancouver/include/model/simplemem.h File Reference

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
 SimpleMemoryAccess template.
DBus< MessageMem > * _bus_mem

Function Documentation

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.


Variable Documentation

SimpleMemoryAccess template.

Copyright (C) 2010, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines