VirtualBox

忽略:
時間撮記:
2013-7-3 下午02:48:42 (12 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
86946
訊息:

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

檔案:
移動 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/common/asm/ASMGetGDTR.asm

    • 屬性 svn:keywords 設為 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
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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