Changeset 48239 in vbox
- Timestamp:
- Sep 3, 2013 1:46:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac
r48236 r48239 159 159 pushf 160 160 cli 161 DEBUG_CMOS_STACK32 10h161 ;DEBUG_CMOS_STACK32 10h 162 162 163 163 ; … … 431 431 mov eax, cr4 432 432 mov [edx + CPUMCPU.Host.cr4], eax 433 %if 0 ; paranoia 434 test eax, X86_CR4_VMXE 435 jz .vmxe_fine 436 mov eax, VERR_VMX_IN_VMX_ROOT_MODE 437 retf 438 .vmxe_fine: 439 %endif 440 433 441 DEBUG32_S_CHAR('c') 434 442 DEBUG32_S_CHAR(';') … … 478 486 GLOBALNAME IDEnterTarget 479 487 DEBUG32_CHAR('1') 488 DEBUG_CMOS_TRASH_AL 18h 480 489 481 490 ; 1. Disable paging. … … 484 493 mov cr0, ebx 485 494 DEBUG32_CHAR('2') 495 DEBUG_CMOS_TRASH_AL 19h 486 496 487 497 %ifdef VBOX_WITH_CRASHDUMP_MAGIC … … 494 504 or ecx, X86_CR4_PAE 495 505 mov cr4, ecx 506 DEBUG_CMOS_TRASH_AL 1ah 496 507 497 508 ; 3. Load long mode intermediate CR3. … … 500 511 mov cr3, ecx 501 512 DEBUG32_CHAR('3') 513 DEBUG_CMOS_TRASH_AL 1bh 502 514 503 515 %ifdef VBOX_WITH_CRASHDUMP_MAGIC … … 516 528 mov edx, esi 517 529 DEBUG32_CHAR('4') 530 DEBUG_CMOS_TRASH_AL 1ch 518 531 519 532 %ifdef VBOX_WITH_CRASHDUMP_MAGIC … … 539 552 NAME(IDEnter64Mode): 540 553 DEBUG64_CHAR('6') 554 DEBUG_CMOS_TRASH_AL 1dh 541 555 jmp [NAME(pICEnterTarget) wrt rip] 542 556 … … 561 575 ALIGNCODE(16) 562 576 GLOBALNAME ICEnterTarget 563 DEBUG_CMOS_TRASH_AL 1ah577 ;DEBUG_CMOS_TRASH_AL 1eh 564 578 ; Load CPUM pointer into rdx 565 579 mov rdx, [NAME(pCpumIC) wrt rip]
Note:
See TracChangeset
for help on using the changeset viewer.