SConscript revision 11930
16019Shines@cs.fsu.edu# -*- mode:python -*- 26019Shines@cs.fsu.edu 310037SARM gem5 Developers# Copyright (c) 2014, 2016 ARM Limited 47100Sgblack@eecs.umich.edu# All rights reserved. 57100Sgblack@eecs.umich.edu# 67100Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall 77100Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual 87100Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating 97100Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software 107100Sgblack@eecs.umich.edu# licensed hereunder. You may use the software subject to the license 117100Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated 127100Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software, 137100Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form. 147100Sgblack@eecs.umich.edu# 156019Shines@cs.fsu.edu# Redistribution and use in source and binary forms, with or without 166019Shines@cs.fsu.edu# modification, are permitted provided that the following conditions are 176019Shines@cs.fsu.edu# met: redistributions of source code must retain the above copyright 186019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer; 196019Shines@cs.fsu.edu# redistributions in binary form must reproduce the above copyright 206019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer in the 216019Shines@cs.fsu.edu# documentation and/or other materials provided with the distribution; 226019Shines@cs.fsu.edu# neither the name of the copyright holders nor the names of its 236019Shines@cs.fsu.edu# contributors may be used to endorse or promote products derived from 246019Shines@cs.fsu.edu# this software without specific prior written permission. 256019Shines@cs.fsu.edu# 266019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 276019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 286019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 296019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 306019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 316019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 326019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 336019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 346019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 356019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 366019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 376019Shines@cs.fsu.edu# 386019Shines@cs.fsu.edu# Authors: Andreas Sandberg 396019Shines@cs.fsu.edu 406019Shines@cs.fsu.eduImport('*') 416019Shines@cs.fsu.edu 426757SAli.Saidi@ARM.comif env['TARGET_ISA'] == 'null': 436019Shines@cs.fsu.edu Return() 446019Shines@cs.fsu.edu 456019Shines@cs.fsu.eduSimObject('VirtIO.py') 466019Shines@cs.fsu.eduSimObject('VirtIOConsole.py') 476019Shines@cs.fsu.eduSimObject('VirtIOBlock.py') 4811320Ssteve.reinhardt@amd.comSimObject('VirtIO9P.py') 496019Shines@cs.fsu.edu 509022Sgblack@eecs.umich.eduSource('base.cc') 516019Shines@cs.fsu.eduSource('pci.cc') 5212640Sgiacomo.travaglini@arm.comSource('console.cc') 5310037SARM gem5 DevelopersSource('block.cc') 5410037SARM gem5 DevelopersSource('fs9p.cc') 557170Sgblack@eecs.umich.edu 566253Sgblack@eecs.umich.eduDebugFlag('VIO', 'VirtIO base functionality') 5710037SARM gem5 DevelopersDebugFlag('VIOIface', 'VirtIO transport') 587202Sgblack@eecs.umich.eduDebugFlag('VIOConsole', 'VirtIO console device') 5910037SARM gem5 DevelopersDebugFlag('VIOBlock', 'VirtIO block device') 606253Sgblack@eecs.umich.eduDebugFlag('VIO9P', 'General 9p over VirtIO debugging') 6110611SAndreas.Sandberg@ARM.comDebugFlag('VIO9PData', 'Dump data in VirtIO 9p connections') 626253Sgblack@eecs.umich.edu