Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |
| 8 | |
| 9 | /* Simulator system calls: */ |
| 10 | |
| 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 |
| 27 | |
| 28 | #define SSC_GET_ARGS 75 |
| 29 | |
| 30 | /* |
| 31 | * Simulator system call. |
| 32 | */ |
| 33 | extern long ssc (long arg0, long arg1, long arg2, long arg3, int nr); |
| 34 | |
| 35 | #endif /* ssc_h */ |