port.hh (10413:1f12c11d89b6) | port.hh (10481:59fb5779ec6e) |
---|---|
1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 36 unchanged lines hidden (view full) --- 45/** 46 * @file 47 * Port Object Declaration. 48 */ 49 50#ifndef __MEM_PORT_HH__ 51#define __MEM_PORT_HH__ 52 | 1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 36 unchanged lines hidden (view full) --- 45/** 46 * @file 47 * Port Object Declaration. 48 */ 49 50#ifndef __MEM_PORT_HH__ 51#define __MEM_PORT_HH__ 52 |
53#include <list> 54 | |
55#include "base/addr_range.hh" 56#include "mem/packet.hh" 57 | 53#include "base/addr_range.hh" 54#include "mem/packet.hh" 55 |
58/** 59 * This typedef is used to clean up getAddrRanges(). It's declared 60 * outside the Port object since it's also used by some mem objects. 61 * Eventually we should move this typedef to wherever Addr is 62 * defined. 63 */ 64 65typedef std::list<AddrRange> AddrRangeList; 66typedef std::list<AddrRange>::iterator AddrRangeIter; 67typedef std::list<AddrRange>::const_iterator AddrRangeConstIter; 68 | |
69class MemObject; 70 71/** 72 * Ports are used to interface memory objects to each other. A port is 73 * either a master or a slave and the connected peer is always of the 74 * opposite role. Each port has a name, an owner, and an identifier. 75 */ 76class Port --- 392 unchanged lines hidden --- | 56class MemObject; 57 58/** 59 * Ports are used to interface memory objects to each other. A port is 60 * either a master or a slave and the connected peer is always of the 61 * opposite role. Each port has a name, an owner, and an identifier. 62 */ 63class Port --- 392 unchanged lines hidden --- |