VirtualBox

Changeset 60661 in vbox


Ignore:
Timestamp:
Apr 22, 2016 4:46:15 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106829
Message:

bs3kit: fixes.

Location:
trunk/src/VBox/ValidationKit/bootsectors/bs3kit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-c16-TrapRmV86Generic.asm

    r60657 r60661  
    179179        push    bx                      ; BP - 2
    180180        pushf                           ; BP - 4
     181        push    ax                      ; BP - 6
    181182        cld
    182183
    183184        ; Reserve space for the the register and trap frame.
    184185        mov     bx, (BS3TRAPFRAME_size + 7) / 8
    185         push    ax
    186186        xor     ax, ax
    187187.more_zeroed_space:
     
    193193        jnz     .more_zeroed_space
    194194        mov     bx, sp
    195         pop     ax
    196195
    197196        mov     [ss:bx + BS3TRAPFRAME.uHandlerSs], ss
     
    207206        mov     [ss:bx + BS3TRAPFRAME.Ctx + BS3REGCTX.rax], dx
    208207
     208        mov     ax, [bp - 6]
    209209        mov     [ss:bx + BS3TRAPFRAME.bXcpt], al
    210210
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-RegCtxSave.asm

    r60657 r60661  
    103103        jb      .common_ancient
    104104        CPU 286
    105 
    106105        smsw    [xDI + BS3REGCTX.cr0]
     106
     107        mov     cl, [xDI + BS3REGCTX.bMode] ; assumed by jump destination
    107108        jmp     .common_80286
    108109
     
    208209        str     [xDI + BS3REGCTX.tr]
    209210        sldt    [xDI + BS3REGCTX.ldtr]
     211        jmp     .common_ancient
    210212
    211213.no_str_sldt:
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