VirtualBox

Changeset 683 in vbox for trunk/src


Ignore:
Timestamp:
Feb 6, 2007 4:45:46 AM (18 years ago)
Author:
vboxsync
Message:

ASMGetTR & ASMGetGDTR

Location:
trunk/src/VBox/Runtime
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile

    r657 r683  
    8686        win64/ASMGetGS.asm \
    8787        win64/ASMGetIDTR.asm \
     88        win64/ASMGetGDTR.asm \
     89        win64/ASMGetTR.asm \
    8890        win64/ASMGetSS.asm \
    8991        win64/ASMProbeReadByte.asm \
  • trunk/src/VBox/Runtime/win64/ASMGetGDTR.asm

    r667 r683  
    11;; @file
    2 ; InnoTek Portable Runtime - ASMGetIDTR().
     2; InnoTek Portable Runtime - ASMGetGDTR().
    33;
    44
     
    2727
    2828;;
    29 ; Gets the content of the IDTR CPU register.
    30 ; @param   rcx  pIdtr   Where to store the IDTR contents.
     29; Gets the content of the GDTR CPU register.
     30; @param   rcx  pGdtr   Where to store the GDTR contents.
    3131;
    32 BEGINPROC_EXPORTED ASMGetIDTR
    33         sidt    [rcx]
     32BEGINPROC_EXPORTED ASMGetGDTR
     33        sgdt    [rcx]
    3434        ret
    35 ENDPROC ASMGetIDTR
     35ENDPROC ASMGetGDTR
    3636
    37 
  • trunk/src/VBox/Runtime/win64/ASMGetTR.asm

    r667 r683  
    11;; @file
    2 ; InnoTek Portable Runtime - ASMGetIDTR().
     2; InnoTek Portable Runtime - ASMGetTR().
    33;
    44
     
    2727
    2828;;
    29 ; Gets the content of the IDTR CPU register.
    30 ; @param   rcx  pIdtr   Where to store the IDTR contents.
    31 ;
    32 BEGINPROC_EXPORTED ASMGetIDTR
    33         sidt    [rcx]
     29; Get the TR register.
     30; @returns TR.
     31;
     32BEGINPROC_EXPORTED ASMGetTR
     33        str     ax
     34        movzx   eax, ax
    3435        ret
    35 ENDPROC ASMGetIDTR
     36ENDPROC ASMGetTR
    3637
    37 
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