Change structures exposed to the guest to not use Bool -
- while currently Bool is defined as char, we might use C's
_Bool or C++'s bool for booleans - and neither standard
mandates _Bool/bool to be 1 byte.
typedef
#include "vmware_pack_begin.h"
struct Vmxnet3_IntrConf {
- Bool autoMask;
+ uint8 autoMask; /* on/off flag */
uint8 numIntrs; /* # of interrupts */
uint8 eventIntrIdx;
uint8 modLevels[VMXNET3_MAX_INTRS]; /* moderation level for each intr */
typedef
#include "vmware_pack_begin.h"
struct Vmxnet3_QueueStatus {
- Bool stopped;
+ uint8 stopped; /* on/off flag */
uint8 _pad[3];
__le32 error;
}
typedef
#include "vmware_pack_begin.h"
struct Vmxnet3_RxQueueCtrl {
- Bool updateRxProd;
+ uint8 updateRxProd; /* on/off flag */
uint8 _pad[7];
__le64 reserved;
}