1 /*
2  * Platform dependent support for HP simulator.
3  *
4  * Copyright (C) 1998, 1999 Hewlett-Packard Co
5  * Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com>
6  * Copyright (C) 1999 Vijay Chander <vijay@engr.sgi.com>
7  */
8 #ifndef _IA64_PLATFORM_HPSIM_SSC_H
9 #define _IA64_PLATFORM_HPSIM_SSC_H
10 
11 /* Simulator system calls: */
12 
13 #define SSC_CONSOLE_INIT		20
14 #define SSC_GETCHAR			21
15 #define SSC_PUTCHAR			31
16 #define SSC_CONNECT_INTERRUPT		58
17 #define SSC_GENERATE_INTERRUPT		59
18 #define SSC_SET_PERIODIC_INTERRUPT	60
19 #define SSC_GET_RTC			65
20 #define SSC_EXIT			66
21 #define SSC_LOAD_SYMBOLS		69
22 #define SSC_GET_TOD			74
23 #define SSC_CTL_TRACE			76
24 
25 #define SSC_NETDEV_PROBE		100
26 #define SSC_NETDEV_SEND			101
27 #define SSC_NETDEV_RECV			102
28 #define SSC_NETDEV_ATTACH		103
29 #define SSC_NETDEV_DETACH		104
30 
31 /*
32  * Simulator system call.
33  */
34 extern long ia64_ssc (long arg0, long arg1, long arg2, long arg3, int nr);
35 
36 #endif /* _IA64_PLATFORM_HPSIM_SSC_H */
37