Next TLB implementation. More...
#include <memtlb.h>
Protected Member Functions | |
Type | user_access (Type type) |
int | init () |
int | read_code (unsigned long virt, unsigned len, void *buffer) |
Read the len instruction-bytes at the given address into a buffer. | |
int | prepare_virtual (unsigned virt, unsigned len, Type type, void *&ptr) |
MemTlb (DBus< MessageMem > &mem, DBus< MessageMemRegion > &memregion) | |
Protected Attributes | |
CpuState * | _cpu |
Next TLB implementation.
Copyright (C) 2009-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. A TLB implementation relying on the cache.
MemTlb::MemTlb | ( | DBus< MessageMem > & | mem, | |
DBus< MessageMemRegion > & | memregion | |||
) | [inline, protected] |
int MemTlb::init | ( | ) | [inline, protected] |
int MemTlb::prepare_virtual | ( | unsigned | virt, | |
unsigned | len, | |||
Type | type, | |||
void *& | ptr | |||
) | [inline, protected] |
int MemTlb::read_code | ( | unsigned long | virt, | |
unsigned | len, | |||
void * | buffer | |||
) | [inline, protected] |
Read the len instruction-bytes at the given address into a buffer.
CpuState* MemTlb::_cpu [protected] |