~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to arch/x86/include/uapi/asm/hyperv.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#define HV_X64_MSR_VP_RUNTIME_AVAILABLE         (1 << 0)
28
28
/* Partition Reference Counter (HV_X64_MSR_TIME_REF_COUNT) available*/
29
29
#define HV_X64_MSR_TIME_REF_COUNT_AVAILABLE     (1 << 1)
 
30
 
 
31
/*
 
32
 * There is a single feature flag that signifies the presence of the MSR
 
33
 * that can be used to retrieve both the local APIC Timer frequency as
 
34
 * well as the TSC frequency.
 
35
 */
 
36
 
 
37
/* Local APIC timer frequency MSR (HV_X64_MSR_APIC_FREQUENCY) is available */
 
38
#define HV_X64_MSR_APIC_FREQUENCY_AVAILABLE (1 << 11)
 
39
 
 
40
/* TSC frequency MSR (HV_X64_MSR_TSC_FREQUENCY) is available */
 
41
#define HV_X64_MSR_TSC_FREQUENCY_AVAILABLE (1 << 11)
 
42
 
30
43
/*
31
44
 * Basic SynIC MSRs (HV_X64_MSR_SCONTROL through HV_X64_MSR_EOM
32
45
 * and HV_X64_MSR_SINT0 through HV_X64_MSR_SINT15) available
136
149
/* MSR used to read the per-partition time reference counter */
137
150
#define HV_X64_MSR_TIME_REF_COUNT               0x40000020
138
151
 
 
152
/* MSR used to retrieve the TSC frequency */
 
153
#define HV_X64_MSR_TSC_FREQUENCY                0x40000022
 
154
 
 
155
/* MSR used to retrieve the local APIC timer frequency */
 
156
#define HV_X64_MSR_APIC_FREQUENCY               0x40000023
 
157
 
139
158
/* Define the virtual APIC registers */
140
159
#define HV_X64_MSR_EOI                          0x40000070
141
160
#define HV_X64_MSR_ICR                          0x40000071