ia64/xen-unstable

view xen/arch/ia64/linux-xen/hpsim_ssc.h @ 6457:d34925e4144b

Stil more cleanup and moving to 2.6.13 base
author djm@kirby.fc.hp.com
date Thu Sep 01 11:09:27 2005 -0600 (2005-09-01)
parents
children
line source
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
11 /* Simulator system calls: */
13 #define SSC_CONSOLE_INIT 20
14 #define SSC_GETCHAR 21
15 #define SSC_PUTCHAR 31
16 #define SSC_CONNECT_INTERRUPT 58
17 #define SSC_GENERATE_INTERRUPT 59
18 #define SSC_SET_PERIODIC_INTERRUPT 60
19 #define SSC_GET_RTC 65
20 #define SSC_EXIT 66
21 #define SSC_LOAD_SYMBOLS 69
22 #define SSC_GET_TOD 74
23 #define SSC_CTL_TRACE 76
25 #define SSC_NETDEV_PROBE 100
26 #define SSC_NETDEV_SEND 101
27 #define SSC_NETDEV_RECV 102
28 #define SSC_NETDEV_ATTACH 103
29 #define SSC_NETDEV_DETACH 104
31 /*
32 * Simulator system call.
33 */
34 extern long ia64_ssc (long arg0, long arg1, long arg2, long arg3, int nr);
36 #ifdef XEN
37 /* Note: These are declared in linux/arch/ia64/hp/sim/simscsi.c but belong
38 * in linux/include/asm-ia64/hpsim_ssc.h, hence their addition here */
39 #define SSC_OPEN 50
40 #define SSC_CLOSE 51
41 #define SSC_READ 52
42 #define SSC_WRITE 53
43 #define SSC_GET_COMPLETION 54
44 #define SSC_WAIT_COMPLETION 55
46 #define SSC_WRITE_ACCESS 2
47 #define SSC_READ_ACCESS 1
49 struct ssc_disk_req {
50 unsigned long addr;
51 unsigned long len;
52 };
53 #endif
55 #endif /* _IA64_PLATFORM_HPSIM_SSC_H */