Changeset 50424 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 12, 2014 12:26:55 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92211
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r50408 r50424 184 184 common/asm/ASMNopPause.asm \ 185 185 common/asm/ASMGetIDTR.asm \ 186 common/asm/ASMSetIDTR.asm \ 186 187 common/asm/ASMGetGDTR.asm \ 188 common/asm/ASMSetGDTR.asm \ 187 189 common/asm/ASMGetLDTR.asm \ 188 190 common/asm/ASMGetSegAttr.asm \ -
trunk/src/VBox/Runtime/common/asm/ASMSetGDTR.asm
r50388 r50424 1 1 ; $Id$ 2 2 ;; @file 3 ; IPRT - ASM GetGDTR().3 ; IPRT - ASMSetGDTR(). 4 4 ; 5 5 6 6 ; 7 ; Copyright (C) 2006-201 3Oracle Corporation7 ; Copyright (C) 2006-2014 Oracle Corporation 8 8 ; 9 9 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 33 33 34 34 ;; 35 ; Gets the content of the GDTR CPU register.36 ; @param pGdtr Where to store the GDTR contents.35 ; Sets the content of the GDTR CPU register. 36 ; @param pGdtr Where to load the GDTR contents from. 37 37 ; msc=rcx, gcc=rdi, x86=[esp+4] 38 38 ; 39 BEGINPROC_EXPORTED ASM GetGDTR39 BEGINPROC_EXPORTED ASMSetGDTR 40 40 %ifdef ASM_CALL64_MSC 41 41 mov rax, rcx … … 47 47 %error "Undefined arch?" 48 48 %endif 49 sgdt [xAX]49 lgdt [xAX] 50 50 ret 51 ENDPROC ASM GetGDTR51 ENDPROC ASMSetGDTR 52 52 -
trunk/src/VBox/Runtime/common/asm/ASMSetIDTR.asm
r50388 r50424 1 1 ; $Id$ 2 2 ;; @file 3 ; IPRT - ASM GetGDTR().3 ; IPRT - ASMSetIDTR(). 4 4 ; 5 5 6 6 ; 7 ; Copyright (C) 2006-201 3Oracle Corporation7 ; Copyright (C) 2006-2014 Oracle Corporation 8 8 ; 9 9 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 33 33 34 34 ;; 35 ; Gets the content of the GDTR CPU register.36 ; @param p Gdtr Where to store the GDTR contents.35 ; Sets the content of the IDTR CPU register. 36 ; @param pIdtr Where to load the IDTR contents from. 37 37 ; msc=rcx, gcc=rdi, x86=[esp+4] 38 38 ; 39 BEGINPROC_EXPORTED ASM GetGDTR39 BEGINPROC_EXPORTED ASMSetIDTR 40 40 %ifdef ASM_CALL64_MSC 41 41 mov rax, rcx … … 47 47 %error "Undefined arch?" 48 48 %endif 49 sgdt [xAX]49 lidt [xAX] 50 50 ret 51 ENDPROC ASM GetGDTR51 ENDPROC ASMSetIDTR 52 52
Note:
See TracChangeset
for help on using the changeset viewer.