VirtualBox

Changeset 92577 in vbox


Ignore:
Timestamp:
Nov 24, 2021 1:49:26 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148459
Message:

IPRT,bs3kit: Made ASMWrMsr in 16-bit code. bugref:9044

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm-amd64-x86.h

    r87404 r92577  
    23912391 */
    23922392#if RT_INLINE_ASM_EXTERNAL && !RT_INLINE_ASM_USES_INTRIN
    2393 RT_ASM_DECL_PRAGMA_WATCOM(void) ASMWrMsr(uint32_t uRegister, uint64_t u64Val);
     2393RT_ASM_DECL_PRAGMA_WATCOM_386(void) ASMWrMsr(uint32_t uRegister, uint64_t u64Val);
    23942394#else
    23952395DECLINLINE(void) ASMWrMsr(uint32_t uRegister, uint64_t u64Val)
     
    24282428 */
    24292429#if RT_INLINE_ASM_EXTERNAL
    2430 RT_ASM_DECL_PRAGMA_WATCOM(uint64_t) ASMRdMsrEx(uint32_t uRegister, RTCCUINTXREG uXDI);
     2430RT_ASM_DECL_PRAGMA_WATCOM_386(uint64_t) ASMRdMsrEx(uint32_t uRegister, RTCCUINTXREG uXDI);
    24312431#else
    24322432DECLINLINE(uint64_t) ASMRdMsrEx(uint32_t uRegister, RTCCUINTXREG uXDI)
     
    24662466 */
    24672467#if RT_INLINE_ASM_EXTERNAL
    2468 RT_ASM_DECL_PRAGMA_WATCOM(void) ASMWrMsrEx(uint32_t uRegister, RTCCUINTXREG uXDI, uint64_t u64Val);
     2468RT_ASM_DECL_PRAGMA_WATCOM_386(void) ASMWrMsrEx(uint32_t uRegister, RTCCUINTXREG uXDI, uint64_t u64Val);
    24692469#else
    24702470DECLINLINE(void) ASMWrMsrEx(uint32_t uRegister, RTCCUINTXREG uXDI, uint64_t u64Val)
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r92529 r92577  
    238238       ../../../Runtime/common/asm/ASMCpuId.asm \
    239239       ../../../Runtime/common/asm/ASMCpuId_Idx_ECX.asm \
     240       ../../../Runtime/common/asm/ASMWrMsr.asm \
    240241       ../../../Runtime/common/asm/ASMGetXcr0.asm \
    241242       ../../../Runtime/common/asm/ASMSetXcr0.asm \
     
    281282$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,ASMCpuIdExSlow,32)
    282283$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,ASMCpuId,20)
     284$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,ASMWrMsr,12)
    283285$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,ASMSetXcr0,8)
    284286$(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,ASMGetXcr0,0)
Note: See TracChangeset for help on using the changeset viewer.

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