ia64/xen-unstable

view xen/include/public/acm_ops.h @ 6788:e939d5c5e646

Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter can get the namespace/packages correct.
author ewan@linford.intra
date Tue Sep 13 14:42:21 2005 +0100 (2005-09-13)
parents 291e816acbf4
children b2f4823b6ff0 b35215021b32 9af349b055e5 3233e7ecfa9f
line source
2 /******************************************************************************
3 * acm_ops.h
4 *
5 * Copyright (C) 2005 IBM Corporation
6 *
7 * Author:
8 * Reiner Sailer <sailer@watson.ibm.com>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation, version 2 of the
13 * License.
14 *
15 * Process acm policy command requests from guest OS.
16 * access checked by policy; not restricted to DOM0
17 *
18 */
20 #ifndef __XEN_PUBLIC_ACM_OPS_H__
21 #define __XEN_PUBLIC_ACM_OPS_H__
23 #include "xen.h"
24 #include "sched_ctl.h"
26 /*
27 * Make sure you increment the interface version whenever you modify this file!
28 * This makes sure that old versions of acm tools will stop working in a
29 * well-defined way (rather than crashing the machine, for instance).
30 */
31 #define ACM_INTERFACE_VERSION 0xAAAA0004
33 /************************************************************************/
35 #define ACM_SETPOLICY 4
36 typedef struct acm_setpolicy {
37 /* OUT variables */
38 void *pushcache;
39 u16 pushcache_size;
40 } acm_setpolicy_t;
43 #define ACM_GETPOLICY 5
44 typedef struct acm_getpolicy {
45 /* OUT variables */
46 void *pullcache;
47 u16 pullcache_size;
48 } acm_getpolicy_t;
51 #define ACM_DUMPSTATS 6
52 typedef struct acm_dumpstats {
53 void *pullcache;
54 u16 pullcache_size;
55 } acm_dumpstats_t;
58 #define ACM_GETSSID 7
59 enum get_type {UNSET, SSIDREF, DOMAINID};
60 typedef struct acm_getssid {
61 enum get_type get_ssid_by;
62 union {
63 domaintype_t domainid;
64 ssidref_t ssidref;
65 } id;
66 void *ssidbuf;
67 u16 ssidbuf_size;
68 } acm_getssid_t;
70 typedef struct acm_op {
71 u32 cmd;
72 u32 interface_version; /* ACM_INTERFACE_VERSION */
73 union {
74 acm_setpolicy_t setpolicy;
75 acm_getpolicy_t getpolicy;
76 acm_dumpstats_t dumpstats;
77 acm_getssid_t getssid;
78 } u;
79 } acm_op_t;
81 #endif /* __XEN_PUBLIC_ACM_OPS_H__ */