pci.cc (10388:a26a20060ba3) | pci.cc (10559:62f5f7363197) |
---|---|
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 --- 29 unchanged lines hidden (view full) --- 38 */ 39 40#include "debug/VIOPci.hh" 41#include "dev/virtio/pci.hh" 42#include "mem/packet_access.hh" 43#include "params/PciVirtIO.hh" 44 45PciVirtIO::PciVirtIO(const Params *params) | 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 --- 29 unchanged lines hidden (view full) --- 38 */ 39 40#include "debug/VIOPci.hh" 41#include "dev/virtio/pci.hh" 42#include "mem/packet_access.hh" 43#include "params/PciVirtIO.hh" 44 45PciVirtIO::PciVirtIO(const Params *params) |
46 : PciDevice(params), vio(*params->vio), 47 callbackKick(this) | 46 : PciDevice(params), queueNotify(0), interruptDeliveryPending(false), 47 vio(*params->vio), callbackKick(this) |
48{ 49 // Override the subsystem ID with the device ID from VirtIO 50 config.subsystemID = htole(vio.deviceId); 51 BARSize[0] = BAR0_SIZE_BASE + vio.configSize; 52 53 vio.registerKickCallback(&callbackKick); 54} 55 --- 167 unchanged lines hidden --- | 48{ 49 // Override the subsystem ID with the device ID from VirtIO 50 config.subsystemID = htole(vio.deviceId); 51 BARSize[0] = BAR0_SIZE_BASE + vio.configSize; 52 53 vio.registerKickCallback(&callbackKick); 54} 55 --- 167 unchanged lines hidden --- |