console.cc (10389:42d0d62ee057) | console.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2014 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Sandberg 38 */ 39 | 1/* 2 * Copyright (c) 2014 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 --- 23 unchanged lines hidden (view full) --- 32 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Sandberg 38 */ 39 |
40#include "debug/VIOConsole.hh" | |
41#include "dev/virtio/console.hh" | 40#include "dev/virtio/console.hh" |
41 42#include "debug/VIOConsole.hh" |
|
42#include "params/VirtIOConsole.hh" 43#include "sim/system.hh" 44 | 43#include "params/VirtIOConsole.hh" 44#include "sim/system.hh" 45 |
45 | |
46VirtIOConsole::VirtIOConsole(Params *params) 47 : VirtIODeviceBase(params, ID_CONSOLE, sizeof(Config), F_SIZE), 48 qRecv(params->system->physProxy, params->qRecvSize, *this), 49 qTrans(params->system->physProxy, params->qTransSize, *this), 50 term(*params->terminal), callbackDataAvail(qRecv) 51{ 52 registerQueue(qRecv); 53 registerQueue(qTrans); --- 69 unchanged lines hidden --- | 46VirtIOConsole::VirtIOConsole(Params *params) 47 : VirtIODeviceBase(params, ID_CONSOLE, sizeof(Config), F_SIZE), 48 qRecv(params->system->physProxy, params->qRecvSize, *this), 49 qTrans(params->system->physProxy, params->qTransSize, *this), 50 term(*params->terminal), callbackDataAvail(qRecv) 51{ 52 registerQueue(qRecv); 53 registerQueue(qTrans); --- 69 unchanged lines hidden --- |