- Timestamp:
- May 7, 2019 10:15:39 AM (6 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asm/ASMGetFlags.asm
r78424 r78425 1 ; $Id$ 1 2 ;; @file 2 3 ; IPRT - ASMGetFlags(). … … 32 33 33 34 BEGINPROC_EXPORTED ASMGetFlags 35 %if ARCH_BITS == 32 36 pushfd 37 %else 34 38 pushf 35 pop rax 39 %endif 40 pop xAX 36 41 ret 37 42 ENDPROC ASMGetFlags -
trunk/src/VBox/Runtime/common/asm/ASMSetFlags.asm
r78424 r78425 1 ; $Id$ 1 2 ;; @file 2 3 ; IPRT - ASMSetFlags(). … … 35 36 ; @param rcx eflags 36 37 BEGINPROC_EXPORTED ASMSetFlags 38 %if ARCH_BITS == 64 39 %ifdef ASM_CALL64_GCC 40 push rdi 41 %else 37 42 push rcx 43 %endif 38 44 popfq 45 %elif ARCH_BITS == 32 46 push dword [esp + 4] 47 popfd 48 %elif ARCH_BITS == 16 49 push bp 50 mov bp, sp 51 push word [bp + 2 + 2] 52 popf 53 leave 54 %else 55 %error ARCH_BITS 56 %endif 39 57 ret 40 58 ENDPROC ASMSetFlags -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r77824 r78425 235 235 ../../../Runtime/common/asm/ASMGetXcr0.asm \ 236 236 ../../../Runtime/common/asm/ASMSetXcr0.asm \ 237 ../../../Runtime/common/asm/ASMSetFlags.asm \ 238 ../../../Runtime/common/asm/ASMGetFlags.asm \ 237 239 238 240 # The 16-bit BS3Kit library.
Note:
See TracChangeset
for help on using the changeset viewer.