VirtualBox

Changeset 93958 in vbox


Ignore:
Timestamp:
Feb 27, 2022 1:46:29 PM (3 years ago)
Author:
vboxsync
Message:

IPRT: Expose mempcpy on darwin so we can build DevFwCommon after r150183. Added C++ version of it for arm64.

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/string.h

    r93640 r93958  
    7575 * IPRT instead of the operating environment.
    7676 */
    77 #if defined(RT_OS_DARWIN) && defined(KERNEL)
     77#if defined(RT_OS_DARWIN)
    7878RT_C_DECLS_BEGIN
     79# ifdef KERNEL
    7980void *memchr(const void *pv, int ch, size_t cb);
    8081char *strpbrk(const char *pszStr, const char *pszChars);
     82# endif
     83RTDECL(void *) mempcpy(void *pvDst, const void *pvSrc, size_t cb);
    8184RT_C_DECLS_END
    8285#endif
  • trunk/src/VBox/Runtime/Makefile.kmk

    r93650 r93958  
    13251325        r3/posix/tls-posix.cpp \
    13261326        r3/posix/utf8-posix.cpp
    1327 RuntimeR3_SOURCES.darwin.x86   += common/string/memrchr.asm
    1328 RuntimeR3_SOURCES.darwin.amd64 += common/string/memrchr.asm
     1327RuntimeR3_SOURCES.darwin.x86   += \
     1328        common/string/mempcpy.asm \
     1329        common/string/memrchr.asm
     1330RuntimeR3_SOURCES.darwin.amd64 += \
     1331        common/string/mempcpy.asm \
     1332        common/string/memrchr.asm
    13291333RuntimeR3_SOURCES.darwin.arm32 += \
     1334        common/string/mempcpy.cpp \
    13301335        common/string/memrchr.cpp \
    13311336        r3/darwin/RTMpGetDescription-generic.cpp
    13321337RuntimeR3_SOURCES.darwin.arm64 += \
     1338        common/string/mempcpy.cpp \
    13331339        common/string/memrchr.cpp \
    13341340        r3/darwin/RTMpGetDescription-generic.cpp
Note: See TracChangeset for help on using the changeset viewer.

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