port.cc (13782:9f6654f478e2) port.cc (14189:a363edac6a12)
1/*
2 * Copyright (c) 2011-2012,2015,2017 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#include "sim/port.hh"
51
52Port::Port(const std::string& _name, PortID _id) :
1/*
2 * Copyright (c) 2011-2012,2015,2017 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#include "sim/port.hh"
51
52Port::Port(const std::string& _name, PortID _id) :
53 portName(_name), id(_id), _connected(false)
53 portName(_name), id(_id), _peer(nullptr), _connected(false)
54{}
55Port::~Port() {}
54{}
55Port::~Port() {}