VMBUS_CHANNEL* newChannel=(VMBUS_CHANNEL*)context;
LIST_ENTRY* anchor;
LIST_ENTRY* curr;
- BOOL fNew=TRUE;
+ bool fNew=TRUE;
VMBUS_CHANNEL* channel;
DPRINT_ENTER(VMBUS);
u64 GuestId; // XenLinux or native Linux. If XenLinux, the hypercall and synic pages has already been initialized
void* HypercallPage;
- BOOL SynICInitialized;
+ bool SynICInitialized;
// This is used as an input param to HvCallSignalEvent hypercall. The input param is immutable
// in our usage and must be dynamic mem (vs stack or global).
HV_INPUT_SIGNAL_EVENT_BUFFER *SignalEventBuffer;
DEVICE_OBJECT *device = (DEVICE_OBJECT*)packet->Device;
NETVSC_DEVICE* netDevice;
u64 transactionId=0;
- BOOL fSendReceiveComp = FALSE;
+ bool fSendReceiveComp = FALSE;
DPRINT_ENTER(NETVSC);
LIST_ENTRY *anchor;
LIST_ENTRY *curr;
RNDIS_REQUEST *request=NULL;
- BOOL found=FALSE;
+ bool found=FALSE;
DPRINT_ENTER(NETVSC);
typedef struct _VMBUS_CHANNEL_VERSION_SUPPORTED
{
VMBUS_CHANNEL_MESSAGE_HEADER Header;
- BOOLEAN VersionSupported;
+ bool VersionSupported;
} VMBUS_CHANNEL_VERSION_SUPPORTED, *PVMBUS_CHANNEL_VERSION_SUPPORTED;
// Offer Channel parameters
VMBUS_CHANNEL_OFFER Offer;
u32 ChildRelId;
u8 MonitorId;
- BOOLEAN MonitorAllocated;
+ bool MonitorAllocated;
} VMBUS_CHANNEL_OFFER_CHANNEL, *PVMBUS_CHANNEL_OFFER_CHANNEL;
//
typedef struct _VMBUS_CHANNEL_VERSION_RESPONSE
{
VMBUS_CHANNEL_MESSAGE_HEADER Header;
- BOOLEAN VersionSupported;
+ bool VersionSupported;
} VMBUS_CHANNEL_VERSION_RESPONSE, *PVMBUS_CHANNEL_VERSION_RESPONSE;
typedef VMBUS_CHANNEL_MESSAGE_HEADER VMBUS_CHANNEL_UNLOAD, *PVMBUS_CHANNEL_UNLOAD;
/*
- * BOOLEAN
+ * bool
* IsListEmpty(
* PLIST_ENTRY ListHead
* );
DLIST_ENTRY ListEntry;
DEVICE_OBJECT *Device;
- BOOL IsDataPacket;
+ bool IsDataPacket;
// Valid only for receives when we break a xfer page packet into multiple netvsc packets
XFERPAGE_PACKET *XferPagePacket;
typedef struct _NETVSC_DEVICE_INFO {
unsigned char MacAddr[6];
- BOOL LinkState; // 0 - link up, 1 - link down
+ bool LinkState; // 0 - link up, 1 - link down
} NETVSC_DEVICE_INFO;
//
#endif
u16 TransferPageSetId;
- BOOLEAN SenderOwnsSet;
+ bool SenderOwnsSet;
u8 Reserved;
u32 RangeCount;
VMTRANSFER_PAGE_RANGE Ranges[1];
// Other types
//
//typedef unsigned char GUID[16];
-typedef unsigned char BOOL;
-typedef unsigned char BOOLEAN;
typedef void* HANDLE;
typedef struct {