Changeset 48992 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 9, 2013 9:55:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asm/ASMGetSegAttr.asm
r48990 r48992 43 43 BEGINPROC_EXPORTED ASMGetSegAttr 44 44 %ifdef ASM_CALL64_MSC 45 mov r10, rdi 46 mov rdi, rcx 45 and ecx, 0ffffh 46 lar eax, ecx 47 %elifdef ASM_CALL64_GCC 48 and edi, 0ffffh 49 lar eax, edi 47 50 %elifdef RT_ARCH_X86 48 push ebp49 mov ebp, esp50 push edi 51 mov edi, [ebp + 08h]51 movzx edx, word [esp + 4] 52 lar eax, edx 53 %else 54 %error "Which arch is this?" 52 55 %endif 53 54 larl eax, edi 55 jz done 56 jz .return 56 57 mov eax, 0ffffffffh 57 done: 58 59 %ifdef ASM_CALL64_MSC 60 mov rdi, r10 61 %elifdef RT_ARCH_X86 62 pop edi 63 leave 64 %endif 58 .return: 65 59 ret 66 60 ENDPROC ASMGetSegAttr
Note:
See TracChangeset
for help on using the changeset viewer.