VirtIOBlock.py (10390:28bc070b5a86) VirtIOBlock.py (13665:9c7fe3811b88)
1# -*- mode:python -*-
2
3# Copyright (c) 2014 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 25 unchanged lines hidden (view full) ---

34# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37#
38# Authors: Andreas Sandberg
39
40from m5.params import *
41from m5.proxy import *
1# -*- mode:python -*-
2
3# Copyright (c) 2014 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 25 unchanged lines hidden (view full) ---

34# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37#
38# Authors: Andreas Sandberg
39
40from m5.params import *
41from m5.proxy import *
42from VirtIO import VirtIODeviceBase
42from m5.objects.VirtIO import VirtIODeviceBase
43
44class VirtIOBlock(VirtIODeviceBase):
45 type = 'VirtIOBlock'
46 cxx_header = 'dev/virtio/block.hh'
47
48 queueSize = Param.Unsigned(128, "Output queue size (pages)")
49
50 image = Param.DiskImage("Disk image")
43
44class VirtIOBlock(VirtIODeviceBase):
45 type = 'VirtIOBlock'
46 cxx_header = 'dev/virtio/block.hh'
47
48 queueSize = Param.Unsigned(128, "Output queue size (pages)")
49
50 image = Param.DiskImage("Disk image")