Changeset 91651 in vbox for trunk/include/iprt/nt
- Timestamp:
- Oct 10, 2021 12:23:28 AM (3 years ago)
- Location:
- trunk/include/iprt/nt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/hyperv.h
r84509 r91651 351 351 { 352 352 HvPartitionPropertyPrivilegeFlags = 0x00010000, 353 HvPartitionPropertySyntheticProcessorFeaturesBanks, /**< Read by WHvApi::Capabilities::GetSyntheticProcessorFeaturesBanks (build 22000) */ 353 354 354 355 HvPartitionPropertyCpuReserve = 0x00020001, … … 360 361 HvPartitionPropertyEmulatedTimerControl, /**< @note Fails on exo partition (build 17134). */ 361 362 HvPartitionPropertyPmTimerAssist, /**< @note Fails on exo partition (build 17134). */ 363 HvPartitionPropertyUnknown30003, /**< @note WHvSetupPartition writes this (build 22000). */ 364 HvPartitionPropertyUnknown30004, /**< ? */ 365 HvPartitionPropertyUnknown30005, /**< WHvPartitionPropertyCodeReferenceTime maps to this (build 22000) */ 362 366 363 367 HvPartitionPropertyDebugChannelId = 0x00040000, /**< @note Hangs system on exo partition hangs (build 17134). */ … … 369 373 HvPartitionPropertyUnknown50004, /**< On exo partition (build 17134), initial value zero. */ 370 374 HvPartitionPropertyUnknown50005, /**< On exo partition (build 17134), initial value one. */ 371 HvPartitionPropertyUnknown50006, /**< On exo partition (build 17134), initial value zero. */ 375 HvPartitionPropertyUnknown50006, /**< On exo partition (build 17134), initial value zero. 376 * @note build 22000/w11-ga fends this off in VID.SYS. */ 377 HvPartitionPropertyUnknown50007, 378 HvPartitionPropertyUnknown50008, 379 HvPartitionPropertyUnknown50009, 380 HvPartitionPropertyUnknown5000a, 381 HvPartitionPropertyUnknown5000b, 382 HvPartitionPropertyUnknown5000c, 383 HvPartitionPropertyUnknown5000d, 384 HvPartitionPropertyUnknown5000e, 385 HvPartitionPropertyUnknown5000f, 386 HvPartitionPropertyUnknown50010, 387 HvPartitionPropertyUnknown50012, 388 HvPartitionPropertyUnknown50013, /**< Set by WHvSetupPartition (build 22000) */ 389 HvPartitionPropertyUnknown50014, 390 HvPartitionPropertyUnknown50015, 391 HvPartitionPropertyUnknown50016, 392 HvPartitionPropertyUnknown50017, /**< Set by WHvSetupPartition (build 22000) */ 372 393 373 394 HvPartitionPropertyProcessorVendor = 0x00060000, … … 378 399 HvPartitionPropertyUnknown60005, /**< On exo partition (build 17134), initial value 0x603. */ 379 400 HvPartitionPropertyUnknown60006, /**< On exo partition (build 17134), initial value 0x2c. */ 401 HvPartitionPropertyUnknown60007, /**< WHvSetupPartition reads this (build 22000). */ 402 HvPartitionPropertyUnknown60008, /**< WHvSetupPartition reads this (build 22000). */ 403 HvPartitionPropertyProcessorClockFrequency, /**< Read by WHvApi::Capabilities::GetProcessorClockFrequency (build 22000). */ 404 HvPartitionPropertyProcessorFeaturesBank0, /**< Read by WHvApi::Capabilities::GetProcessorFeaturesBanks (build 22000). */ 405 HvPartitionPropertyProcessorFeaturesBank1, /**< Read by WHvApi::Capabilities::GetProcessorFeaturesBanks (build 22000). */ 380 406 381 407 HvPartitionPropertyGuestOsId = 0x00070000, /**< @since v4 */ -
trunk/include/iprt/nt/vid.h
r82968 r91651 147 147 * The partition ID is the numeric identifier used when making hypercalls to the 148 148 * hypervisor. 149 * 150 * @note Starting with Windows 11 (or possibly earlier), this does not work on 151 * Exo partition as created by WHvCreatePartition. It returns a 152 * STATUS_NOT_IMPLEMENTED as the I/O control code is not allowed through. 153 * All partitions has an ID though, so just pure annoying blockheadedness 154 * sprung upon us w/o any chance of doing a memory managment rewrite in 155 * time. 149 156 */ 150 157 DECLIMPORT(BOOL) VIDAPI VidGetHvPartitionId(VID_PARTITION_HANDLE hPartition, HV_PARTITION_ID *pidPartition); 158 159 /** 160 * Get a partition property. 161 * 162 * @returns Success indicator (details in LastErrorValue). 163 * @param hPartition The partition handle. 164 * @param enmProperty The property to get. 165 * @param puValue Where to return the property value. 166 */ 167 DECLIMPORT(BOOL) VIDAPI VidGetPartitionProperty(VID_PARTITION_HANDLE hPartition, HV_PARTITION_PROPERTY_CODE enmProperty, 168 PHV_PARTITION_PROPERTY puValue); 169 170 /** 171 * @copydoc VidGetPartitionProperty 172 * @note Currently (Windows 11 GA) identical to VidGetPartitionProperty. 173 */ 174 DECLIMPORT(BOOL) VIDAPI VidGetExoPartitionProperty(VID_PARTITION_HANDLE hPartition, HV_PARTITION_PROPERTY_CODE enmProperty, 175 PHV_PARTITION_PROPERTY puValue); 151 176 152 177 /**
Note:
See TracChangeset
for help on using the changeset viewer.