~ubuntu-branches/ubuntu/trusty/spim/trusty

« back to all changes in this revision

Viewing changes to xspim/xspim.h

  • Committer: Bazaar Package Importer
  • Author(s): Mackenzie Morgan
  • Date: 2010-03-08 19:32:06 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100308193206-ez6ey8rkngex1ad2
Tags: 8.0-0ubuntu1
* New upstream release
  - New license (non-free to BSD)
  - Fixes bug with input reading
  - Clean up stack alignment

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* SPIM S20 MIPS simulator.
2
2
   X interface to SPIM
3
3
 
4
 
   Copyright (C) 1990-2004 by James Larus (larus@cs.wisc.edu)
5
 
   ALL RIGHTS RESERVED.
6
 
 
7
 
   SPIM is distributed under the following conditions:
8
 
 
9
 
     You may make copies of SPIM for your own use and modify those copies.
10
 
 
11
 
     All copies of SPIM must retain my name and copyright notice.
12
 
 
13
 
     You may not sell SPIM or distributed SPIM in conjunction with a
14
 
     commerical product or service without the expressed written consent of
15
 
     James Larus.
16
 
 
17
 
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
18
 
   IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
19
 
   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20
 
   PURPOSE. */
21
 
 
22
 
 
23
 
/* $Header: /Software/SPIM/src/xspim.h 12    3/21/04 2:05p Larus $
24
 
 */
 
4
   Copyright (c) 1990-2010, James R. Larus.
 
5
   All rights reserved.
 
6
 
 
7
   Redistribution and use in source and binary forms, with or without modification,
 
8
   are permitted provided that the following conditions are met:
 
9
 
 
10
   Redistributions of source code must retain the above copyright notice,
 
11
   this list of conditions and the following disclaimer.
 
12
 
 
13
   Redistributions in binary form must reproduce the above copyright notice,
 
14
   this list of conditions and the following disclaimer in the documentation and/or
 
15
   other materials provided with the distribution.
 
16
 
 
17
   Neither the name of the James R. Larus nor the names of its contributors may be
 
18
   used to endorse or promote products derived from this software without specific
 
19
   prior written permission.
 
20
 
 
21
   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 
22
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 
23
   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 
24
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 
25
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 
26
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 
27
   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 
28
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
29
   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 
30
   OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
31
*/
25
32
 
26
33
 
27
34
#define IO_BUFFSIZE     10000