1
2
3
4
5
6
7
8
9
10 #ifndef _ASM_HYPFS_H
11 #define _ASM_HYPFS_H
12
13 #include <linux/types.h>
14
15
16
17
18 struct hypfs_diag304 {
19 __u32 args[2];
20 __u64 data;
21 __u64 rc;
22 } __attribute__((packed));
23
24 #define HYPFS_IOCTL_MAGIC 0x10
25
26 #define HYPFS_DIAG304 \
27 _IOWR(HYPFS_IOCTL_MAGIC, 0x20, struct hypfs_diag304)
28
29
30
31
32 struct hypfs_diag0c_hdr {
33 __u64 len;
34 __u16 version;
35 char reserved1[6];
36 char tod_ext[16];
37 __u64 count;
38 char reserved2[24];
39 };
40
41 struct hypfs_diag0c_entry {
42 char date[8];
43 char time[8];
44 __u64 virtcpu;
45 __u64 totalproc;
46 __u32 cpu;
47 __u32 reserved;
48 };
49
50 struct hypfs_diag0c_data {
51 struct hypfs_diag0c_hdr hdr;
52 struct hypfs_diag0c_entry entry[];
53 };
54
55 #endif