Changeset 15962 in vbox for trunk/src/VBox/VMM/VMMGC
- Timestamp:
- Jan 15, 2009 12:33:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/HWACCMGCA.asm
r15662 r15962 144 144 mov rbx, [rbp + 24 + 8] ; pCache 145 145 146 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 147 mov qword [rbx + VMCSCACHE.uPos], 2 148 %endif 149 146 150 %ifdef DEBUG 147 151 mov rax, [rbp + 8 + 8] ; pPageCpuPhys … … 171 175 .no_cached_writes: 172 176 177 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 178 mov qword [rbx + VMCSCACHE.uPos], 3 179 %endif 173 180 ; Save the pCache pointer 174 181 push xBX … … 201 208 vmwrite rax, [rsp+2] 202 209 add rsp, 8*2 210 211 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 212 mov qword [rbx + VMCSCACHE.uPos], 4 213 %endif 203 214 204 215 ; hopefully we can ignore TR (we restore it anyway on the way back to 32 bits mode) … … 231 242 LOADGUESTMSR MSR_K8_SF_MASK, CPUMCTX.msrSFMASK 232 243 LOADGUESTMSR MSR_K8_KERNEL_GS_BASE, CPUMCTX.msrKERNELGSBASE 244 245 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 246 mov qword [rbx + VMCSCACHE.uPos], 5 247 %endif 233 248 234 249 ; Save the pCtx pointer … … 300 315 pop rdi ; saved pCache 301 316 317 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 318 mov dword [rdi + VMCSCACHE.uPos], 7 319 %endif 302 320 %ifdef DEBUG 303 321 mov [rdi + VMCSCACHE.TestOut.pCache], rdi 304 322 mov [rdi + VMCSCACHE.TestOut.pCtx], rsi 323 mov rax, cr8 324 mov [rdi + VMCSCACHE.TestOut.cr8], rax 305 325 %endif 306 326 … … 322 342 mov rax, cr2 323 343 mov [rdi + VMCSCACHE.cr2], rax 344 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 345 mov dword [rdi + VMCSCACHE.uPos], 8 346 %endif 324 347 %endif 325 348 … … 329 352 mov eax, VINF_SUCCESS 330 353 354 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 355 mov dword [rdi + VMCSCACHE.uPos], 9 356 %endif 331 357 .vmstart64_end: 332 358 … … 354 380 pop rdx 355 381 mov [rdi + VMCSCACHE.TestOut.eflags], rdx 382 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 383 mov dword [rdi + VMCSCACHE.uPos], 12 384 %endif 356 385 .skip_flags_save: 357 386 %endif … … 366 395 %ifdef VMX_USE_CACHED_VMCS_ACCESSES 367 396 pop rdi ; pCache 397 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 398 mov dword [rdi + VMCSCACHE.uPos], 10 399 %endif 368 400 369 401 %ifdef DEBUG … … 390 422 mov [rdi + VMCSCACHE.TestOut.pCache], rdi 391 423 mov [rdi + VMCSCACHE.TestOut.pCtx], rsi 424 %endif 425 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 426 mov dword [rdi + VMCSCACHE.uPos], 11 392 427 %endif 393 428
Note:
See TracChangeset
for help on using the changeset viewer.