init_signals.hh revision 10453:d0365cc3d05f
15083Sgblack@eecs.umich.edu/*
29582Snilay@cs.wisc.edu * Copyright (c) 2008 The Hewlett-Packard Development Company
35083Sgblack@eecs.umich.edu * All rights reserved.
45083Sgblack@eecs.umich.edu *
57087Snate@binkert.org * Redistribution and use in source and binary forms, with or without
67087Snate@binkert.org * modification, are permitted provided that the following conditions are
77087Snate@binkert.org * met: redistributions of source code must retain the above copyright
87087Snate@binkert.org * notice, this list of conditions and the following disclaimer;
97087Snate@binkert.org * redistributions in binary form must reproduce the above copyright
107087Snate@binkert.org * notice, this list of conditions and the following disclaimer in the
117087Snate@binkert.org * documentation and/or other materials provided with the distribution;
127087Snate@binkert.org * neither the name of the copyright holders nor the names of its
135083Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from
147087Snate@binkert.org * this software without specific prior written permission.
157087Snate@binkert.org *
167087Snate@binkert.org * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
177087Snate@binkert.org * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
187087Snate@binkert.org * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
197087Snate@binkert.org * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
207087Snate@binkert.org * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
217087Snate@binkert.org * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
225083Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
237087Snate@binkert.org * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
245083Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
255083Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
265083Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
275083Sgblack@eecs.umich.edu *
285083Sgblack@eecs.umich.edu * Authors: Nathan Binkert
295083Sgblack@eecs.umich.edu */
305083Sgblack@eecs.umich.edu
315083Sgblack@eecs.umich.edu#ifndef __SIM_INIT_SIGNALS_HH__
325083Sgblack@eecs.umich.edu#define __SIM_INIT_SIGNALS_HH__
335083Sgblack@eecs.umich.edu
345083Sgblack@eecs.umich.eduvoid dumpStatsHandler(int sigtype);
355083Sgblack@eecs.umich.eduvoid dumprstStatsHandler(int sigtype);
365083Sgblack@eecs.umich.eduvoid exitNowHandler(int sigtype);
375083Sgblack@eecs.umich.eduvoid abortHandler(int sigtype);
389582Snilay@cs.wisc.eduvoid initSignals();
395083Sgblack@eecs.umich.edu
405083Sgblack@eecs.umich.edu#endif // __SIM_INIT_SIGNALS_HH__
415083Sgblack@eecs.umich.edu