ssc.h 789 B

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