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