platform.cc revision 1149
12914SN/A/*
213564Snikos.nikoleris@arm.com * Copyright (c) 2004 The Regents of The University of Michigan
38856SN/A * All rights reserved.
48856SN/A *
58856SN/A * Redistribution and use in source and binary forms, with or without
68856SN/A * modification, are permitted provided that the following conditions are
78856SN/A * met: redistributions of source code must retain the above copyright
88856SN/A * notice, this list of conditions and the following disclaimer;
98856SN/A * redistributions in binary form must reproduce the above copyright
108856SN/A * notice, this list of conditions and the following disclaimer in the
118856SN/A * documentation and/or other materials provided with the distribution;
128856SN/A * neither the name of the copyright holders nor the names of its
138856SN/A * contributors may be used to endorse or promote products derived from
142914SN/A * this software without specific prior written permission.
152914SN/A *
162914SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
172914SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
182914SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
192914SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
202914SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
212914SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
222914SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
232914SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
242914SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
252914SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
262914SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272914SN/A */
282914SN/A
292914SN/A#include "dev/platform.hh"
302914SN/A#include "sim/builder.hh"
312914SN/A#include "sim/sim_exit.hh"
322914SN/A
332914SN/Ausing namespace std;
342914SN/A
352914SN/Avoid
362914SN/APlatform::postPciInt(int line)
372914SN/A{
382914SN/A   panic("No PCI interrupt support in platform.");
392914SN/A}
402914SN/A
418856SN/Avoid
422914SN/APlatform::clearPciInt(int line)
432914SN/A{
4411793Sbrandon.potter@amd.com   panic("No PCI interrupt support in platform.");
4511793Sbrandon.potter@amd.com}
469356Snilay@cs.wisc.edu
479152Satgutier@umich.eduAddr
488914Sandreas.hansson@arm.comPlatform::pciToDma(Addr pciAddr) const
492914SN/A{
5011207SBrad.Beckmann@amd.com   panic("No PCI dma support in platform.");
5112083Sspwilson2@wisc.edu}
5213564Snikos.nikoleris@arm.com
5311207SBrad.Beckmann@amd.comDEFINE_SIM_OBJECT_CLASS_NAME("Platform", Platform)
5412083Sspwilson2@wisc.edu
5512083Sspwilson2@wisc.edu