Changeset 73282 in vbox for trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h
- Timestamp:
- Jul 20, 2018 8:04:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h
r73281 r73282 497 497 if (rc == VERR_NEM_FLUSH_TLB) 498 498 return PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /*fGlobal*/); 499 if (rc == VERR_NEM_CHANGE_PGM_MODE)500 return PGMChangeMode(pVCpu, pVCpu->cpum.GstCtx.cr0, pVCpu->cpum.GstCtx.cr4, pVCpu->cpum.GstCtx.msrEFER);501 499 AssertLogRelRCReturn(rc, rc); 502 500 return rc; … … 1834 1832 #if defined(IN_RING0) && defined(NEM_WIN_TEMPLATE_MODE_OWN_RUN_API) 1835 1833 /** 1836 * Wrapper around nemR0WinImportState that converts VERR_NEM_ CHANGE_PGM_MODE and1837 * VERR_NEM_FLUSH_TBLinto informational status codes and logs+asserts statuses.1834 * Wrapper around nemR0WinImportState that converts VERR_NEM_FLUSH_TLB 1835 * into informational status codes and logs+asserts statuses. 1838 1836 * 1839 1837 * @returns VBox strict status code. … … 1853 1851 } 1854 1852 1855 if (rc == VERR_NEM_ CHANGE_PGM_MODE || rc == VERR_NEM_FLUSH_TLB || rc == VERR_NEM_UPDATE_APIC_BASE)1853 if (rc == VERR_NEM_FLUSH_TLB) 1856 1854 { 1857 1855 Log4(("%s/%u: nemR0WinImportState -> %Rrc\n", pszCaller, pGVCpu->idCpu, -rc)); … … 4363 4361 if (RT_SUCCESS(rc2)) 4364 4362 pVCpu->cpum.GstCtx.fExtrn &= ~fImport; 4365 else if (rc2 == VERR_NEM_ CHANGE_PGM_MODE || rc2 == VERR_NEM_FLUSH_TLB || rc2 == VERR_NEM_UPDATE_APIC_BASE)4363 else if (rc2 == VERR_NEM_FLUSH_TLB) 4366 4364 { 4367 4365 pVCpu->cpum.GstCtx.fExtrn &= ~fImport;
Note:
See TracChangeset
for help on using the changeset viewer.