Changeset 97229 in vbox for trunk/src/VBox
- Timestamp:
- Oct 18, 2022 10:59:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r96407 r97229 1831 1831 char *psz = szEFlags; 1832 1832 PCCPUMCTX pCtx = &pVCpu->cpum.GstCtx; 1833 uint32_t uEFlags = pCtx->eflags.u32;1833 uint32_t fEFlags = pCtx->eflags.u; 1834 1834 for (unsigned i = 0; i < RT_ELEMENTS(s_aFlags); i++) 1835 1835 { 1836 const char *pszAdd = s_aFlags[i].fFlag & uEFlags ? s_aFlags[i].pszSet : s_aFlags[i].pszClear;1836 const char *pszAdd = s_aFlags[i].fFlag & fEFlags ? s_aFlags[i].pszSet : s_aFlags[i].pszClear; 1837 1837 if (pszAdd) 1838 1838 { … … 1850 1850 */ 1851 1851 if (CPUMIsGuestIn64BitCode(pVCpu)) 1852 {1853 1852 Log(("rax=%016RX64 rbx=%016RX64 rcx=%016RX64 rdx=%016RX64\n" 1854 1853 "rsi=%016RX64 rdi=%016RX64 r8 =%016RX64 r9 =%016RX64\n" … … 1873 1872 pCtx->r8, pCtx->r9, pCtx->r10, pCtx->r11, pCtx->r12, pCtx->r13, 1874 1873 pCtx->r14, pCtx->r15, 1875 pCtx->rip, pCtx->rsp, pCtx->rbp, X86_EFL_GET_IOPL( uEFlags), 31, szEFlags,1874 pCtx->rip, pCtx->rsp, pCtx->rbp, X86_EFL_GET_IOPL(fEFlags), 31, szEFlags, 1876 1875 pCtx->cs.Sel, pCtx->cs.u64Base, pCtx->cs.u32Limit, pCtx->cs.Attr.u, 1877 1876 pCtx->ds.Sel, pCtx->ds.u64Base, pCtx->ds.u32Limit, pCtx->ds.Attr.u, … … 1883 1882 pCtx->dr[0], pCtx->dr[1], pCtx->dr[2], pCtx->dr[3], 1884 1883 pCtx->dr[4], pCtx->dr[5], pCtx->dr[6], pCtx->dr[7], 1885 pCtx->gdtr.pGdt, pCtx->gdtr.cbGdt, pCtx->idtr.pIdt, pCtx->idtr.cbIdt, uEFlags,1884 pCtx->gdtr.pGdt, pCtx->gdtr.cbGdt, pCtx->idtr.pIdt, pCtx->idtr.cbIdt, fEFlags, 1886 1885 pCtx->ldtr.Sel, pCtx->ldtr.u64Base, pCtx->ldtr.u32Limit, pCtx->ldtr.Attr.u, 1887 1886 pCtx->tr.Sel, pCtx->tr.u64Base, pCtx->tr.u32Limit, pCtx->tr.Attr.u, 1888 1887 pCtx->SysEnter.cs, pCtx->SysEnter.eip, pCtx->SysEnter.esp)); 1889 }1890 1888 else 1891 1889 Log(("eax=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x\n" … … 1903 1901 , 1904 1902 pCtx->eax, pCtx->ebx, pCtx->ecx, pCtx->edx, pCtx->esi, pCtx->edi, 1905 pCtx->eip, pCtx->esp, pCtx->ebp, X86_EFL_GET_IOPL( uEFlags), 31, szEFlags,1903 pCtx->eip, pCtx->esp, pCtx->ebp, X86_EFL_GET_IOPL(fEFlags), 31, szEFlags, 1906 1904 pCtx->cs.Sel, pCtx->cs.u64Base, pCtx->cs.u32Limit, pCtx->cs.Attr.u, pCtx->dr[0], pCtx->dr[1], 1907 1905 pCtx->ds.Sel, pCtx->ds.u64Base, pCtx->ds.u32Limit, pCtx->ds.Attr.u, pCtx->dr[2], pCtx->dr[3], … … 1910 1908 pCtx->gs.Sel, pCtx->gs.u64Base, pCtx->gs.u32Limit, pCtx->gs.Attr.u, pCtx->cr0, pCtx->cr2, 1911 1909 pCtx->ss.Sel, pCtx->ss.u64Base, pCtx->ss.u32Limit, pCtx->ss.Attr.u, pCtx->cr3, pCtx->cr4, 1912 pCtx->gdtr.pGdt, pCtx->gdtr.cbGdt, pCtx->idtr.pIdt, pCtx->idtr.cbIdt, uEFlags,1910 pCtx->gdtr.pGdt, pCtx->gdtr.cbGdt, pCtx->idtr.pIdt, pCtx->idtr.cbIdt, fEFlags, 1913 1911 pCtx->ldtr.Sel, pCtx->ldtr.u64Base, pCtx->ldtr.u32Limit, pCtx->ldtr.Attr.u, 1914 1912 pCtx->tr.Sel, pCtx->tr.u64Base, pCtx->tr.u32Limit, pCtx->tr.Attr.u, … … 1932 1930 1933 1931 if (fFlags & HM_DUMP_REG_FLAGS_MSRS) 1934 {1935 1932 Log(("MSR:\n" 1936 1933 "EFER =%016RX64\n" … … 1948 1945 pCtx->msrSFMASK, 1949 1946 pCtx->msrKERNELGSBASE)); 1950 }1951 1947 } 1952 1948
Note:
See TracChangeset
for help on using the changeset viewer.