bitkeeper revision 1.840 (406fb762yj36s7Fm0uyl3kIEsKNlTw)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Sun, 4 Apr 2004 07:21:06 +0000 (07:21 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Sun, 4 Apr 2004 07:21:06 +0000 (07:21 +0000)
xc_domain.c, xc.h:
  Fix a build warning.

tools/xc/lib/xc.h
tools/xc/lib/xc_domain.c

index 0abd00989e2a10adf810fe48b132d5ad72e01664..48b296b40a9b0f43ba5fa63e4cdbac8423395eeb 100644 (file)
@@ -53,6 +53,10 @@ int xc_domain_getinfo(int xc_handle,
                       unsigned int max_doms,
                       xc_dominfo_t *info);
 
+int xc_shadow_control(int xc_handle,
+                      u64 domid, 
+                      unsigned int sop);
+
 int xc_linux_save(int xc_handle,
                   u64 domid, 
                   const char *state_file, 
@@ -83,7 +87,7 @@ int xc_bvtsched_domain_set(int xc_handle,
                            unsigned long warpu);
 
 int xc_bvtsched_global_get(int xc_handle,
-                          unsigned long *ctx_allow);
+                           unsigned long *ctx_allow);
 
 int xc_bvtsched_domain_get(int xc_handle,
                            u64 domid,
@@ -93,20 +97,18 @@ int xc_bvtsched_domain_get(int xc_handle,
                            unsigned long *warpu);
 
 int xc_atropos_domain_set(int xc_handle,
-                         u64 domid,
-                         u64 period, u64 slice, u64 latency,
-                         int xtratime);
+                          u64 domid,
+                          u64 period, u64 slice, u64 latency,
+                          int xtratime);
 
 int xc_atropos_domain_get(int xc_handle,
                           u64 domid,
                           u64* period, u64 *slice, u64 *latency,
                           int *xtratime);
 
-int xc_rrobin_global_set(int xc_handle,
-                        u64 slice);
+int xc_rrobin_global_set(int xc_handle, u64 slice);
 
-int xc_rrobin_global_get(int xc_handle,
-                         u64 *slice);
+int xc_rrobin_global_get(int xc_handle, u64 *slice);
 
 typedef struct {
     unsigned long credit_bytes;
@@ -231,6 +233,6 @@ int xc_readconsolering(int xc_handle,
                        int clear);
 
 int xc_physinfo(int xc_handle,
-               xc_physinfo_t *info);
+                xc_physinfo_t *info);
 
 #endif /* __XC_H__ */
index 1d7da0442bb5383c5e826c58af6e66dfeee4b7d0..e4d2fc09819bf7c1270cc308995a3aee325f989d 100644 (file)
@@ -104,12 +104,12 @@ int xc_domain_getinfo(int xc_handle,
 }
 
 int xc_shadow_control(int xc_handle,
-                     u64 domid, 
-                     unsigned int sop)
+                      u64 domid, 
+                      unsigned int sop)
 {
     dom0_op_t op;
     op.cmd = DOM0_SHADOW_CONTROL;
     op.u.shadow_control.domain = (domid_t)domid;
-    op.u.shadow_control.op  = sop;
+    op.u.shadow_control.op     = sop;
     return do_dom0_op(xc_handle, &op);
 }