Changeset 13196 in vbox for trunk/include/VBox
- Timestamp:
- Oct 13, 2008 8:49:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hwacc_vmx.h
r13195 r13196 1380 1380 * @returns VBox status code 1381 1381 * @param idxField VMCS index 1382 * @param u64Val 16, 32 or 64 bits value1383 */1384 #if HC_ARCH_BITS == 641385 DECLASM(int) VMXWriteVMCS64(uint32_t idxField, uint64_t u64Val);1386 #else1387 DECLINLINE(int) VMXWriteVMCS64(uint32_t idxField, uint64_t u64Val)1388 {1389 int rc;1390 1391 rc = VMXWriteVMCS32(idxField, u64Val);1392 rc |= VMXWriteVMCS32(idxField+1, u64Val >> 32ULL);1393 return rc;1394 }1395 #endif1396 1397 /**1398 * Executes VMWRITE1399 *1400 * @returns VBox status code1401 * @param idxField VMCS index1402 1382 * @param u32Val 32 bits value 1403 1383 */ … … 1448 1428 } 1449 1429 # endif 1430 return rc; 1431 } 1432 #endif 1433 1434 /** 1435 * Executes VMWRITE 1436 * 1437 * @returns VBox status code 1438 * @param idxField VMCS index 1439 * @param u64Val 16, 32 or 64 bits value 1440 */ 1441 #if HC_ARCH_BITS == 64 1442 DECLASM(int) VMXWriteVMCS64(uint32_t idxField, uint64_t u64Val); 1443 #else 1444 DECLINLINE(int) VMXWriteVMCS64(uint32_t idxField, uint64_t u64Val) 1445 { 1446 int rc; 1447 1448 rc = VMXWriteVMCS32(idxField, u64Val); 1449 rc |= VMXWriteVMCS32(idxField+1, u64Val >> 32ULL); 1450 1450 return rc; 1451 1451 }
Note:
See TracChangeset
for help on using the changeset viewer.