VirtualBox

Changeset 10648 in vbox


Ignore:
Timestamp:
Jul 15, 2008 12:15:41 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33358
Message:

Moved X86FXSTATE from x86.mac to cpum.mac.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cpum.mac

    r10353 r10648  
    206206endstruc
    207207
     208;;
     209; FPU/XMM state
     210;;
     211struc X86FXSTATE
     212    ;/** Control word. */
     213    .FCW            resw    1
     214    ;/** Status word. */
     215    .FSW            resw    1
     216    ;/** Tag word (it's a byte actually). */
     217    .FTW            resb    1
     218    .huh1           resb    1
     219    ;/** Opcode. */
     220    .FOP            resw    1
     221    ;/** Instruction pointer. */
     222    .FPUIP          resd    1
     223    ;/** Code selector. */
     224    .CS             resw    1
     225    .Rsvrd1         resw    1
     226    ;/* - offset 16 - */
     227    ;/** Data pointer. */
     228    .FPUDP          resd    1
     229    ;/** Data segment */
     230    .DS             resw    1
     231    .Rsrvd2         resw    1
     232    .MXCSR          resd    1
     233    .MXCSR_MASK     resd    1
     234    ;/* - offset 32 - */
     235    ; FPU & MMX registers
     236    .aRegs          resq    8*2
     237    ;/* - offset 160 - */
     238    ;/* 8 XMM registers in 32 bits mode; 16 in long mode */
     239    .aXMM           resq    16*2
     240    ;/* - offset 416 - */
     241    .au32RsrvdRest  resd    (512 - 416) / 4
     242endstruc
     243
    208244%endif
  • trunk/include/VBox/x86.mac

    r10647 r10648  
    423423%define X86_TRAP_PF_ID              RT_BIT(4)
    424424
    425 ;;
    426 ; FPU/XMM state
    427 ;;
    428 struc X86FXSTATE
    429     ;/** Control word. */
    430     .FCW            resw    1
    431     ;/** Status word. */
    432     .FSW            resw    1
    433     ;/** Tag word (it's a byte actually). */
    434     .FTW            resb    1
    435     .huh1           resb    1
    436     ;/** Opcode. */
    437     .FOP            resw    1
    438     ;/** Instruction pointer. */
    439     .FPUIP          resd    1
    440     ;/** Code selector. */
    441     .CS             resw    1
    442     .Rsvrd1         resw    1
    443     ;/* - offset 16 - */
    444     ;/** Data pointer. */
    445     .FPUDP          resd    1
    446     ;/** Data segment */
    447     .DS             resw    1
    448     .Rsrvd2         resw    1
    449     .MXCSR          resd    1
    450     .MXCSR_MASK     resd    1
    451     ;/* - offset 32 - */
    452     ; FPU & MMX registers
    453     .aRegs          resq    8*2
    454     ;/* - offset 160 - */
    455     ;/* 8 XMM registers in 32 bits mode; 16 in long mode */
    456     .aXMM           resq    16*2
    457     ;/* - offset 416 - */
    458     .au32RsrvdRest  resd    (512 - 416) / 4
    459 endstruc
  • trunk/src/VBox/VMM/VMMAll/CPUMAllA.asm

    r10647 r10648  
    287287
    288288;;
    289 ; Saves the guest's XMM state
     289; Restores the guest's XMM state
    290290;
    291291; @param    pCtx  x86:[esp+4] GCC:rdi MSC:rcx     CPUMCTX pointer
  • trunk/src/VBox/VMM/testcase/tstAsmStructsAsm.asm

    r10647 r10648  
    3333%include "VBox/vm.mac"
    3434%include "VBox/sup.mac"
    35 %include "VBox/x86.mac"
    3635%include "../VMMSwitcher/VMMSwitcher.mac"
    3736%ifdef DO_GLOBALS
Note: See TracChangeset for help on using the changeset viewer.

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