hpsim_ssc.h 989 B

12345678910111213141516171819202122232425262728293031323334353637
  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. /* Simulator system calls: */
  12. #define SSC_CONSOLE_INIT 20
  13. #define SSC_GETCHAR 21
  14. #define SSC_PUTCHAR 31
  15. #define SSC_CONNECT_INTERRUPT 58
  16. #define SSC_GENERATE_INTERRUPT 59
  17. #define SSC_SET_PERIODIC_INTERRUPT 60
  18. #define SSC_GET_RTC 65
  19. #define SSC_EXIT 66
  20. #define SSC_LOAD_SYMBOLS 69
  21. #define SSC_GET_TOD 74
  22. #define SSC_CTL_TRACE 76
  23. #define SSC_NETDEV_PROBE 100
  24. #define SSC_NETDEV_SEND 101
  25. #define SSC_NETDEV_RECV 102
  26. #define SSC_NETDEV_ATTACH 103
  27. #define SSC_NETDEV_DETACH 104
  28. /*
  29. * Simulator system call.
  30. */
  31. extern long ia64_ssc (long arg0, long arg1, long arg2, long arg3, int nr);
  32. #endif /* _IA64_PLATFORM_HPSIM_SSC_H */