io_device.cc (9095:0e6bd7082fac) | io_device.cc (9294:8fb03b13de02) |
---|---|
1/* 2 * Copyright (c) 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 --- 65 unchanged lines hidden (view full) --- 74void 75PioDevice::init() 76{ 77 if (!pioPort.isConnected()) 78 panic("Pio port of %s not connected to anything!", name()); 79 pioPort.sendRangeChange(); 80} 81 | 1/* 2 * Copyright (c) 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 --- 65 unchanged lines hidden (view full) --- 74void 75PioDevice::init() 76{ 77 if (!pioPort.isConnected()) 78 panic("Pio port of %s not connected to anything!", name()); 79 pioPort.sendRangeChange(); 80} 81 |
82SlavePort & 83PioDevice::getSlavePort(const std::string &if_name, int idx) | 82BaseSlavePort & 83PioDevice::getSlavePort(const std::string &if_name, PortID idx) |
84{ 85 if (if_name == "pio") { 86 return pioPort; 87 } 88 return MemObject::getSlavePort(if_name, idx); 89} 90 91unsigned int --- 25 unchanged lines hidden --- | 84{ 85 if (if_name == "pio") { 86 return pioPort; 87 } 88 return MemObject::getSlavePort(if_name, idx); 89} 90 91unsigned int --- 25 unchanged lines hidden --- |