mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
Staging: hv: remove HANDLE typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
06d2e318b7
commit
44f357f835
3 changed files with 4 additions and 5 deletions
|
@ -235,8 +235,8 @@ HvInit (
|
||||||
|
|
||||||
DPRINT_ENTER(VMBUS);
|
DPRINT_ENTER(VMBUS);
|
||||||
|
|
||||||
memset(gHvContext.synICEventPage, 0, sizeof(HANDLE)*MAX_NUM_CPUS);
|
memset(gHvContext.synICEventPage, 0, sizeof(void *) * MAX_NUM_CPUS);
|
||||||
memset(gHvContext.synICMessagePage, 0, sizeof(HANDLE)*MAX_NUM_CPUS);
|
memset(gHvContext.synICMessagePage, 0, sizeof(void *) * MAX_NUM_CPUS);
|
||||||
|
|
||||||
if (!HvQueryHypervisorPresence())
|
if (!HvQueryHypervisorPresence())
|
||||||
{
|
{
|
||||||
|
|
|
@ -119,8 +119,8 @@ typedef struct {
|
||||||
HV_INPUT_SIGNAL_EVENT_BUFFER *SignalEventBuffer;
|
HV_INPUT_SIGNAL_EVENT_BUFFER *SignalEventBuffer;
|
||||||
HV_INPUT_SIGNAL_EVENT *SignalEventParam; /* 8-bytes aligned of the buffer above */
|
HV_INPUT_SIGNAL_EVENT *SignalEventParam; /* 8-bytes aligned of the buffer above */
|
||||||
|
|
||||||
HANDLE synICMessagePage[MAX_NUM_CPUS];
|
void *synICMessagePage[MAX_NUM_CPUS];
|
||||||
HANDLE synICEventPage[MAX_NUM_CPUS];
|
void *synICEventPage[MAX_NUM_CPUS];
|
||||||
} HV_CONTEXT;
|
} HV_CONTEXT;
|
||||||
|
|
||||||
extern HV_CONTEXT gHvContext;
|
extern HV_CONTEXT gHvContext;
|
||||||
|
|
|
@ -46,7 +46,6 @@ typedef struct _DLIST_ENTRY {
|
||||||
/* Other types */
|
/* Other types */
|
||||||
|
|
||||||
/* typedef unsigned char GUID[16]; */
|
/* typedef unsigned char GUID[16]; */
|
||||||
typedef void* HANDLE;
|
|
||||||
|
|
||||||
typedef void (*PFN_WORKITEM_CALLBACK)(void* context);
|
typedef void (*PFN_WORKITEM_CALLBACK)(void* context);
|
||||||
typedef void (*PFN_TIMER_CALLBACK)(void* context);
|
typedef void (*PFN_TIMER_CALLBACK)(void* context);
|
||||||
|
|
Loading…
Reference in a new issue