Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / ia64 / hp / sim / boot / ssc.h
blob3b94c03e43a97381f643f71c16fe78a53695ad37
1 /*
2 * Copyright (C) 1998-2003 Hewlett-Packard Co
3 * David Mosberger-Tang <davidm@hpl.hp.com>
4 * Stephane Eranian <eranian@hpl.hp.com>
5 */
6 #ifndef ssc_h
7 #define ssc_h
9 /* Simulator system calls: */
11 #define SSC_CONSOLE_INIT 20
12 #define SSC_GETCHAR 21
13 #define SSC_PUTCHAR 31
14 #define SSC_OPEN 50
15 #define SSC_CLOSE 51
16 #define SSC_READ 52
17 #define SSC_WRITE 53
18 #define SSC_GET_COMPLETION 54
19 #define SSC_WAIT_COMPLETION 55
20 #define SSC_CONNECT_INTERRUPT 58
21 #define SSC_GENERATE_INTERRUPT 59
22 #define SSC_SET_PERIODIC_INTERRUPT 60
23 #define SSC_GET_RTC 65
24 #define SSC_EXIT 66
25 #define SSC_LOAD_SYMBOLS 69
26 #define SSC_GET_TOD 74
28 #define SSC_GET_ARGS 75
31 * Simulator system call.
33 extern long ssc (long arg0, long arg1, long arg2, long arg3, int nr);
35 #endif /* ssc_h */