VirtualBox

Changeset 46941 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 3, 2013 2:48:42 PM (12 years ago)
Author:
vboxsync
Message:

Moved some related files from win/amd64 to common/asm while at it (LDTR).

Location:
trunk/src/VBox/Runtime/common/asm
Files:
2 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asm/ASMGetGDTR.asm

    • Property svn:keywords set to Author Date Id Revision
    r46940 r46941  
     1; $Id$
    12;; @file
    23; IPRT - ASMGetGDTR().
     
    45
    56;
    6 ; Copyright (C) 2006-2010 Oracle Corporation
     7; Copyright (C) 2006-2013 Oracle Corporation
    78;
    89; This file is part of VirtualBox Open Source Edition (OSE), as
     
    3334;;
    3435; Gets the content of the GDTR CPU register.
    35 ; @param   rcx  pGdtr   Where to store the GDTR contents.
     36; @param   pGdtr    Where to store the GDTR contents.
     37;                   msc=rcx, gcc=rdi, x86=[esp+4]
    3638;
    3739BEGINPROC_EXPORTED ASMGetGDTR
    38         sgdt    [rcx]
     40%ifdef ASM_CALL64_MSC
     41        mov     rax, rcx
     42%elifdef ASM_CALL64_GCC
     43        mov     rax, rdi
     44%elifdef RT_ARCH_X86
     45        mov     eax, [esp + 4]
     46%else
     47 %error "Undefined arch?"
     48%endif
     49        sgdt    [xAX]
    3950        ret
    4051ENDPROC ASMGetGDTR
  • trunk/src/VBox/Runtime/common/asm/ASMGetIDTR.asm

    • Property svn:keywords set to Author Date Id Revision
    r46938 r46941  
     1; $Id$
    12;; @file
    23; IPRT - ASMGetIDTR().
     
    45
    56;
    6 ; Copyright (C) 2006-2010 Oracle Corporation
     7; Copyright (C) 2006-2013 Oracle Corporation
    78;
    89; This file is part of VirtualBox Open Source Edition (OSE), as
     
    3334;;
    3435; Gets the content of the IDTR CPU register.
    35 ; @param   rcx  pIdtr   Where to store the IDTR contents.
     36; @param    pIdtr   Where to store the IDTR contents.
     37;                   msc=rcx, gcc=rdi, x86=[esp+4]
    3638;
    3739BEGINPROC_EXPORTED ASMGetIDTR
    38         sidt    [rcx]
     40%ifdef ASM_CALL64_MSC
     41        mov     rax, rcx
     42%elifdef ASM_CALL64_GCC
     43        mov     rax, rdi
     44%elifdef RT_ARCH_X86
     45        mov     eax, [esp + 4]
     46%else
     47 %error "Undefined arch?"
     48%endif
     49        sidt    [xAX]
    3950        ret
    4051ENDPROC ASMGetIDTR
    4152
    42 
  • trunk/src/VBox/Runtime/common/asm/ASMGetLDTR.asm

    • Property svn:keywords set to Author Date Id Revision
    r46939 r46941  
    1 ; $Id: $
     1; $Id$
    22;; @file
    33; IPRT - ASMGetLDTR().
  • trunk/src/VBox/Runtime/common/asm/ASMGetTR.asm

    • Property svn:keywords set to Author Date Id Revision
    r46940 r46941  
     1; $Id$
    12;; @file
    23; IPRT - ASMGetTR().
     
    45
    56;
    6 ; Copyright (C) 2006-2010 Oracle Corporation
     7; Copyright (C) 2006-2013 Oracle Corporation
    78;
    89; This file is part of VirtualBox Open Source Edition (OSE), as
  • trunk/src/VBox/Runtime/common/asm/ASMMultU64ByU32DivByU32.asm

    • Property svn:keywords changed from Id to Author Date Id Revision
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