OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_70/] [or1ksim/] [peripheral/] [messages.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 877 rherveille
/*
2
    messages.h
3
    Copyright (C) 2002 Richard Herveille, rherveille@opencores.org
4
 
5
    This file is part of OpenRISC 1000 Architectural Simulator
6
 
7
    This program is free software; you can redistribute it and/or modify
8
    it under the terms of the GNU General Public License as published by
9
    the Free Software Foundation; either version 2 of the License, or
10
    (at your option) any later version
11
 
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16
 
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
*/
21
 
22
/*
23
 * macros for generating standard messages
24
 */
25
 
26
#ifndef __OR1KSIM_MESSAGES_H
27
#define __OR1KSIM_MESSAGES_H
28
 
29
#define MSG_DEBUG(message)   fprintf(stderr, "DEBUG  : %s\n", message)
30
#define MSG_EMPTY(message)   fprintf(stderr, "         %s\n", message)
31
#define MSG_ERROR(message)   fprintf(stderr, "ERROR  : %s\n", message)
32
#define MSG_FATAL(message)   fprintf(stderr, "FATAL  : %s\n", message)
33
#define MSG_NOTE(message)    fprintf(stderr, "NOTE   : %s\n", message)
34
#define MSG_WARNING(message) fprintf(stderr, "WARNING: %s\n", message)
35
 
36
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.