~ubuntu-branches/ubuntu/jaunty/spim/jaunty

« back to all changes in this revision

Viewing changes to mips-syscall.h

  • Committer: Bazaar Package Importer
  • Author(s): Fernando Sanchez
  • Date: 2001-01-24 14:05:34 UTC
  • Revision ID: james.westby@ubuntu.com-20010124140534-3le9wmofforjjcd8
Tags: upstream-6.3
ImportĀ upstreamĀ versionĀ 6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* SPIM S20 MIPS simulator.
 
2
   Execute SPIM syscalls, both in simulator and bare mode.
 
3
 
 
4
   Copyright (C) 1990-2000 by James Larus (larus@cs.wisc.edu).
 
5
   ALL RIGHTS RESERVED.
 
6
   Improved by Emin Gun Sirer.
 
7
 
 
8
   SPIM is distributed under the following conditions:
 
9
 
 
10
     You may make copies of SPIM for your own use and modify those copies.
 
11
 
 
12
     All copies of SPIM must retain my name and copyright notice.
 
13
     ALL RIGHTS RESERVED.
 
14
 
 
15
     You may not sell SPIM or distributed SPIM in conjunction with a
 
16
     commerical product or service without the expressed written consent of
 
17
     James Larus.
 
18
 
 
19
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 
20
   IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 
21
   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 
22
   PURPOSE. */
 
23
 
 
24
 
 
25
/* $Header: /Software/SPIM/src/mips-syscall.h 4     12/24/00 1:37p Larus $
 
26
*/
 
27
 
 
28
 
 
29
/* Exported functions. */
 
30
 
 
31
#ifdef __STDC__
 
32
int do_syscall (void);
 
33
void handle_exception (void);
 
34
void initialize_prog_fds (void);
 
35
void kill_prog_fds (void);
 
36
void print_syscall_usage (void);
 
37
#else
 
38
int do_syscall ();
 
39
void handle_exception ();
 
40
void initialize_prog_fds ();
 
41
void kill_prog_fds ();
 
42
void print_syscall_usage ();
 
43
#endif
 
44