Protected Member Functions | Protected Attributes

MemTlb Class Reference

Next TLB implementation. More...

#include <memtlb.h>

Inheritance diagram for MemTlb:
MemCache InstructionCache Halifax

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

MemTlb::MemTlb ( DBus< MessageMem > &  mem,
DBus< MessageMemRegion > &  memregion 
) [inline, protected]

Member Function Documentation

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.

Type MemTlb::user_access ( Type  type  )  [inline, protected]

Member Data Documentation

CpuState* MemTlb::_cpu [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines