VirtualBox

Changeset 48239 in vbox


Ignore:
Timestamp:
Sep 3, 2013 1:46:35 AM (11 years ago)
Author:
vboxsync
Message:

LegacyandAMD64.mac: More debug points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac

    r48236 r48239  
    159159    pushf
    160160    cli
    161     DEBUG_CMOS_STACK32 10h
     161    ;DEBUG_CMOS_STACK32 10h
    162162
    163163    ;
     
    431431    mov     eax, cr4
    432432    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
    433441    DEBUG32_S_CHAR('c')
    434442    DEBUG32_S_CHAR(';')
     
    478486GLOBALNAME IDEnterTarget
    479487    DEBUG32_CHAR('1')
     488    DEBUG_CMOS_TRASH_AL 18h
    480489
    481490    ; 1. Disable paging.
     
    484493    mov     cr0, ebx
    485494    DEBUG32_CHAR('2')
     495    DEBUG_CMOS_TRASH_AL 19h
    486496
    487497%ifdef VBOX_WITH_CRASHDUMP_MAGIC
     
    494504    or      ecx, X86_CR4_PAE
    495505    mov     cr4, ecx
     506    DEBUG_CMOS_TRASH_AL 1ah
    496507
    497508    ; 3. Load long mode intermediate CR3.
     
    500511    mov     cr3, ecx
    501512    DEBUG32_CHAR('3')
     513    DEBUG_CMOS_TRASH_AL 1bh
    502514
    503515%ifdef VBOX_WITH_CRASHDUMP_MAGIC
     
    516528    mov     edx, esi
    517529    DEBUG32_CHAR('4')
     530    DEBUG_CMOS_TRASH_AL 1ch
    518531
    519532%ifdef VBOX_WITH_CRASHDUMP_MAGIC
     
    539552NAME(IDEnter64Mode):
    540553    DEBUG64_CHAR('6')
     554    DEBUG_CMOS_TRASH_AL 1dh
    541555    jmp     [NAME(pICEnterTarget) wrt rip]
    542556
     
    561575ALIGNCODE(16)
    562576GLOBALNAME ICEnterTarget
    563     DEBUG_CMOS_TRASH_AL 1ah
     577    ;DEBUG_CMOS_TRASH_AL 1eh
    564578    ; Load CPUM pointer into rdx
    565579    mov     rdx, [NAME(pCpumIC) wrt rip]
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette