Changeset 48318 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Sep 5, 2013 5:15:49 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0A.asm
r47760 r48318 313 313 jz .test_es 314 314 mov ax, [rsi + VMXRESTOREHOST.uHostSelDS] 315 mov ds, ax315 mov ds, eax 316 316 317 317 .test_es: … … 319 319 jz .test_tr 320 320 mov ax, [rsi + VMXRESTOREHOST.uHostSelES] 321 mov es, ax321 mov es, eax 322 322 323 323 .test_tr: … … 350 350 jz .test_gs 351 351 mov ax, word [rsi + VMXRESTOREHOST.uHostSelFS] 352 mov fs, ax352 mov fs, eax 353 353 mov eax, dword [rsi + VMXRESTOREHOST.uHostFSBase] ; uHostFSBase - Lo 354 354 mov edx, dword [rsi + VMXRESTOREHOST.uHostFSBase + 4h] ; uHostFSBase - Hi … … 356 356 wrmsr 357 357 358 .test_gs: 358 359 test edi, VMX_RESTORE_HOST_SEL_GS 359 360 jz .restore_flags 360 .test_gs:361 361 mov ax, word [rsi + VMXRESTOREHOST.uHostSelGS] 362 mov gs, ax362 mov gs, eax 363 363 mov eax, dword [rsi + VMXRESTOREHOST.uHostGSBase] ; uHostGSBase - Lo 364 364 mov edx, dword [rsi + VMXRESTOREHOST.uHostGSBase + 4h] ; uHostGSBase - Hi -
trunk/src/VBox/VMM/VMMR0/HMR0Mixed.mac
r47797 r48318 89 89 pop xAX ; Saved LDTR 90 90 %ifdef RT_ARCH_AMD64 91 cmp xAX, 091 cmp eax, 0 92 92 je .skipldtwrite32%1 93 93 %endif … … 351 351 352 352 pop xAX ; Saved LDTR 353 cmp xAX, 0353 cmp eax, 0 354 354 je .skipldtwrite64%1 355 355 lldt ax … … 382 382 mov eax, [xDX + VMCSCACHE.Read.aField + xCX * 4] 383 383 vmread [xDX + VMCSCACHE.Read.aFieldVal + xCX * 8], xAX 384 cmp 384 cmp xCX, 0 385 385 jnz .cached_read64%3 386 386 .no_cached_read64%2:
Note:
See TracChangeset
for help on using the changeset viewer.