VirtualBox

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

LegacyandAMD64.mac: Is there a problem already with the immediate mapping or is it first with the near jump?

File:
1 edited

Legend:

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

    r48239 r48243  
    473473    mov     cr3, eax
    474474    DEBUG32_CHAR('?')
     475%ifdef VBOX_WITH_64ON32_CMOS_DEBUG
    475476    DEBUG_CMOS_TRASH_AL 17h
     477    jmp     .first_jmp
     478    times 65 db 90h
     479.first_jmp:
     480    times 65 db 90h
     481.second_jmp:
     482    DEBUG_CMOS_TRASH_AL 18h
     483%endif
    476484
    477485    ;;
     
    486494GLOBALNAME IDEnterTarget
    487495    DEBUG32_CHAR('1')
    488     DEBUG_CMOS_TRASH_AL 18h
     496    DEBUG_CMOS_TRASH_AL 19h
    489497
    490498    ; 1. Disable paging.
     
    493501    mov     cr0, ebx
    494502    DEBUG32_CHAR('2')
    495     DEBUG_CMOS_TRASH_AL 19h
     503    DEBUG_CMOS_TRASH_AL 1ah
    496504
    497505%ifdef VBOX_WITH_CRASHDUMP_MAGIC
     
    504512    or      ecx, X86_CR4_PAE
    505513    mov     cr4, ecx
    506     DEBUG_CMOS_TRASH_AL 1ah
     514    DEBUG_CMOS_TRASH_AL 1bh
    507515
    508516    ; 3. Load long mode intermediate CR3.
     
    511519    mov     cr3, ecx
    512520    DEBUG32_CHAR('3')
    513     DEBUG_CMOS_TRASH_AL 1bh
     521    DEBUG_CMOS_TRASH_AL 1ch
    514522
    515523%ifdef VBOX_WITH_CRASHDUMP_MAGIC
     
    528536    mov     edx, esi
    529537    DEBUG32_CHAR('4')
    530     DEBUG_CMOS_TRASH_AL 1ch
     538    DEBUG_CMOS_TRASH_AL 1dh
    531539
    532540%ifdef VBOX_WITH_CRASHDUMP_MAGIC
     
    552560NAME(IDEnter64Mode):
    553561    DEBUG64_CHAR('6')
    554     DEBUG_CMOS_TRASH_AL 1dh
     562    DEBUG_CMOS_TRASH_AL 1eh
    555563    jmp     [NAME(pICEnterTarget) wrt rip]
    556564
     
    575583ALIGNCODE(16)
    576584GLOBALNAME ICEnterTarget
    577     ;DEBUG_CMOS_TRASH_AL 1eh
     585    ;DEBUG_CMOS_TRASH_AL 1fh
    578586    ; Load CPUM pointer into rdx
    579587    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