hpsim_ssc.h 950 B

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