gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
external_master.hh File Reference

ExternalMaster is a memory object representing a binding from a gem5 slave to a master port in a system external to gem5. More...

#include "mem/mem_object.hh"
#include "params/ExternalMaster.hh"

Go to the source code of this file.

Classes

class  ExternalMaster
 
class  ExternalMaster::Port
 Derive from this class to create an external port interface. More...
 
class  ExternalMaster::Handler
 

Detailed Description

ExternalMaster is a memory object representing a binding from a gem5 slave to a master port in a system external to gem5.

During initialisation, a `handler' for the port type specified in the port's port_type parameter is found from the registered port handlers provided with registerHandler. Once a handler is found, it is passed the port_data parameter of the port which can be used to identify the external port which is to be bound to. A port handler will usually construct a bridge object in the external system to accomodate the port-to-port mapping but this bridge is not exposed to gem5 other than be the presentation of the MasterPort which can be bound.

The external port must provide a gem5 MasterPort interface.

Definition in file external_master.hh.


Generated on Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6