Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162213
b: refs/heads/master
c: b4f3fda
h: refs/heads/master
i:
  162211: 2f8aaad
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 15, 2009
1 parent a72e891 commit 861b9a9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 31 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cba4decdd3dcd224b17631572456951aace0a27e
refs/heads/master: b4f3fda5d475931d596d5cf599a193f42b857594
4 changes: 2 additions & 2 deletions trunk/drivers/staging/hv/include/HvSynicApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ typedef struct _HV_PORT_INFO
struct
{
HV_SYNIC_SINT_INDEX TargetSint;
HV_VP_INDEX TargetVp;
u32 TargetVp;
u64 RsvdZ;
} MessagePortInfo;

struct
{
HV_SYNIC_SINT_INDEX TargetSint;
HV_VP_INDEX TargetVp;
u32 TargetVp;
u16 BaseFlagNumber;
u16 FlagCount;
u32 RsvdZ;
Expand Down
50 changes: 22 additions & 28 deletions trunk/drivers/staging/hv/include/HvVpApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,26 @@
* Hank Janssen <hjanssen@microsoft.com>
*
*/
#ifndef __HVVPAPI_H
#define __HVVPAPI_H


#pragma once

/* Virtual Processor Indices */

typedef u32 HV_VP_INDEX, *PHV_VP_INDEX;


/* The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent */
/* is set by CPUID(HvCpuIdFunctionVersionAndFeatures). */
/* ========================================================================== */


typedef enum _HV_CPUID_FUNCTION
{
HvCpuIdFunctionVersionAndFeatures = 0x00000001,
HvCpuIdFunctionHvVendorAndMaxFunction = 0x40000000,
HvCpuIdFunctionHvInterface = 0x40000001,


/* The remaining functions depend on the value of HvCpuIdFunctionInterface */

HvCpuIdFunctionMsHvVersion = 0x40000002,
HvCpuIdFunctionMsHvFeatures = 0x40000003,
HvCpuIdFunctionMsHvEnlightenmentInformation = 0x40000004,
HvCpuIdFunctionMsHvImplementationLimits = 0x40000005

} HV_CPUID_FUNCTION, *PHV_CPUID_FUNCTION;
/*
* The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent
* is set by CPUID(HvCpuIdFunctionVersionAndFeatures).
*/
enum hv_cpuid_function {
HvCpuIdFunctionVersionAndFeatures = 0x00000001,
HvCpuIdFunctionHvVendorAndMaxFunction = 0x40000000,
HvCpuIdFunctionHvInterface = 0x40000001,

/*
* The remaining functions depend on the value of
* HvCpuIdFunctionInterface
*/
HvCpuIdFunctionMsHvVersion = 0x40000002,
HvCpuIdFunctionMsHvFeatures = 0x40000003,
HvCpuIdFunctionMsHvEnlightenmentInformation = 0x40000004,
HvCpuIdFunctionMsHvImplementationLimits = 0x40000005,
};

#endif

0 comments on commit 861b9a9

Please sign in to comment.