faults.cc revision 2090
111374Ssteve.reinhardt@amd.com/*
211374Ssteve.reinhardt@amd.com * Copyright (c) 2003-2005 The Regents of The University of Michigan
310515SN/A * All rights reserved.
410515SN/A *
510515SN/A * Redistribution and use in source and binary forms, with or without
611680SCurtis.Dunham@arm.com * modification, are permitted provided that the following conditions are
711680SCurtis.Dunham@arm.com * met: redistributions of source code must retain the above copyright
811680SCurtis.Dunham@arm.com * notice, this list of conditions and the following disclaimer;
911570SCurtis.Dunham@arm.com * redistributions in binary form must reproduce the above copyright
1011014Sandreas.sandberg@arm.com * notice, this list of conditions and the following disclaimer in the
1110515SN/A * documentation and/or other materials provided with the distribution;
1210515SN/A * neither the name of the copyright holders nor the names of its
1311570SCurtis.Dunham@arm.com * contributors may be used to endorse or promote products derived from
1410515SN/A * this software without specific prior written permission.
1510515SN/A *
1611570SCurtis.Dunham@arm.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1710515SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1811680SCurtis.Dunham@arm.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "sim/faults.hh"
30
31NoFaultType * NoFault = new NoFaultType("none");
32MachineCheckFaultType * MachineCheckFault = new MachineCheckFaultType("mchk");
33AlignmentFaultType * AlignmentFault = new AlignmentFaultType("unalign");
34//This needs to not exist
35FakeMemFaultType * FakeMemFault = new FakeMemFaultType("fakemem");
36
37