ssc.h 828 B

123456789101112131415161718192021222324252627282930313233343536
  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. /* Simulator system calls: */
  10. #define SSC_CONSOLE_INIT 20
  11. #define SSC_GETCHAR 21
  12. #define SSC_PUTCHAR 31
  13. #define SSC_OPEN 50
  14. #define SSC_CLOSE 51
  15. #define SSC_READ 52
  16. #define SSC_WRITE 53
  17. #define SSC_GET_COMPLETION 54
  18. #define SSC_WAIT_COMPLETION 55
  19. #define SSC_CONNECT_INTERRUPT 58
  20. #define SSC_GENERATE_INTERRUPT 59
  21. #define SSC_SET_PERIODIC_INTERRUPT 60
  22. #define SSC_GET_RTC 65
  23. #define SSC_EXIT 66
  24. #define SSC_LOAD_SYMBOLS 69
  25. #define SSC_GET_TOD 74
  26. #define SSC_GET_ARGS 75
  27. /*
  28. * Simulator system call.
  29. */
  30. extern long ssc (long arg0, long arg1, long arg2, long arg3, int nr);
  31. #endif /* ssc_h */