Changeset 74651 in vbox for trunk/include/iprt
- Timestamp:
- Oct 7, 2018 12:06:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/hyperv.h
r74508 r74651 37 37 # define AssertCompileSize(type, size) 38 38 # define AssertCompileMemberOffset(type, member, off) 39 typedef unsigned char uint8_t; 40 typedef unsigned __int32 uint32_t; 41 typedef unsigned __int64 uint64_t; 39 42 #endif 40 43 … … 197 200 HvCallPrecommitGpaPages = 0xbe, 198 201 HvCallUncommitGpaPages, /**< Happens when VidDestroyGpaRangeCheckSecure/WHvUnmapGpaRange is called. */ 199 /* 0xc0 ..0xcb areunknown */202 /* 0xc0 is unknown */ 200 203 HvCallVpRunloopRelated = 0xc2, /**< Fast */ 204 /* 0xc3..0xcb are unknown */ 201 205 HvCallQueryVtlProtectionMaskRange = 0xcc, 202 206 HvCallModifyVtlProtectionMaskRange, … … 208 212 HvCallReleaseSparseSpaPageHostAccess, 209 213 HvCallAcceptGpaPages, /**< 0x18 byte input, zero rep, no output. */ 210 214 /* 0xda..0xe0 are unknown (not dug out yet) */ 215 HvCallMapVpRegisterPage = 0xe1, /**< Takes partition id + VP index (16 bytes). Returns a physical address (8 bytes). */ 216 HvCallUnmapVpRegisterPage, /**< Takes partition id + VP index. */ 217 HvCallUnknownE3, 218 HvCallUnknownE4, 219 HvCallUnknownE5, 220 HvCallUnknownE6, 211 221 /** Number of defined hypercalls (varies with version). */ 212 222 HvCallCount … … 220 230 AssertCompile(HvCallFlushGuestPhysicalAddressList == 0xb0); 221 231 AssertCompile(HvCallUncommitGpaPages == 0xbf); 222 AssertCompile(HvCallCount == 0x da);232 AssertCompile(HvCallCount == 0xe7); 223 233 224 234 /** Makes the first parameter to a hypercall (rcx). */ … … 549 559 { 550 560 uint64_t CacheType : 8; /**< HV_CACHE_TYPE */ 561 #ifndef IN_IDA_PRO 551 562 uint64_t Reserved : 56; 563 #endif 552 564 }; 553 565 } HV_ACCESS_GPA_CONTROL_FLAGS; … … 975 987 { 976 988 uint64_t Suspended : 1; 989 #ifndef IN_IDA_PRO 977 990 uint64_t Reserved : 63; 991 #endif 978 992 }; 979 993 } HV_EXPLICIT_SUSPEND_REGISTER; … … 989 1003 uint64_t Suspended : 1; 990 1004 uint64_t TlbLocked : 1; 1005 #ifndef IN_IDA_PRO 991 1006 uint64_t Reserved : 62; 1007 #endif 992 1008 }; 993 1009 } HV_INTERCEPT_SUSPEND_REGISTER; … … 1004 1020 uint64_t InterruptShadow : 1; 1005 1021 uint64_t NmiMasked : 1; 1022 #ifndef IN_IDA_PRO 1006 1023 uint64_t Reserved : 62; 1024 #endif 1007 1025 }; 1008 1026 } HV_X64_INTERRUPT_STATE_REGISTER; … … 1052 1070 uint64_t InterruptNotification : 1; 1053 1071 uint64_t InterruptPriority : 4; 1072 #ifndef IN_IDA_PRO 1054 1073 uint64_t Reserved : 58; 1074 #endif 1055 1075 }; 1056 1076 } HV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTER; … … 1109 1129 uint64_t BiasedExponent : 15; 1110 1130 uint64_t Sign : 1; 1131 #ifndef IN_IDA_PRO 1111 1132 uint64_t Reserved : 48; 1133 #endif 1112 1134 }; 1113 1135 } HV_X64_FP_REGISTER;
Note:
See TracChangeset
for help on using the changeset viewer.