VirtualBox

Ignore:
Timestamp:
Nov 12, 2015 12:22:18 AM (9 years ago)
Author:
vboxsync
Message:

Bs3MemMove

Location:
trunk/src/VBox/ValidationKit/bootsectors/bs3kit
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r58666 r58667  
    314314       bs3-cmn-MemCpy.c \
    315315       bs3-cmn-MemPCpy.c \
     316       bs3-cmn-MemMove.c \
    316317
    317318# The BS3Kit library.
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-MemPCpy.c

    r58666 r58667  
    4747}
    4848
    49 
    50 
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r58666 r58667  
    218218
    219219/**
    220  * CRT style memcpy
     220 * CRT style memcpy.
    221221 *
    222222 * @returns pvDst
     
    231231
    232232/**
    233  * GNU (?) style mempcpy
     233 * GNU (?) style mempcpy.
    234234 *
    235235 * @returns pvDst + cbCopy
     
    243243#define Bs3MemPCpy BS3_CMN_NM(Bs3MemPCpy) /**< Selects #Bs3MemPCpy_c16, #Bs3MemPCpy_c32 or #Bs3MemPCpy_c64. */
    244244
     245/**
     246 * CRT style memmove (overlapping buffers is fine).
     247 *
     248 * @returns pvDst
     249 * @param   pvDst           The destination buffer.
     250 * @param   pvSrc           The source buffer.
     251 * @param   cbCopy          The number of bytes to copy.
     252 */
     253BS3_DECL(void BS3_FAR *) Bs3MemMove_c16(void BS3_FAR *pvDst, const void BS3_FAR *pvSrc, size_t cbToCopy);
     254BS3_DECL(void BS3_FAR *) Bs3MemMove_c32(void BS3_FAR *pvDst, const void BS3_FAR *pvSrc, size_t cbToCopy); /** @copydoc Bs3MemMove_c16 */
     255BS3_DECL(void BS3_FAR *) Bs3MemMove_c64(void BS3_FAR *pvDst, const void BS3_FAR *pvSrc, size_t cbToCopy); /** @copydoc Bs3MemMove_c16 */
     256#define Bs3MemMove BS3_CMN_NM(Bs3MemMove) /**< Selects #Bs3MemMove_c16, #Bs3MemMove_c32 or #Bs3MemMove_c64. */
     257
     258
    245259/** @} */
    246260
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