Changeset 13838 in vbox
- Timestamp:
- Nov 5, 2008 3:16:55 AM (16 years ago)
- Location:
- trunk/src
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp
r13837 r13838 494 494 rc = VERR_NO_MEMORY; 495 495 ExFreePool(pvBalloon); 496 AssertMsgFailed(("IoAllocateMdl % VGv%x failed!!\n", pvBalloon, VMMDEV_MEMORY_BALLOON_CHUNK_SIZE));496 AssertMsgFailed(("IoAllocateMdl %p %x failed!!\n", pvBalloon, VMMDEV_MEMORY_BALLOON_CHUNK_SIZE)); 497 497 goto end; 498 498 } -
trunk/src/VBox/Frontends/VBoxBFE/HostUSBImpl.cpp
r13837 r13838 242 242 void *pvRemote = NULL; 243 243 244 LogFlowMember (("Console::AttachUSBDevice: Proxying USB device '%s' % Vuuid...\n", Address.c_str(), &Uuid));244 LogFlowMember (("Console::AttachUSBDevice: Proxying USB device '%s' %Ruuid...\n", Address.c_str(), &Uuid)); 245 245 PVMREQ pReq; 246 246 vrc = VMR3ReqCall (mpVM, VMREQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, … … 255 255 else 256 256 { 257 Log (("Console::AttachUSBDevice: Failed to create proxy device for '%s' % Vuuid, vrc=%Rrc\n", Address.c_str(),257 Log (("Console::AttachUSBDevice: Failed to create proxy device for '%s' %Ruuid, vrc=%Rrc\n", Address.c_str(), 258 258 &Uuid, vrc)); 259 259 AssertRC (vrc); … … 301 301 302 302 RTUUID Uuid = aDevice->id(); 303 LogFlowMember (("Console::DetachUSBDevice: Detaching USB proxy device % Vuuid...\n", &Uuid));303 LogFlowMember (("Console::DetachUSBDevice: Detaching USB proxy device %Ruuid...\n", &Uuid)); 304 304 PVMREQ pReq; 305 305 vrc = VMR3ReqCall (mpVM, VMREQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)pRhConfig->pfnDestroyProxyDevice, -
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r13837 r13838 709 709 rc = RTStrToInt32Ex(argv[curArg], NULL, 0, &g_aNetDevs[i].fd); 710 710 if (RT_FAILURE(rc)) 711 return SyntaxError("bad tap file descriptor: %s (error % VRc)\n", argv[curArg], rc);711 return SyntaxError("bad tap file descriptor: %s (error %Rrc)\n", argv[curArg], rc); 712 712 g_aNetDevs[i].fHaveFd = true; 713 713 } … … 722 722 rc = RTStrToInt32Ex(argv[curArg], NULL, 0, &portVRDP); 723 723 if (RT_FAILURE(rc)) 724 return SyntaxError("cannot vrpd port: %s (% VRc)\n", argv[curArg], rc);724 return SyntaxError("cannot vrpd port: %s (%Rrc)\n", argv[curArg], rc); 725 725 if (portVRDP < 0 || portVRDP >= 0x10000) 726 726 return SyntaxError("vrdp port number is out of range: %RI32\n", portVRDP); -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r13837 r13838 2813 2813 machine->COMGETTER(Name)(name.asOutParam()); 2814 2814 machine->COMGETTER(Id)(uuid.asOutParam()); 2815 RTPrintf("%s%lS (UUID: % Vuuid)\n",2815 RTPrintf("%s%lS (UUID: %Ruuid)\n", 2816 2816 j == 0 ? "Usage: " : " ", 2817 2817 name.raw(), &machineIds[j]); … … 6503 6503 machine->COMGETTER(Name)(name.asOutParam()); 6504 6504 machine->COMGETTER(Id)(uuid.asOutParam()); 6505 RTPrintf("%s%lS (UUID: % Vuuid)\n",6505 RTPrintf("%s%lS (UUID: %Ruuid)\n", 6506 6506 j == 0 ? "In use by VMs: " : " ", 6507 6507 name.raw(), &machineIds[j]); -
trunk/src/VBox/HostDrivers/Support/testcase/tstLow.cpp
r13837 r13838 65 65 for (unsigned iPage = 0; iPage < RT_ELEMENTS(aPages0); iPage++) 66 66 { 67 RTPrintf("%-4d: Phys=% VHp Reserved=%p\n", iPage, aPages0[iPage].Phys, aPages0[iPage].uReserved);67 RTPrintf("%-4d: Phys=%RHp Reserved=%p\n", iPage, aPages0[iPage].Phys, aPages0[iPage].uReserved); 68 68 if (aPages0[iPage].uReserved != 0) 69 69 { … … 75 75 { 76 76 rcRet++; 77 RTPrintf("tstLow: error: aPages0[%d].Phys=% VHp!\n", iPage, aPages0[iPage].Phys);77 RTPrintf("tstLow: error: aPages0[%d].Phys=%RHp!\n", iPage, aPages0[iPage].Phys); 78 78 } 79 79 } … … 113 113 for (unsigned iPage = 0; iPage < cPages; iPage++) 114 114 { 115 RTPrintf("%-4d::%-4d: Phys=% VHp Reserved=%p\n", cPages, iPage, aPages1[iPage].Phys, aPages1[iPage].uReserved);115 RTPrintf("%-4d::%-4d: Phys=%RHp Reserved=%p\n", cPages, iPage, aPages1[iPage].Phys, aPages1[iPage].uReserved); 116 116 if (aPages1[iPage].uReserved != 0) 117 117 { … … 123 123 { 124 124 rcRet++; 125 RTPrintf("tstLow: error: aPages1[%d].Phys=% VHp!\n", iPage, aPages1[iPage].Phys);125 RTPrintf("tstLow: error: aPages1[%d].Phys=%RHp!\n", iPage, aPages1[iPage].Phys); 126 126 } 127 127 } -
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r13837 r13838 1524 1524 { 1525 1525 Log(("RTFileSetTimes failed with %Rrc\n", rc)); 1526 Log(("AccessTime % VX64\n", RTTimeSpecGetNano(&pSFDEntry->AccessTime)));1527 Log(("ModificationTime % VX64\n", RTTimeSpecGetNano(&pSFDEntry->ModificationTime)));1528 Log(("ChangeTime % VX64\n", RTTimeSpecGetNano(&pSFDEntry->ChangeTime)));1529 Log(("BirthTime % VX64\n", RTTimeSpecGetNano(&pSFDEntry->AccessTime)));1526 Log(("AccessTime %RX64\n", RTTimeSpecGetNano(&pSFDEntry->AccessTime))); 1527 Log(("ModificationTime %RX64\n", RTTimeSpecGetNano(&pSFDEntry->ModificationTime))); 1528 Log(("ChangeTime %RX64\n", RTTimeSpecGetNano(&pSFDEntry->ChangeTime))); 1529 Log(("BirthTime %RX64\n", RTTimeSpecGetNano(&pSFDEntry->AccessTime))); 1530 1530 /* temporary hack */ 1531 1531 rc = VINF_SUCCESS; -
trunk/src/VBox/Main/ConsoleImpl.cpp
r13837 r13838 2080 2080 if (!device) 2081 2081 return setError (E_INVALIDARG, 2082 tr ("USB device with UUID {% Vuuid} is not attached to this machine"),2082 tr ("USB device with UUID {%Ruuid} is not attached to this machine"), 2083 2083 Guid (aId).raw()); 2084 2084 … … 2111 2111 #else /* !VBOX_WITH_USB */ 2112 2112 return setError (E_INVALIDARG, 2113 tr ("USB device with UUID {% Vuuid} is not attached to this machine"),2113 tr ("USB device with UUID {%Ruuid} is not attached to this machine"), 2114 2114 Guid (aId).raw()); 2115 2115 #endif /* !VBOX_WITH_USB */ … … 3529 3529 #ifdef VBOX_WITH_USB 3530 3530 Guid Uuid (aId); 3531 LogFlowThisFunc (("aId={% Vuuid} aError=%p\n", Uuid.raw(), aError));3531 LogFlowThisFunc (("aId={%Ruuid} aError=%p\n", Uuid.raw(), aError)); 3532 3532 3533 3533 AutoCaller autoCaller (this); … … 3541 3541 while (it != mUSBDevices.end()) 3542 3542 { 3543 LogFlowThisFunc (("it={% Vuuid}\n", (*it)->id().raw()));3543 LogFlowThisFunc (("it={%Ruuid}\n", (*it)->id().raw())); 3544 3544 if ((*it)->id() == Uuid) 3545 3545 { … … 5513 5513 CheckComRCReturnRC (autoVMCaller.rc()); 5514 5514 5515 LogFlowThisFunc (("Proxying USB device '%s' {% Vuuid}...\n",5515 LogFlowThisFunc (("Proxying USB device '%s' {%Ruuid}...\n", 5516 5516 Address.raw(), Uuid.ptr())); 5517 5517 … … 5534 5534 if (VBOX_FAILURE (vrc)) 5535 5535 { 5536 LogWarningThisFunc (("Failed to create proxy device for '%s' {% Vuuid} (%Rrc)\n",5536 LogWarningThisFunc (("Failed to create proxy device for '%s' {%Ruuid} (%Rrc)\n", 5537 5537 Address.raw(), Uuid.ptr(), vrc)); 5538 5538 … … 5603 5603 AutoWriteLock alock (that); 5604 5604 that->mUSBDevices.push_back (device); 5605 LogFlowFunc (("Attached device {% Vuuid}\n", device->id().raw()));5605 LogFlowFunc (("Attached device {%Ruuid}\n", device->id().raw())); 5606 5606 5607 5607 /* notify callbacks */ … … 5638 5638 AssertReturn (PDMR3USBHasHub (mpVM), E_FAIL); 5639 5639 5640 LogFlowThisFunc (("Detaching USB proxy device {% Vuuid}...\n",5640 LogFlowThisFunc (("Detaching USB proxy device {%Ruuid}...\n", 5641 5641 (*aIt)->id().raw())); 5642 5642 … … 5700 5700 /* Remove the device from the collection */ 5701 5701 that->mUSBDevices.erase (*aIt); 5702 LogFlowFunc (("Detached device {% Vuuid}\n", device->id().raw()));5702 LogFlowFunc (("Detached device {%Ruuid}\n", device->id().raw())); 5703 5703 5704 5704 /* notify callbacks */ -
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r13837 r13838 1325 1325 memcpy (rawuuid, ((Guid &)uuid).ptr (), sizeof (rawuuid)); 1326 1326 1327 LogFlow(("ConsoleVRDPServer::Authenticate: uuid = % Vuuid, guestJudgement = %d, pszUser = %s, pszPassword = %s, pszDomain = %s, u32ClientId = %d\n",1327 LogFlow(("ConsoleVRDPServer::Authenticate: uuid = %Ruuid, guestJudgement = %d, pszUser = %s, pszPassword = %s, pszDomain = %s, u32ClientId = %d\n", 1328 1328 rawuuid, guestJudgement, pszUser, pszPassword, pszDomain, u32ClientId)); 1329 1329 … … 1433 1433 memcpy (rawuuid, ((Guid &)uuid).ptr (), sizeof (rawuuid)); 1434 1434 1435 LogFlow(("ConsoleVRDPServer::AuthDisconnect: uuid = % Vuuid, u32ClientId = %d\n",1435 LogFlow(("ConsoleVRDPServer::AuthDisconnect: uuid = %Ruuid, u32ClientId = %d\n", 1436 1436 rawuuid, u32ClientId)); 1437 1437 -
trunk/src/VBox/Main/HardDisk2Impl.cpp
r13837 r13838 631 631 } 632 632 633 LogFlowThisFunc (("m.location='%ls', mm.format=%ls, m.id={% Vuuid}\n",633 LogFlowThisFunc (("m.location='%ls', mm.format=%ls, m.id={%Ruuid}\n", 634 634 m.location.raw(), mm.format.raw(), m.id.raw())); 635 635 LogFlowThisFunc (("m.locationFull='%ls'\n", m.locationFull.raw())); … … 1828 1828 return setError (E_FAIL, 1829 1829 tr ("Hard disk '%ls' is attached to a virtual machine " 1830 "with UUID {% Vuuid}. No differencing hard disks "1830 "with UUID {%Ruuid}. No differencing hard disks " 1831 1831 "based on it may be created until it is detached"), 1832 1832 m.location.raw(), it->machineId.raw()); … … 2197 2197 2198 2198 /// @todo NEWMEDIA use the default extension for the given VD backend 2199 location = Utf8StrFmt ("%s{% Vuuid}.vdi", location.raw(), id.raw());2199 location = Utf8StrFmt ("%s{%Ruuid}.vdi", location.raw(), id.raw()); 2200 2200 } 2201 2201 else … … 2369 2369 { 2370 2370 lastAccessError = Utf8StrFmt ( 2371 tr ("UUID {% Vuuid} of the hard disk '%ls' "2372 "does not match the value {% Vuuid} stored in the "2371 tr ("UUID {%Ruuid} of the hard disk '%ls' " 2372 "does not match the value {%Ruuid} stored in the " 2373 2373 "media registry ('%ls')"), 2374 2374 &uuid, m.locationFull.raw(), m.id.raw(), … … 2405 2405 { 2406 2406 lastAccessError = Utf8StrFmt ( 2407 tr ("Parent hard disk with UUID {% Vuuid} of the "2407 tr ("Parent hard disk with UUID {%Ruuid} of the " 2408 2408 "hard disk '%ls' is not found in the media " 2409 2409 "registry ('%ls')"), … … 2441 2441 { 2442 2442 lastAccessError = Utf8StrFmt ( 2443 tr ("Parent UUID {% Vuuid} of the hard disk '%ls' "2444 "does not match UUID {% Vuuid} of its parent "2443 tr ("Parent UUID {%Ruuid} of the hard disk '%ls' " 2444 "does not match UUID {%Ruuid} of its parent " 2445 2445 "hard disk stored in the media registry ('%ls')"), 2446 2446 &uuid, m.locationFull.raw(), -
trunk/src/VBox/Main/HostImpl.cpp
r13837 r13838 1367 1367 if (FAILED (coll->FindById (aId, iface.asOutParam()))) 1368 1368 return setError (E_FAIL, 1369 tr ("Host network interface with UUID {% Vuuid} does not exist"),1369 tr ("Host network interface with UUID {%Ruuid} does not exist"), 1370 1370 Guid (aId).raw()); 1371 1371 … … 2662 2662 2663 2663 aGUID = Guid (Utf8Str (pCfgGuidString + 1)); 2664 LogFlowFunc (("Network connection GUID = {% Vuuid}\n", aGUID.raw()));2664 LogFlowFunc (("Network connection GUID = {%Ruuid}\n", aGUID.raw())); 2665 2665 Assert (!aGUID.isEmpty()); 2666 2666 } … … 2677 2677 { 2678 2678 LogFlowFuncEnter(); 2679 LogFlowFunc (("Network connection GUID = {% Vuuid}\n", aGUID.raw()));2679 LogFlowFunc (("Network connection GUID = {%Ruuid}\n", aGUID.raw())); 2680 2680 2681 2681 AssertReturn (aClient, VERR_INVALID_POINTER); … … 2942 2942 if (RT_FAILURE (vrc)) break; 2943 2943 2944 LogFlowFunc (("Network connection GUID = {% Vuuid}\n", guid.raw()));2944 LogFlowFunc (("Network connection GUID = {%Ruuid}\n", guid.raw())); 2945 2945 2946 2946 /* initialize the object returned to the caller by … … 2977 2977 { 2978 2978 LogFlowFunc (("RemoveHostNetworkInterface:\n")); 2979 LogFlowFunc (("Network connection GUID = {% Vuuid}\n", d->guid.raw()));2979 LogFlowFunc (("Network connection GUID = {%Ruuid}\n", d->guid.raw())); 2980 2980 2981 2981 /* write message and parameters */ -
trunk/src/VBox/Main/MachineImpl.cpp
r13837 r13838 577 577 /* fetch the current error info */ 578 578 mData->mAccessError = com::ErrorInfo(); 579 LogWarning (("Machine {% Vuuid} is inaccessible! [%ls]\n",579 LogWarning (("Machine {%Ruuid} is inaccessible! [%ls]\n", 580 580 mData->mUuid.raw(), 581 581 mData->mAccessError.getText().raw())); … … 1321 1321 /* the default snapshots folder is {UUID}, for backwards 1322 1322 * compatibility and to resolve conflicts */ 1323 snapshotFolder = Utf8StrFmt ("{% Vuuid}", mData->mUuid.raw());1323 snapshotFolder = Utf8StrFmt ("{%Ruuid}", mData->mUuid.raw()); 1324 1324 } 1325 1325 } … … 4675 4675 { 4676 4676 throw setError (E_FAIL, 4677 tr ("Machine UUID {% Vuuid} in '%ls' doesn't match its "4677 tr ("Machine UUID {%Ruuid} in '%ls' doesn't match its " 4678 4678 "UUID {%s} in the registry file '%ls'"), 4679 4679 id.raw(), mData->mConfigFileFull.raw(), … … 5296 5296 if (mType == IsSnapshotMachine) 5297 5297 return setError (E_FAIL, 5298 tr ("Immutable hard disk '%ls' with UUID {% Vuuid} cannot be "5299 "directly attached to snapshot with UUID {% Vuuid} "5298 tr ("Immutable hard disk '%ls' with UUID {%Ruuid} cannot be " 5299 "directly attached to snapshot with UUID {%Ruuid} " 5300 5300 "of the virtual machine '%ls' ('%ls')"), 5301 5301 hd->locationFull().raw(), uuid.raw(), … … 5304 5304 5305 5305 return setError (E_FAIL, 5306 tr ("Immutable hard disk '%ls' with UUID {% Vuuid} cannot be "5306 tr ("Immutable hard disk '%ls' with UUID {%Ruuid} cannot be " 5307 5307 "directly attached to the virtual machine '%ls' ('%ls')"), 5308 5308 hd->locationFull().raw(), uuid.raw(), … … 5312 5312 if (mType != IsSnapshotMachine && hd->children().size() != 0) 5313 5313 return setError (E_FAIL, 5314 tr ("Hard disk '%ls' with UUID {% Vuuid} cannot be directly "5314 tr ("Hard disk '%ls' with UUID {%Ruuid} cannot be directly " 5315 5315 "attached to the virtual machine '%ls' ('%ls') " 5316 5316 "because it has %d differencing child hard disks"), … … 5325 5325 { 5326 5326 return setError (E_FAIL, 5327 tr ("Hard disk '%ls' with UUID {% Vuuid} is already attached "5327 tr ("Hard disk '%ls' with UUID {%Ruuid} is already attached " 5328 5328 "to the virtual machine '%ls' ('%ls')"), 5329 5329 hd->locationFull().raw(), uuid.raw(), … … 7673 7673 E_FAIL); 7674 7674 #elif defined(RT_OS_OS2) 7675 Utf8Str ipcSem = Utf8StrFmt ("\\SEM32\\VBOX\\VM\\{% Vuuid}",7675 Utf8Str ipcSem = Utf8StrFmt ("\\SEM32\\VBOX\\VM\\{%Ruuid}", 7676 7676 aMachine->mData->mUuid.raw()); 7677 7677 mIPCSemName = ipcSem; … … 8284 8284 if (mData->mMachineState == MachineState_Paused) 8285 8285 { 8286 stateFilePath = Utf8StrFmt ("%ls%c{% Vuuid}.sav",8286 stateFilePath = Utf8StrFmt ("%ls%c{%Ruuid}.sav", 8287 8287 mUserData->mSnapshotFolderFull.raw(), 8288 8288 RTPATH_DELIMITER, mData->mUuid.raw()); … … 8435 8435 /* stateFilePath is null when the machine is not online nor saved */ 8436 8436 if (takingSnapshotOnline || mData->mMachineState == MachineState_Saved) 8437 stateFilePath = Utf8StrFmt ("%ls%c{% Vuuid}.sav",8437 stateFilePath = Utf8StrFmt ("%ls%c{%Ruuid}.sav", 8438 8438 mUserData->mSnapshotFolderFull.raw(), 8439 8439 RTPATH_DELIMITER, … … 10024 10024 Utf8Str snapStateFilePath = curSnapshot->stateFilePath(); 10025 10025 10026 Utf8Str stateFilePath = Utf8StrFmt ("%ls%c{% Vuuid}.sav",10026 Utf8Str stateFilePath = Utf8StrFmt ("%ls%c{%Ruuid}.sav", 10027 10027 mUserData->mSnapshotFolderFull.raw(), 10028 10028 RTPATH_DELIMITER, mData->mUuid.raw()); -
trunk/src/VBox/Main/MediumImpl.cpp
r13837 r13838 942 942 const Guid &aId) 943 943 { 944 LogFlowThisFunc (("aLocation='%ls', aId={% Vuuid}\n", aLocation, aId.raw()));944 LogFlowThisFunc (("aLocation='%ls', aId={%Ruuid}\n", aLocation, aId.raw())); 945 945 946 946 AssertReturn (aVirtualBox, E_INVALIDARG); … … 1031 1031 } 1032 1032 1033 LogFlowThisFunc (("m.location='%ls', m.id={% Vuuid}\n",1033 LogFlowThisFunc (("m.location='%ls', m.id={%Ruuid}\n", 1034 1034 m.location.raw(), m.id.raw())); 1035 1035 LogFlowThisFunc (("m.locationFull='%ls'\n", m.locationFull.raw())); -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r13837 r13838 2070 2070 id.create(); 2071 2071 SVCHlpClient client; 2072 vrc = client.create (Utf8StrFmt ("VirtualBox\\SVCHelper\\{% Vuuid}",2072 vrc = client.create (Utf8StrFmt ("VirtualBox\\SVCHelper\\{%Ruuid}", 2073 2073 id.raw())); 2074 2074 if (RT_FAILURE (vrc)) … … 2242 2242 { 2243 2243 case DataChanged: 2244 LogFlow (("OnMachineDataChange: id={% Vuuid}\n", id.ptr()));2244 LogFlow (("OnMachineDataChange: id={%Ruuid}\n", id.ptr())); 2245 2245 aCallback->OnMachineDataChange (id); 2246 2246 break; 2247 2247 2248 2248 case StateChanged: 2249 LogFlow (("OnMachineStateChange: id={% Vuuid}, state=%d\n",2249 LogFlow (("OnMachineStateChange: id={%Ruuid}, state=%d\n", 2250 2250 id.ptr(), state)); 2251 2251 aCallback->OnMachineStateChange (id, state); … … 2253 2253 2254 2254 case Registered: 2255 LogFlow (("OnMachineRegistered: id={% Vuuid}, registered=%d\n",2255 LogFlow (("OnMachineRegistered: id={%Ruuid}, registered=%d\n", 2256 2256 id.ptr(), registered)); 2257 2257 aCallback->OnMachineRegistered (id, registered); … … 2333 2333 void handleCallback (const ComPtr <IVirtualBoxCallback> &aCallback) 2334 2334 { 2335 LogFlow (("OnExtraDataChange: machineId={% Vuuid}, key='%ls', val='%ls'\n",2335 LogFlow (("OnExtraDataChange: machineId={%Ruuid}, key='%ls', val='%ls'\n", 2336 2336 machineId.ptr(), key.raw(), val.raw())); 2337 2337 aCallback->OnExtraDataChange (machineId, key, val); … … 2367 2367 void handleCallback (const ComPtr <IVirtualBoxCallback> &aCallback) 2368 2368 { 2369 LogFlow (("OnSessionStateChange: machineId={% Vuuid}, sessionState=%d\n",2369 LogFlow (("OnSessionStateChange: machineId={%Ruuid}, sessionState=%d\n", 2370 2370 machineId.ptr(), sessionState)); 2371 2371 aCallback->OnSessionStateChange (machineId, sessionState); … … 2401 2401 { 2402 2402 case Taken: 2403 LogFlow (("OnSnapshotTaken: machineId={% Vuuid}, snapshotId={%Vuuid}\n",2403 LogFlow (("OnSnapshotTaken: machineId={%Ruuid}, snapshotId={%Ruuid}\n", 2404 2404 machineId.ptr(), snapshotId.ptr())); 2405 2405 aCallback->OnSnapshotTaken (machineId, snapshotId); … … 2407 2407 2408 2408 case Discarded: 2409 LogFlow (("OnSnapshotDiscarded: machineId={% Vuuid}, snapshotId={%Vuuid}\n",2409 LogFlow (("OnSnapshotDiscarded: machineId={%Ruuid}, snapshotId={%Ruuid}\n", 2410 2410 machineId.ptr(), snapshotId.ptr())); 2411 2411 aCallback->OnSnapshotDiscarded (machineId, snapshotId); … … 2413 2413 2414 2414 case Changed: 2415 LogFlow (("OnSnapshotChange: machineId={% Vuuid}, snapshotId={%Vuuid}\n",2415 LogFlow (("OnSnapshotChange: machineId={%Ruuid}, snapshotId={%Ruuid}\n", 2416 2416 machineId.ptr(), snapshotId.ptr())); 2417 2417 aCallback->OnSnapshotChange (machineId, snapshotId); … … 2461 2461 void handleCallback (const ComPtr <IVirtualBoxCallback> &aCallback) 2462 2462 { 2463 LogFlow (("OnGuestPropertyChange: machineId={% Vuuid}, name='%ls', value='%ls', flags='%ls'\n",2463 LogFlow (("OnGuestPropertyChange: machineId={%Ruuid}, name='%ls', value='%ls', flags='%ls'\n", 2464 2464 machineId.ptr(), name.raw(), value.raw(), flags.raw())); 2465 2465 aCallback->OnGuestPropertyChange (machineId, name, value, flags); … … 2588 2588 { 2589 2589 setError (E_INVALIDARG, 2590 tr ("Could not find a registered machine with UUID {% Vuuid}"),2590 tr ("Could not find a registered machine with UUID {%Ruuid}"), 2591 2591 aId.raw()); 2592 2592 } … … 2659 2659 { 2660 2660 if (aId) 2661 setError (rc, tr ("Could not find a hard disk with UUID {% Vuuid} "2661 setError (rc, tr ("Could not find a hard disk with UUID {%Ruuid} " 2662 2662 "in the media registry ('%ls')"), 2663 2663 aId->raw(), mData.mCfgFile.mName.raw()); … … 2730 2730 { 2731 2731 if (aId) 2732 setError (rc, tr ("Could not find a CD/DVD image with UUID {% Vuuid} "2732 setError (rc, tr ("Could not find a CD/DVD image with UUID {%Ruuid} " 2733 2733 "in the media registry ('%ls')"), 2734 2734 aId->raw(), mData.mCfgFile.mName.raw()); … … 2802 2802 { 2803 2803 if (aId) 2804 setError (rc, tr ("Could not find a floppy image with UUID {% Vuuid} "2804 setError (rc, tr ("Could not find a floppy image with UUID {%Ruuid} " 2805 2805 "in the media registry ('%ls')"), 2806 2806 aId->raw(), mData.mCfgFile.mName.raw()); … … 2908 2908 AutoReadLock mediaLock (hardDisk); 2909 2909 aConflict = Utf8StrFmt ( 2910 tr ("hard disk '%ls' with UUID {% Vuuid}"),2910 tr ("hard disk '%ls' with UUID {%Ruuid}"), 2911 2911 hardDisk->locationFull().raw(), hardDisk->id().raw()); 2912 2912 return S_OK; … … 2922 2922 AutoReadLock mediaLock (image); 2923 2923 aConflict = Utf8StrFmt ( 2924 tr ("CD/DVD image '%ls' with UUID {% Vuuid}"),2924 tr ("CD/DVD image '%ls' with UUID {%Ruuid}"), 2925 2925 image->locationFull().raw(), image->id().raw()); 2926 2926 return S_OK; … … 2936 2936 AutoReadLock mediaLock (image); 2937 2937 aConflict = Utf8StrFmt ( 2938 tr ("floppy image '%ls' with UUID {% Vuuid}"),2938 tr ("floppy image '%ls' with UUID {%Ruuid}"), 2939 2939 image->locationFull().raw(), image->id().raw()); 2940 2940 return S_OK; … … 3243 3243 3244 3244 return setError (E_INVALIDARG, 3245 tr ("Registered machine with UUID {% Vuuid} ('%ls') already exists"),3245 tr ("Registered machine with UUID {%Ruuid} ('%ls') already exists"), 3246 3246 aMachine->id().raw(), m->settingsFileFull().raw()); 3247 3247 } … … 3306 3306 { 3307 3307 return setError (E_INVALIDARG, 3308 tr ("Cannot register the hard disk '%ls' with UUID {% Vuuid} "3308 tr ("Cannot register the hard disk '%ls' with UUID {%Ruuid} " 3309 3309 "because a %s already exists in the media registry ('%ls')"), 3310 3310 aHardDisk->locationFull().raw(), aHardDisk->id().raw(), … … 3421 3421 { 3422 3422 return setError (E_INVALIDARG, 3423 tr ("Cannot register the CD/DVD image '%ls' with UUID {% Vuuid} "3423 tr ("Cannot register the CD/DVD image '%ls' with UUID {%Ruuid} " 3424 3424 "because a %s already exists in the media registry ('%ls')"), 3425 3425 aImage->locationFull().raw(), aImage->id().raw(), … … 3522 3522 { 3523 3523 return setError (E_INVALIDARG, 3524 tr ("Cannot register the floppy image '%ls' with UUID {% Vuuid} "3524 tr ("Cannot register the floppy image '%ls' with UUID {%Ruuid} " 3525 3525 "because a %s already exists in the media registry ('%ls')"), 3526 3526 aImage->locationFull().raw(), aImage->id().raw(), -
trunk/src/recompiler/VBoxRecompiler.c
r13837 r13838 691 691 if (!cpu_breakpoint_insert(&pVM->rem.s.Env, Address)) 692 692 { 693 LogFlow(("REMR3BreakpointSet: Address=% VGv\n", Address));693 LogFlow(("REMR3BreakpointSet: Address=%RGv\n", Address)); 694 694 return VINF_SUCCESS; 695 695 } 696 LogFlow(("REMR3BreakpointSet: Address=% VGv - failed!\n", Address));696 LogFlow(("REMR3BreakpointSet: Address=%RGv - failed!\n", Address)); 697 697 return VERR_REM_NO_MORE_BP_SLOTS; 698 698 } … … 712 712 if (!cpu_breakpoint_remove(&pVM->rem.s.Env, Address)) 713 713 { 714 LogFlow(("REMR3BreakpointClear: Address=% VGv\n", Address));714 LogFlow(("REMR3BreakpointClear: Address=%RGv\n", Address)); 715 715 return VINF_SUCCESS; 716 716 } 717 LogFlow(("REMR3BreakpointClear: Address=% VGv - not found!\n", Address));717 LogFlow(("REMR3BreakpointClear: Address=%RGv - not found!\n", Address)); 718 718 return VERR_REM_BP_NOT_FOUND; 719 719 } … … 801 801 break; 802 802 } 803 Log2(("REMR3EmulateInstruction: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=% VGv\n", rc, iBP, GCPtrPC));803 Log2(("REMR3EmulateInstruction: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=%RGv\n", rc, iBP, GCPtrPC)); 804 804 break; 805 805 } … … 967 967 } 968 968 969 Log2(("REMR3EmulateInstruction: returns %Rrc (cs:eip=%04x:% VGv)\n",970 rc, pVM->rem.s.Env.segs[R_CS].selector, pVM->rem.s.Env.eip));969 Log2(("REMR3EmulateInstruction: returns %Rrc (cs:eip=%04x:%RGv)\n", 970 rc, pVM->rem.s.Env.segs[R_CS].selector, (RTGCPTR)pVM->rem.s.Env.eip)); 971 971 return rc; 972 972 } … … 987 987 REMR3DECL(int) REMR3Run(PVM pVM) 988 988 { 989 Log2(("REMR3Run: (cs:eip=%04x:% VGv)\n", pVM->rem.s.Env.segs[R_CS].selector,pVM->rem.s.Env.eip));989 Log2(("REMR3Run: (cs:eip=%04x:%RGv)\n", pVM->rem.s.Env.segs[R_CS].selector, (RTGCPTR)pVM->rem.s.Env.eip)); 990 990 Assert(pVM->rem.s.fInREM); 991 991 … … 1055 1055 break; 1056 1056 } 1057 Log2(("REMR3Run: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=% VGv\n", rc, iBP, GCPtrPC));1057 Log2(("REMR3Run: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=%RGv\n", rc, iBP, GCPtrPC)); 1058 1058 #endif 1059 1059 break; … … 1105 1105 } 1106 1106 1107 Log2(("REMR3Run: returns %Rrc (cs:eip=%04x:% VGv)\n", rc, pVM->rem.s.Env.segs[R_CS].selector,pVM->rem.s.Env.eip));1107 Log2(("REMR3Run: returns %Rrc (cs:eip=%04x:%RGv)\n", rc, pVM->rem.s.Env.segs[R_CS].selector, (RTGCPTR)pVM->rem.s.Env.eip)); 1108 1108 return rc; 1109 1109 } … … 1373 1373 if (pVM->rem.s.fIgnoreInvlPg || pVM->rem.s.fIgnoreAll) 1374 1374 return; 1375 Log(("remR3FlushPage: GCPtr=% VGv\n", GCPtr));1375 Log(("remR3FlushPage: GCPtr=%RGv\n", GCPtr)); 1376 1376 Assert(pVM->rem.s.fInREM || pVM->rem.s.fInStateSync); 1377 1377 … … 1392 1392 if (RT_FAILURE(rc)) 1393 1393 { 1394 AssertMsgFailed(("remR3FlushPage % VGv failed with %d!!\n", GCPtr, rc));1394 AssertMsgFailed(("remR3FlushPage %RGv failed with %d!!\n", GCPtr, rc)); 1395 1395 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 1396 1396 } … … 1576 1576 } 1577 1577 #endif 1578 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=% VGv eip=%VGv cr2=%VGv\n", uTrap, uErrorCode, pvNextEIP, env->eip,env->cr[2]));1578 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=%RGv eip=%RGv cr2=%RGv\n", uTrap, uErrorCode, (RTGCPTR)pvNextEIP, (RTGCPTR)env->eip, (RTGCPTR)env->cr[2])); 1579 1579 if( uTrap < 0x20 1580 1580 && (env->cr[0] & X86_CR0_PE) … … 1586 1586 if(pVM->rem.s.uPendingException == uTrap && ++pVM->rem.s.cPendingExceptions > 512) 1587 1587 { 1588 LogRel(("VERR_REM_TOO_MANY_TRAPS -> uTrap=%x error=%x next_eip=% VGv eip=%VGv cr2=%VGv\n", uTrap, uErrorCode, pvNextEIP, env->eip,env->cr[2]));1588 LogRel(("VERR_REM_TOO_MANY_TRAPS -> uTrap=%x error=%x next_eip=%RGv eip=%RGv cr2=%RGv\n", uTrap, uErrorCode, (RTGCPTR)pvNextEIP, (RTGCPTR)env->eip, (RTGCPTR)env->cr[2])); 1589 1589 remR3RaiseRC(env->pVM, VERR_REM_TOO_MANY_TRAPS); 1590 1590 return VERR_REM_TOO_MANY_TRAPS; … … 1745 1745 for (i = 0; i < pVM->rem.s.cInvalidatedPages; i++) 1746 1746 { 1747 Log2(("REMR3State: invlpg % VGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i]));1747 Log2(("REMR3State: invlpg %RGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i])); 1748 1748 tlb_flush_page(&pVM->rem.s.Env, pVM->rem.s.aGCPtrInvalidatedPages[i]); 1749 1749 } … … 2064 2064 rc = TRPMResetTrap(pVM); 2065 2065 AssertRC(rc); 2066 Log2(("REMR3State: trap=%02x errcd=% VGv cr2=%VGv nexteip=%VGv%s\n", pVM->rem.s.Env.exception_index,pVM->rem.s.Env.error_code,2067 pVM->rem.s.Env.cr[2],pVM->rem.s.Env.exception_next_eip, pVM->rem.s.Env.exception_is_int ? " software" : ""));2066 Log2(("REMR3State: trap=%02x errcd=%RGv cr2=%RGv nexteip=%RGv%s\n", pVM->rem.s.Env.exception_index, (RTGCPTR)pVM->rem.s.Env.error_code, 2067 (RTGCPTR)pVM->rem.s.Env.cr[2], (RTGCPTR)pVM->rem.s.Env.exception_next_eip, pVM->rem.s.Env.exception_is_int ? " software" : "")); 2068 2068 } 2069 2069 … … 2554 2554 for (i = 0; i < pVM->rem.s.cInvalidatedPages; i++) 2555 2555 { 2556 Log2(("REMR3ReplayInvalidatedPages: invlpg % VGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i]));2556 Log2(("REMR3ReplayInvalidatedPages: invlpg %RGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i])); 2557 2557 tlb_flush_page(&pVM->rem.s.Env, pVM->rem.s.aGCPtrInvalidatedPages[i]); 2558 2558 } … … 2669 2669 REMR3DECL(void) REMR3NotifyPhysRamRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, unsigned fFlags) 2670 2670 { 2671 Log(("REMR3NotifyPhysRamRegister: GCPhys=% VGp cb=%d fFlags=%d\n", GCPhys, cb, fFlags));2671 Log(("REMR3NotifyPhysRamRegister: GCPhys=%RGp cb=%d fFlags=%d\n", GCPhys, cb, fFlags)); 2672 2672 VM_ASSERT_EMT(pVM); 2673 2673 … … 2739 2739 REMR3DECL(void) REMR3NotifyPhysRamChunkRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, RTHCUINTPTR pvRam, unsigned fFlags) 2740 2740 { 2741 Log(("REMR3NotifyPhysRamChunkRegister: GCPhys=% VGp cb=%d pvRam=%p fFlags=%d\n", GCPhys, cb, pvRam, fFlags));2741 Log(("REMR3NotifyPhysRamChunkRegister: GCPhys=%RGp cb=%d pvRam=%p fFlags=%d\n", GCPhys, cb, pvRam, fFlags)); 2742 2742 VM_ASSERT_EMT(pVM); 2743 2743 … … 2771 2771 PVM pVM = cpu_single_env->pVM; 2772 2772 2773 LogFlow(("remR3GrowDynRange % VGp\n",physaddr));2773 LogFlow(("remR3GrowDynRange %RGp\n", (RTGCPHYS)physaddr)); 2774 2774 const RTGCPHYS GCPhys = physaddr; 2775 2775 rc = PGM3PhysGrowRange(pVM, &GCPhys); … … 2777 2777 return; 2778 2778 2779 LogRel(("\nUnable to allocate guest RAM chunk at % VGp\n",physaddr));2780 cpu_abort(cpu_single_env, "Unable to allocate guest RAM chunk at % VGp\n",physaddr);2779 LogRel(("\nUnable to allocate guest RAM chunk at %RGp\n", (RTGCPHYS)physaddr)); 2780 cpu_abort(cpu_single_env, "Unable to allocate guest RAM chunk at %RGp\n", (RTGCPHYS)physaddr); 2781 2781 AssertFatalFailed(); 2782 2782 } … … 2797 2797 REMR3DECL(void) REMR3NotifyPhysRomRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, void *pvCopy, bool fShadow) 2798 2798 { 2799 Log(("REMR3NotifyPhysRomRegister: GCPhys=% VGp cb=%d pvCopy=%p fShadow=%RTbool\n", GCPhys, cb, pvCopy, fShadow));2799 Log(("REMR3NotifyPhysRomRegister: GCPhys=%RGp cb=%d pvCopy=%p fShadow=%RTbool\n", GCPhys, cb, pvCopy, fShadow)); 2800 2800 VM_ASSERT_EMT(pVM); 2801 2801 … … 2835 2835 REMR3DECL(void) REMR3NotifyPhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cb) 2836 2836 { 2837 Log(("REMR3NotifyPhysReserve: GCPhys=% VGp cb=%d\n", GCPhys, cb));2837 Log(("REMR3NotifyPhysReserve: GCPhys=%RGp cb=%d\n", GCPhys, cb)); 2838 2838 VM_ASSERT_EMT(pVM); 2839 2839 … … 2872 2872 REMR3DECL(void) REMR3NotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhys, RTGCPHYS cb, bool fHasHCHandler) 2873 2873 { 2874 Log(("REMR3NotifyHandlerPhysicalRegister: enmType=%d GCPhys=% VGp cb=%VGp fHasHCHandler=%d\n",2874 Log(("REMR3NotifyHandlerPhysicalRegister: enmType=%d GCPhys=%RGp cb=%RGp fHasHCHandler=%d\n", 2875 2875 enmType, GCPhys, cb, fHasHCHandler)); 2876 2876 VM_ASSERT_EMT(pVM); … … 2906 2906 REMR3DECL(void) REMR3NotifyHandlerPhysicalDeregister(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhys, RTGCPHYS cb, bool fHasHCHandler, bool fRestoreAsRAM) 2907 2907 { 2908 Log(("REMR3NotifyHandlerPhysicalDeregister: enmType=%d GCPhys=% VGp cb=%VGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool RAM=%08x\n",2908 Log(("REMR3NotifyHandlerPhysicalDeregister: enmType=%d GCPhys=%RGp cb=%RGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool RAM=%08x\n", 2909 2909 enmType, GCPhys, cb, fHasHCHandler, fRestoreAsRAM, MMR3PhysGetRamSize(pVM))); 2910 2910 VM_ASSERT_EMT(pVM); … … 2952 2952 REMR3DECL(void) REMR3NotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhysOld, RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fHasHCHandler, bool fRestoreAsRAM) 2953 2953 { 2954 Log(("REMR3NotifyHandlerPhysicalModify: enmType=%d GCPhysOld=% VGp GCPhysNew=%VGp cb=%VGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool\n",2954 Log(("REMR3NotifyHandlerPhysicalModify: enmType=%d GCPhysOld=%RGp GCPhysNew=%RGp cb=%RGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool\n", 2955 2955 enmType, GCPhysOld, GCPhysNew, cb, fHasHCHandler, fRestoreAsRAM)); 2956 2956 VM_ASSERT_EMT(pVM); … … 3034 3034 { 3035 3035 target_ulong ret = pTLBEntry->addend + addr; 3036 AssertMsg2("remR3PhysGetPhysicalAddressCode: addr=% VGv addr_code=%VGv addend=%VGp ret=%VGp\n",3037 (RTGCPTR)addr, (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, ret);3036 AssertMsg2("remR3PhysGetPhysicalAddressCode: addr=%RGv addr_code=%RGv addend=%RGp ret=%RGp\n", 3037 (RTGCPTR)addr, (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPHYS)ret); 3038 3038 return ret; 3039 3039 } 3040 LogRel(("\nTrying to execute code with memory type addr_code=% VGv addend=%VGp at %VGv! (iHandlerMemType=%#x iMMIOMemType=%#x)\n"3040 LogRel(("\nTrying to execute code with memory type addr_code=%RGv addend=%RGp at %RGv! (iHandlerMemType=%#x iMMIOMemType=%#x)\n" 3041 3041 "*** handlers\n", 3042 3042 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType)); … … 3046 3046 LogRel(("*** phys\n")); 3047 3047 DBGFR3Info(pVM, "phys", NULL, DBGFR3InfoLogRelHlp()); 3048 cpu_abort(env, "Trying to execute code with memory type addr_code=% VGv addend=%VGp at %VGv. (iHandlerMemType=%#x iMMIOMemType=%#x)\n",3048 cpu_abort(env, "Trying to execute code with memory type addr_code=%RGv addend=%RGp at %RGv. (iHandlerMemType=%#x iMMIOMemType=%#x)\n", 3049 3049 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType); 3050 3050 AssertFatalFailed(); … … 3055 3055 * Useful for finding non-guest-ram reads/writes. */ 3056 3056 #if 0 //1 /* disable if it becomes bothersome... */ 3057 # define VBOX_CHECK_ADDR(GCPhys) AssertMsg(PGMPhysIsGCPhysValid(cpu_single_env->pVM, (GCPhys)), ("% VGp\n", (GCPhys)))3057 # define VBOX_CHECK_ADDR(GCPhys) AssertMsg(PGMPhysIsGCPhysValid(cpu_single_env->pVM, (GCPhys)), ("%RGp\n", (GCPhys))) 3058 3058 #else 3059 3059 # define VBOX_CHECK_ADDR(GCPhys) do { } while (0) … … 3272 3272 int rc = IOMMMIORead((PVM)pvVM, GCPhys, &u32, 1); 3273 3273 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); 3274 Log2(("remR3MMIOReadU8: GCPhys=% VGp -> %02x\n", GCPhys, u32));3274 Log2(("remR3MMIOReadU8: GCPhys=%RGp -> %02x\n", GCPhys, u32)); 3275 3275 return u32; 3276 3276 } … … 3282 3282 int rc = IOMMMIORead((PVM)pvVM, GCPhys, &u32, 2); 3283 3283 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); 3284 Log2(("remR3MMIOReadU16: GCPhys=% VGp -> %04x\n", GCPhys, u32));3284 Log2(("remR3MMIOReadU16: GCPhys=%RGp -> %04x\n", GCPhys, u32)); 3285 3285 return u32; 3286 3286 } … … 3292 3292 int rc = IOMMMIORead((PVM)pvVM, GCPhys, &u32, 4); 3293 3293 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); 3294 Log2(("remR3MMIOReadU32: GCPhys=% VGp -> %08x\n", GCPhys, u32));3294 Log2(("remR3MMIOReadU32: GCPhys=%RGp -> %08x\n", GCPhys, u32)); 3295 3295 return u32; 3296 3296 } … … 3299 3299 static void remR3MMIOWriteU8(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3300 3300 { 3301 Log2(("remR3MMIOWriteU8: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3301 Log2(("remR3MMIOWriteU8: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3302 3302 int rc = IOMMMIOWrite((PVM)pvVM, GCPhys, u32, 1); 3303 3303 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); … … 3307 3307 static void remR3MMIOWriteU16(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3308 3308 { 3309 Log2(("remR3MMIOWriteU16: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3309 Log2(("remR3MMIOWriteU16: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3310 3310 int rc = IOMMMIOWrite((PVM)pvVM, GCPhys, u32, 2); 3311 3311 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); … … 3315 3315 static void remR3MMIOWriteU32(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3316 3316 { 3317 Log2(("remR3MMIOWriteU32: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3317 Log2(("remR3MMIOWriteU32: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3318 3318 int rc = IOMMMIOWrite((PVM)pvVM, GCPhys, u32, 4); 3319 3319 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); … … 3328 3328 static uint32_t remR3HandlerReadU8(void *pvVM, target_phys_addr_t GCPhys) 3329 3329 { 3330 Log2(("remR3HandlerReadU8: GCPhys=% VGp\n", GCPhys));3330 Log2(("remR3HandlerReadU8: GCPhys=%RGp\n", GCPhys)); 3331 3331 uint8_t u8; 3332 3332 PGMPhysRead((PVM)pvVM, GCPhys, &u8, sizeof(u8)); … … 3336 3336 static uint32_t remR3HandlerReadU16(void *pvVM, target_phys_addr_t GCPhys) 3337 3337 { 3338 Log2(("remR3HandlerReadU16: GCPhys=% VGp\n", GCPhys));3338 Log2(("remR3HandlerReadU16: GCPhys=%RGp\n", GCPhys)); 3339 3339 uint16_t u16; 3340 3340 PGMPhysRead((PVM)pvVM, GCPhys, &u16, sizeof(u16)); … … 3344 3344 static uint32_t remR3HandlerReadU32(void *pvVM, target_phys_addr_t GCPhys) 3345 3345 { 3346 Log2(("remR3HandlerReadU32: GCPhys=% VGp\n", GCPhys));3346 Log2(("remR3HandlerReadU32: GCPhys=%RGp\n", GCPhys)); 3347 3347 uint32_t u32; 3348 3348 PGMPhysRead((PVM)pvVM, GCPhys, &u32, sizeof(u32)); … … 3352 3352 static void remR3HandlerWriteU8(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3353 3353 { 3354 Log2(("remR3HandlerWriteU8: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3354 Log2(("remR3HandlerWriteU8: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3355 3355 PGMPhysWrite((PVM)pvVM, GCPhys, &u32, sizeof(uint8_t)); 3356 3356 } … … 3358 3358 static void remR3HandlerWriteU16(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3359 3359 { 3360 Log2(("remR3HandlerWriteU16: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3360 Log2(("remR3HandlerWriteU16: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3361 3361 PGMPhysWrite((PVM)pvVM, GCPhys, &u32, sizeof(uint16_t)); 3362 3362 } … … 3364 3364 static void remR3HandlerWriteU32(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3365 3365 { 3366 Log2(("remR3HandlerWriteU32: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3366 Log2(("remR3HandlerWriteU32: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3367 3367 PGMPhysWrite((PVM)pvVM, GCPhys, &u32, sizeof(uint32_t)); 3368 3368 } … … 3725 3725 * Do the disassembling. 3726 3726 */ 3727 RTLogPrintf("Guest Code: PC=% VGp #VGp (%VGp) bytes fFlags=%d\n", uCode, cb, cb, fFlags);3727 RTLogPrintf("Guest Code: PC=%RGp %#RGp (%RGp) bytes fFlags=%d\n", uCode, cb, cb, fFlags); 3728 3728 RTSEL cs = cpu_single_env->segs[R_CS].selector; 3729 3729 RTGCUINTPTR eip = uCode - cpu_single_env->segs[R_CS].base; … … 3739 3739 &cbInstr); 3740 3740 if (RT_SUCCESS(rc)) 3741 RTLogPrintf("% VGp %s\n", uCode, szBuf);3741 RTLogPrintf("%RGp %s\n", uCode, szBuf); 3742 3742 else 3743 3743 { 3744 RTLogPrintf("% VGp %04x:%VGp: %s\n", uCode, cs, eip, szBuf);3744 RTLogPrintf("%RGp %04x:%RGv: %s\n", uCode, cs, eip, szBuf); 3745 3745 cbInstr = 1; 3746 3746 } -
trunk/src/recompiler_new/VBoxRecompiler.c
r13837 r13838 683 683 if (!cpu_breakpoint_insert(&pVM->rem.s.Env, Address)) 684 684 { 685 LogFlow(("REMR3BreakpointSet: Address=% VGv\n", Address));685 LogFlow(("REMR3BreakpointSet: Address=%RGv\n", Address)); 686 686 return VINF_SUCCESS; 687 687 } 688 LogFlow(("REMR3BreakpointSet: Address=% VGv - failed!\n", Address));688 LogFlow(("REMR3BreakpointSet: Address=%RGv - failed!\n", Address)); 689 689 return VERR_REM_NO_MORE_BP_SLOTS; 690 690 } … … 704 704 if (!cpu_breakpoint_remove(&pVM->rem.s.Env, Address)) 705 705 { 706 LogFlow(("REMR3BreakpointClear: Address=% VGv\n", Address));706 LogFlow(("REMR3BreakpointClear: Address=%RGv\n", Address)); 707 707 return VINF_SUCCESS; 708 708 } 709 LogFlow(("REMR3BreakpointClear: Address=% VGv - not found!\n", Address));709 LogFlow(("REMR3BreakpointClear: Address=%RGv - not found!\n", Address)); 710 710 return VERR_REM_BP_NOT_FOUND; 711 711 } … … 794 794 break; 795 795 } 796 Log2(("REMR3EmulateInstruction: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=% VGv\n", rc, iBP, GCPtrPC));796 Log2(("REMR3EmulateInstruction: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=%RGv\n", rc, iBP, GCPtrPC)); 797 797 break; 798 798 } … … 960 960 } 961 961 962 Log2(("REMR3EmulateInstruction: returns %Rrc (cs:eip=%04x:% VGv)\n",963 rc, pVM->rem.s.Env.segs[R_CS].selector, pVM->rem.s.Env.eip));962 Log2(("REMR3EmulateInstruction: returns %Rrc (cs:eip=%04x:%RGv)\n", 963 rc, pVM->rem.s.Env.segs[R_CS].selector, (RTGCPTR)pVM->rem.s.Env.eip)); 964 964 return rc; 965 965 } … … 981 981 { 982 982 int rc; 983 Log2(("REMR3Run: (cs:eip=%04x:% VGv)\n", pVM->rem.s.Env.segs[R_CS].selector,pVM->rem.s.Env.eip));983 Log2(("REMR3Run: (cs:eip=%04x:%RGv)\n", pVM->rem.s.Env.segs[R_CS].selector, (RTGCPTR)pVM->rem.s.Env.eip)); 984 984 Assert(pVM->rem.s.fInREM); 985 985 … … 1049 1049 break; 1050 1050 } 1051 Log2(("REMR3Run: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=% VGv\n", rc, iBP, GCPtrPC));1051 Log2(("REMR3Run: cpu_exec -> EXCP_DEBUG rc=%Rrc iBP=%d GCPtrPC=%RGv\n", rc, iBP, GCPtrPC)); 1052 1052 #endif 1053 1053 break; … … 1089 1089 } 1090 1090 1091 Log2(("REMR3Run: returns %Rrc (cs:eip=%04x:% VGv)\n", rc, pVM->rem.s.Env.segs[R_CS].selector,pVM->rem.s.Env.eip));1091 Log2(("REMR3Run: returns %Rrc (cs:eip=%04x:%RGv)\n", rc, pVM->rem.s.Env.segs[R_CS].selector, (RTGCPTR)pVM->rem.s.Env.eip)); 1092 1092 return rc; 1093 1093 } … … 1361 1361 if (pVM->rem.s.fIgnoreInvlPg || pVM->rem.s.fIgnoreAll) 1362 1362 return; 1363 Log(("remR3FlushPage: GCPtr=% VGv\n", GCPtr));1363 Log(("remR3FlushPage: GCPtr=%RGv\n", GCPtr)); 1364 1364 Assert(pVM->rem.s.fInREM || pVM->rem.s.fInStateSync); 1365 1365 … … 1380 1380 if (RT_FAILURE(rc)) 1381 1381 { 1382 AssertMsgFailed(("remR3FlushPage % VGv failed with %d!!\n", GCPtr, rc));1382 AssertMsgFailed(("remR3FlushPage %RGv failed with %d!!\n", GCPtr, rc)); 1383 1383 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 1384 1384 } … … 1566 1566 } 1567 1567 #endif 1568 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=% VGv eip=%VGv cr2=%VGv\n", uTrap, uErrorCode, pvNextEIP, env->eip,env->cr[2]));1568 Log(("remR3NotifyTrap: uTrap=%x error=%x next_eip=%RGv eip=%RGv cr2=%RGv\n", uTrap, uErrorCode, (RTGCPTR)pvNextEIP, (RTGCPTR)env->eip, (RTGCPTR)env->cr[2])); 1569 1569 if( uTrap < 0x20 1570 1570 && (env->cr[0] & X86_CR0_PE) … … 1576 1576 if(pVM->rem.s.uPendingException == uTrap && ++pVM->rem.s.cPendingExceptions > 512) 1577 1577 { 1578 LogRel(("VERR_REM_TOO_MANY_TRAPS -> uTrap=%x error=%x next_eip=% VGv eip=%VGv cr2=%VGv\n", uTrap, uErrorCode, pvNextEIP, env->eip,env->cr[2]));1578 LogRel(("VERR_REM_TOO_MANY_TRAPS -> uTrap=%x error=%x next_eip=%RGv eip=%RGv cr2=%RGv\n", uTrap, uErrorCode, (RTGCPTR)pvNextEIP, (RTGCPTR)env->eip, (RTGCPTR)env->cr[2])); 1579 1579 remR3RaiseRC(env->pVM, VERR_REM_TOO_MANY_TRAPS); 1580 1580 return VERR_REM_TOO_MANY_TRAPS; … … 1744 1744 for (i = 0; i < pVM->rem.s.cInvalidatedPages; i++) 1745 1745 { 1746 Log2(("REMR3State: invlpg % VGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i]));1746 Log2(("REMR3State: invlpg %RGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i])); 1747 1747 tlb_flush_page(&pVM->rem.s.Env, pVM->rem.s.aGCPtrInvalidatedPages[i]); 1748 1748 } … … 2061 2061 rc = TRPMResetTrap(pVM); 2062 2062 AssertRC(rc); 2063 Log2(("REMR3State: trap=%02x errcd=% VGv cr2=%VGv nexteip=%VGv%s\n", pVM->rem.s.Env.exception_index,pVM->rem.s.Env.error_code,2064 pVM->rem.s.Env.cr[2],pVM->rem.s.Env.exception_next_eip, pVM->rem.s.Env.exception_is_int ? " software" : ""));2063 Log2(("REMR3State: trap=%02x errcd=%RGv cr2=%RGv nexteip=%RGv%s\n", pVM->rem.s.Env.exception_index, (RTGCPTR)pVM->rem.s.Env.error_code, 2064 (RTGCPTR)pVM->rem.s.Env.cr[2], (RTGCPTR)pVM->rem.s.Env.exception_next_eip, pVM->rem.s.Env.exception_is_int ? " software" : "")); 2065 2065 } 2066 2066 … … 2558 2558 for (i = 0; i < pVM->rem.s.cInvalidatedPages; i++) 2559 2559 { 2560 Log2(("REMR3ReplayInvalidatedPages: invlpg % VGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i]));2560 Log2(("REMR3ReplayInvalidatedPages: invlpg %RGv\n", pVM->rem.s.aGCPtrInvalidatedPages[i])); 2561 2561 tlb_flush_page(&pVM->rem.s.Env, pVM->rem.s.aGCPtrInvalidatedPages[i]); 2562 2562 } … … 2676 2676 uint32_t cbBitmap; 2677 2677 int rc; 2678 Log(("REMR3NotifyPhysRamRegister: GCPhys=% VGp cb=%d fFlags=%d\n", GCPhys, cb, fFlags));2678 Log(("REMR3NotifyPhysRamRegister: GCPhys=%RGp cb=%d fFlags=%d\n", GCPhys, cb, fFlags)); 2679 2679 VM_ASSERT_EMT(pVM); 2680 2680 … … 2746 2746 REMR3DECL(void) REMR3NotifyPhysRamChunkRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, RTHCUINTPTR pvRam, unsigned fFlags) 2747 2747 { 2748 Log(("REMR3NotifyPhysRamChunkRegister: GCPhys=% VGp cb=%d pvRam=%p fFlags=%d\n", GCPhys, cb, pvRam, fFlags));2748 Log(("REMR3NotifyPhysRamChunkRegister: GCPhys=%RGp cb=%d pvRam=%p fFlags=%d\n", GCPhys, cb, pvRam, fFlags)); 2749 2749 VM_ASSERT_EMT(pVM); 2750 2750 … … 2773 2773 * @param physaddr The physical address. 2774 2774 */ 2775 void remR3GrowDynRange(unsigned long physaddr) 2775 void remR3GrowDynRange(unsigned long physaddr) /** @todo Needs fixing for MSC... */ 2776 2776 { 2777 2777 int rc; … … 2779 2779 const RTGCPHYS GCPhys = physaddr; 2780 2780 2781 LogFlow(("remR3GrowDynRange % VGp\n",physaddr));2781 LogFlow(("remR3GrowDynRange %RGp\n", (RTGCPTR)physaddr)); 2782 2782 rc = PGM3PhysGrowRange(pVM, &GCPhys); 2783 2783 if (RT_SUCCESS(rc)) 2784 2784 return; 2785 2785 2786 LogRel(("\nUnable to allocate guest RAM chunk at % VGp\n",physaddr));2787 cpu_abort(cpu_single_env, "Unable to allocate guest RAM chunk at % VGp\n",physaddr);2786 LogRel(("\nUnable to allocate guest RAM chunk at %RGp\n", (RTGCPTR)physaddr)); 2787 cpu_abort(cpu_single_env, "Unable to allocate guest RAM chunk at %RGp\n", (RTGCPTR)physaddr); 2788 2788 AssertFatalFailed(); 2789 2789 } … … 2804 2804 REMR3DECL(void) REMR3NotifyPhysRomRegister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb, void *pvCopy, bool fShadow) 2805 2805 { 2806 Log(("REMR3NotifyPhysRomRegister: GCPhys=% VGp cb=%d pvCopy=%p fShadow=%RTbool\n", GCPhys, cb, pvCopy, fShadow));2806 Log(("REMR3NotifyPhysRomRegister: GCPhys=%RGp cb=%d pvCopy=%p fShadow=%RTbool\n", GCPhys, cb, pvCopy, fShadow)); 2807 2807 VM_ASSERT_EMT(pVM); 2808 2808 … … 2842 2842 REMR3DECL(void) REMR3NotifyPhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cb) 2843 2843 { 2844 Log(("REMR3NotifyPhysReserve: GCPhys=% VGp cb=%d\n", GCPhys, cb));2844 Log(("REMR3NotifyPhysReserve: GCPhys=%RGp cb=%d\n", GCPhys, cb)); 2845 2845 VM_ASSERT_EMT(pVM); 2846 2846 … … 2879 2879 REMR3DECL(void) REMR3NotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhys, RTGCPHYS cb, bool fHasHCHandler) 2880 2880 { 2881 Log(("REMR3NotifyHandlerPhysicalRegister: enmType=%d GCPhys=% VGp cb=%VGp fHasHCHandler=%d\n",2881 Log(("REMR3NotifyHandlerPhysicalRegister: enmType=%d GCPhys=%RGp cb=%RGp fHasHCHandler=%d\n", 2882 2882 enmType, GCPhys, cb, fHasHCHandler)); 2883 2883 VM_ASSERT_EMT(pVM); … … 2913 2913 REMR3DECL(void) REMR3NotifyHandlerPhysicalDeregister(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhys, RTGCPHYS cb, bool fHasHCHandler, bool fRestoreAsRAM) 2914 2914 { 2915 Log(("REMR3NotifyHandlerPhysicalDeregister: enmType=%d GCPhys=% VGp cb=%VGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool RAM=%08x\n",2915 Log(("REMR3NotifyHandlerPhysicalDeregister: enmType=%d GCPhys=%RGp cb=%RGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool RAM=%08x\n", 2916 2916 enmType, GCPhys, cb, fHasHCHandler, fRestoreAsRAM, MMR3PhysGetRamSize(pVM))); 2917 2917 VM_ASSERT_EMT(pVM); … … 2959 2959 REMR3DECL(void) REMR3NotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhysOld, RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fHasHCHandler, bool fRestoreAsRAM) 2960 2960 { 2961 Log(("REMR3NotifyHandlerPhysicalModify: enmType=%d GCPhysOld=% VGp GCPhysNew=%VGp cb=%VGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool\n",2961 Log(("REMR3NotifyHandlerPhysicalModify: enmType=%d GCPhysOld=%RGp GCPhysNew=%RGp cb=%RGp fHasHCHandler=%RTbool fRestoreAsRAM=%RTbool\n", 2962 2962 enmType, GCPhysOld, GCPhysNew, cb, fHasHCHandler, fRestoreAsRAM)); 2963 2963 VM_ASSERT_EMT(pVM); … … 3042 3042 { 3043 3043 target_ulong ret = pTLBEntry->addend + addr; 3044 AssertMsg2("remR3PhysGetPhysicalAddressCode: addr=% VGv addr_code=%VGv addend=%VGp ret=%VGp\n",3044 AssertMsg2("remR3PhysGetPhysicalAddressCode: addr=%RGv addr_code=%RGv addend=%RGp ret=%RGp\n", 3045 3045 (RTGCPTR)addr, (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, ret); 3046 3046 return ret; 3047 3047 } 3048 LogRel(("\nTrying to execute code with memory type addr_code=% VGv addend=%VGp at %VGv! (iHandlerMemType=%#x iMMIOMemType=%#x)\n"3048 LogRel(("\nTrying to execute code with memory type addr_code=%RGv addend=%RGp at %RGv! (iHandlerMemType=%#x iMMIOMemType=%#x)\n" 3049 3049 "*** handlers\n", 3050 3050 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType)); … … 3054 3054 LogRel(("*** phys\n")); 3055 3055 DBGFR3Info(pVM, "phys", NULL, DBGFR3InfoLogRelHlp()); 3056 cpu_abort(env, "Trying to execute code with memory type addr_code=% VGv addend=%VGp at %VGv. (iHandlerMemType=%#x iMMIOMemType=%#x)\n",3056 cpu_abort(env, "Trying to execute code with memory type addr_code=%RGv addend=%RGp at %RGv. (iHandlerMemType=%#x iMMIOMemType=%#x)\n", 3057 3057 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType); 3058 3058 AssertFatalFailed(); … … 3063 3063 * Useful for finding non-guest-ram reads/writes. */ 3064 3064 #if 0 //1 /* disable if it becomes bothersome... */ 3065 # define VBOX_CHECK_ADDR(GCPhys) AssertMsg(PGMPhysIsGCPhysValid(cpu_single_env->pVM, (GCPhys)), ("% VGp\n", (GCPhys)))3065 # define VBOX_CHECK_ADDR(GCPhys) AssertMsg(PGMPhysIsGCPhysValid(cpu_single_env->pVM, (GCPhys)), ("%RGp\n", (GCPhys))) 3066 3066 #else 3067 3067 # define VBOX_CHECK_ADDR(GCPhys) do { } while (0) … … 3328 3328 int rc = IOMMMIORead((PVM)pvVM, GCPhys, &u32, 1); 3329 3329 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); 3330 Log2(("remR3MMIOReadU8: GCPhys=% VGp -> %02x\n", GCPhys, u32));3330 Log2(("remR3MMIOReadU8: GCPhys=%RGp -> %02x\n", GCPhys, u32)); 3331 3331 return u32; 3332 3332 } … … 3338 3338 int rc = IOMMMIORead((PVM)pvVM, GCPhys, &u32, 2); 3339 3339 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); 3340 Log2(("remR3MMIOReadU16: GCPhys=% VGp -> %04x\n", GCPhys, u32));3340 Log2(("remR3MMIOReadU16: GCPhys=%RGp -> %04x\n", GCPhys, u32)); 3341 3341 return u32; 3342 3342 } … … 3348 3348 int rc = IOMMMIORead((PVM)pvVM, GCPhys, &u32, 4); 3349 3349 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); 3350 Log2(("remR3MMIOReadU32: GCPhys=% VGp -> %08x\n", GCPhys, u32));3350 Log2(("remR3MMIOReadU32: GCPhys=%RGp -> %08x\n", GCPhys, u32)); 3351 3351 return u32; 3352 3352 } … … 3356 3356 { 3357 3357 int rc; 3358 Log2(("remR3MMIOWriteU8: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3358 Log2(("remR3MMIOWriteU8: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3359 3359 rc = IOMMMIOWrite((PVM)pvVM, GCPhys, u32, 1); 3360 3360 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); … … 3365 3365 { 3366 3366 int rc; 3367 Log2(("remR3MMIOWriteU16: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3367 Log2(("remR3MMIOWriteU16: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3368 3368 rc = IOMMMIOWrite((PVM)pvVM, GCPhys, u32, 2); 3369 3369 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); … … 3374 3374 { 3375 3375 int rc; 3376 Log2(("remR3MMIOWriteU32: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3376 Log2(("remR3MMIOWriteU32: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3377 3377 rc = IOMMMIOWrite((PVM)pvVM, GCPhys, u32, 4); 3378 3378 AssertMsg(rc == VINF_SUCCESS, ("rc=%Rrc\n", rc)); NOREF(rc); … … 3388 3388 { 3389 3389 uint8_t u8; 3390 Log2(("remR3HandlerReadU8: GCPhys=% VGp\n", GCPhys));3390 Log2(("remR3HandlerReadU8: GCPhys=%RGp\n", GCPhys)); 3391 3391 PGMPhysRead((PVM)pvVM, GCPhys, &u8, sizeof(u8)); 3392 3392 return u8; … … 3396 3396 { 3397 3397 uint16_t u16; 3398 Log2(("remR3HandlerReadU16: GCPhys=% VGp\n", GCPhys));3398 Log2(("remR3HandlerReadU16: GCPhys=%RGp\n", GCPhys)); 3399 3399 PGMPhysRead((PVM)pvVM, GCPhys, &u16, sizeof(u16)); 3400 3400 return u16; … … 3404 3404 { 3405 3405 uint32_t u32; 3406 Log2(("remR3HandlerReadU32: GCPhys=% VGp\n", GCPhys));3406 Log2(("remR3HandlerReadU32: GCPhys=%RGp\n", GCPhys)); 3407 3407 PGMPhysRead((PVM)pvVM, GCPhys, &u32, sizeof(u32)); 3408 3408 return u32; … … 3411 3411 static void remR3HandlerWriteU8(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3412 3412 { 3413 Log2(("remR3HandlerWriteU8: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3413 Log2(("remR3HandlerWriteU8: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3414 3414 PGMPhysWrite((PVM)pvVM, GCPhys, &u32, sizeof(uint8_t)); 3415 3415 } … … 3417 3417 static void remR3HandlerWriteU16(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3418 3418 { 3419 Log2(("remR3HandlerWriteU16: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3419 Log2(("remR3HandlerWriteU16: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3420 3420 PGMPhysWrite((PVM)pvVM, GCPhys, &u32, sizeof(uint16_t)); 3421 3421 } … … 3423 3423 static void remR3HandlerWriteU32(void *pvVM, target_phys_addr_t GCPhys, uint32_t u32) 3424 3424 { 3425 Log2(("remR3HandlerWriteU32: GCPhys=% VGp u32=%#x\n", GCPhys, u32));3425 Log2(("remR3HandlerWriteU32: GCPhys=%RGp u32=%#x\n", GCPhys, u32)); 3426 3426 PGMPhysWrite((PVM)pvVM, GCPhys, &u32, sizeof(uint32_t)); 3427 3427 } … … 3792 3792 * Do the disassembling. 3793 3793 */ 3794 RTLogPrintf("Guest Code: PC=% VGp #VGp (%VGp) bytes fFlags=%d\n", uCode, cb, cb, fFlags);3794 RTLogPrintf("Guest Code: PC=%RGp %#VGp (%RGp) bytes fFlags=%d\n", uCode, cb, cb, fFlags); 3795 3795 cs = cpu_single_env->segs[R_CS].selector; 3796 3796 eip = uCode - cpu_single_env->segs[R_CS].base; … … 3806 3806 &cbInstr); 3807 3807 if (RT_SUCCESS(rc)) 3808 RTLogPrintf("% VGp %s\n", uCode, szBuf);3808 RTLogPrintf("%RGp %s\n", uCode, szBuf); 3809 3809 else 3810 3810 { 3811 RTLogPrintf("% VGp %04x:%VGp: %s\n", uCode, cs, eip, szBuf);3811 RTLogPrintf("%RGp %04x:%RGp: %s\n", uCode, cs, eip, szBuf); 3812 3812 cbInstr = 1; 3813 3813 }
Note:
See TracChangeset
for help on using the changeset viewer.