Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/utilities/hv_utilreg.h
Show All 23 Lines | |||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _HV_UTILREG_H_ | #ifndef _HV_UTILREG_H_ | ||||
#define _HV_UTILREG_H_ | #define _HV_UTILREG_H_ | ||||
/* | |||||
* Some Hyper-V status codes. | |||||
*/ | |||||
#define HV_S_OK 0x00000000 | #define HV_S_OK 0x00000000 | ||||
#define HV_E_FAIL 0x80004005 | #define HV_E_FAIL 0x80004005 | ||||
#define HV_S_CONT 0x80070103 | |||||
#define HV_ERROR_NOT_SUPPORTED 0x80070032 | #define HV_ERROR_NOT_SUPPORTED 0x80070032 | ||||
#define HV_ERROR_MACHINE_LOCKED 0x800704F7 | #define HV_ERROR_MACHINE_LOCKED 0x800704F7 | ||||
#define HV_ERROR_DEVICE_NOT_CONNECTED 0x8007048F | |||||
#define HV_INVALIDARG 0x80070057 | |||||
#define HV_GUID_NOTFOUND 0x80041002 | |||||
/* | /* | ||||
* Common defines for Hyper-V ICs | * Common defines for Hyper-V ICs | ||||
*/ | */ | ||||
#define HV_ICMSGTYPE_NEGOTIATE 0 | #define HV_ICMSGTYPE_NEGOTIATE 0 | ||||
#define HV_ICMSGTYPE_HEARTBEAT 1 | #define HV_ICMSGTYPE_HEARTBEAT 1 | ||||
#define HV_ICMSGTYPE_KVPEXCHANGE 2 | #define HV_ICMSGTYPE_KVPEXCHANGE 2 | ||||
#define HV_ICMSGTYPE_SHUTDOWN 3 | #define HV_ICMSGTYPE_SHUTDOWN 3 | ||||
Show All 36 Lines |