11039SN/A/*
21762SN/A * Copyright (c) 2004-2005 The Regents of The University of Michigan
31039SN/A * All rights reserved.
41039SN/A *
51039SN/A * Redistribution and use in source and binary forms, with or without
61039SN/A * modification, are permitted provided that the following conditions are
71039SN/A * met: redistributions of source code must retain the above copyright
81039SN/A * notice, this list of conditions and the following disclaimer;
91039SN/A * redistributions in binary form must reproduce the above copyright
101039SN/A * notice, this list of conditions and the following disclaimer in the
111039SN/A * documentation and/or other materials provided with the distribution;
121039SN/A * neither the name of the copyright holders nor the names of its
131039SN/A * contributors may be used to endorse or promote products derived from
141039SN/A * this software without specific prior written permission.
151039SN/A *
161039SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
171039SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
181039SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
191039SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
201039SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
211039SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
221039SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
231039SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
241039SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
251039SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
261039SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272665Ssaidi@eecs.umich.edu *
282760Sbinkertn@umich.edu * Authors: Nathan Binkert
292760Sbinkertn@umich.edu *          Ali Saidi
301039SN/A */
311039SN/A
321039SN/A#ifndef __PRINTK_HH__
331039SN/A#define __PRINTK_HH__
341039SN/A
354429Ssaidi@eecs.umich.edu#include <sstream>
364429Ssaidi@eecs.umich.edu
374826Ssaidi@eecs.umich.educlass Arguments;
383535Sgblack@eecs.umich.edu
394826Ssaidi@eecs.umich.eduvoid Printk(std::stringstream &out, Arguments args);
401039SN/A
411039SN/A#endif // __PRINTK_HH__
42