Changeset 82601 in vbox
- Timestamp:
- Dec 16, 2019 8:42:46 PM (5 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r81934 r82601 200 200 win/amd64/ASMProbeReadByte.asm \ 201 201 common/asm/ASMSetFlags.asm \ 202 common/asm/ASMAddFlags.asm \ 202 203 win/amd64/ASMGetDR0.asm \ 203 204 win/amd64/ASMGetDR1.asm \ -
trunk/src/VBox/Runtime/common/asm/ASMAddFlags.asm
r82589 r82601 34 34 35 35 ;; 36 ; @param rcx eflags37 BEGINPROC_EXPORTED ASM SetFlags36 ; @param rcx/rdi eflags to add 37 BEGINPROC_EXPORTED ASMAddFlags 38 38 %if ARCH_BITS == 64 39 pushfq 40 mov rax, [rsp] 39 41 %ifdef ASM_CALL64_GCC 40 push rdi 42 or rdi, rax 43 mov [rsp], rdi 41 44 %else 42 push rcx 45 or rcx, rax 46 mov [rsp], rcx 43 47 %endif 44 48 popfq 45 49 %elif ARCH_BITS == 32 46 push dword [esp + 4] 50 mov ecx, [esp + 4] 51 pushfd 52 mov eax, [esp] 53 or ecx, eax 54 mov [esp], ecx 47 55 popfd 48 56 %elif ARCH_BITS == 16 49 57 push bp 50 58 mov bp, sp 59 pushf 60 pop ax 51 61 push word [bp + 2 + 2] 62 or [bp - 2], ax 52 63 popf 53 64 leave … … 56 67 %endif 57 68 ret 58 ENDPROC ASM SetFlags69 ENDPROC ASMAddFlags 59 70
Note:
See TracChangeset
for help on using the changeset viewer.