Merge tag 'for-linus-20171120' of git://git.infradead.org/linux-mtd
[sfrench/cifs-2.6.git] / arch / ia64 / hp / sim / boot / ssc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 1998-2003 Hewlett-Packard Co
4  *      David Mosberger-Tang <davidm@hpl.hp.com>
5  *      Stephane Eranian <eranian@hpl.hp.com>
6  */
7 #ifndef ssc_h
8 #define ssc_h
9
10 /* Simulator system calls: */
11
12 #define SSC_CONSOLE_INIT                20
13 #define SSC_GETCHAR                     21
14 #define SSC_PUTCHAR                     31
15 #define SSC_OPEN                        50
16 #define SSC_CLOSE                       51
17 #define SSC_READ                        52
18 #define SSC_WRITE                       53
19 #define SSC_GET_COMPLETION              54
20 #define SSC_WAIT_COMPLETION             55
21 #define SSC_CONNECT_INTERRUPT           58
22 #define SSC_GENERATE_INTERRUPT          59
23 #define SSC_SET_PERIODIC_INTERRUPT      60
24 #define SSC_GET_RTC                     65
25 #define SSC_EXIT                        66
26 #define SSC_LOAD_SYMBOLS                69
27 #define SSC_GET_TOD                     74
28
29 #define SSC_GET_ARGS                    75
30
31 /*
32  * Simulator system call.
33  */
34 extern long ssc (long arg0, long arg1, long arg2, long arg3, int nr);
35
36 #endif /* ssc_h */