1
/* SPIM S20 MIPS simulator.
2
Execute SPIM syscalls, both in simulator and bare mode.
4
Copyright (C) 1990-2000 by James Larus (larus@cs.wisc.edu).
6
Improved by Emin Gun Sirer.
8
SPIM is distributed under the following conditions:
10
You may make copies of SPIM for your own use and modify those copies.
12
All copies of SPIM must retain my name and copyright notice.
15
You may not sell SPIM or distributed SPIM in conjunction with a
16
commerical product or service without the expressed written consent of
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
25
/* $Header: /Software/SPIM/src/mips-syscall.h 4 12/24/00 1:37p Larus $
29
/* Exported functions. */
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);
39
void handle_exception ();
40
void initialize_prog_fds ();
41
void kill_prog_fds ();
42
void print_syscall_usage ();