VirtualBox

Changeset 81928 in vbox for trunk/include


Ignore:
Timestamp:
Nov 18, 2019 12:42:34 AM (5 years ago)
Author:
vboxsync
Message:

IPRT: Added 32-bit memchr variant. Prepared 16 and 64 bit ones too. [build fix]

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmdev.h

    r81923 r81928  
    58575857
    58585858/**
     5859 * Combines PDMDevHlpIoPortCreate() & PDMDevHlpIoPortMap(), but with flags.
     5860 */
     5861DECLINLINE(int) PDMDevHlpIoPortCreateFlagsAndMap(PPDMDEVINS pDevIns, RTIOPORT Port, RTIOPORT cPorts, uint32_t fFlags,
     5862                                                 PFNIOMIOPORTNEWOUT pfnOut, PFNIOMIOPORTNEWIN pfnIn,
     5863                                                 const char *pszDesc, PCIOMIOPORTDESC paExtDescs, PIOMIOPORTHANDLE phIoPorts)
     5864{
     5865    int rc = pDevIns->pHlpR3->pfnIoPortCreateEx(pDevIns, cPorts, fFlags, NULL, UINT32_MAX,
     5866                                                pfnOut, pfnIn, NULL, NULL, NULL, pszDesc, paExtDescs, phIoPorts);
     5867    if (RT_SUCCESS(rc))
     5868        rc = pDevIns->pHlpR3->pfnIoPortMap(pDevIns, *phIoPorts, Port);
     5869    return rc;
     5870}
     5871
     5872/**
    58595873 * Combines PDMDevHlpIoPortCreateEx() & PDMDevHlpIoPortMap().
    58605874 */
  • trunk/include/iprt/mangling.h

    r81926 r81928  
    21202120# define RTStrIsValidEncoding                           RT_MANGLER(RTStrIsValidEncoding)
    21212121# define RTStrMemFind16                                 RT_MANGLER(RTStrMemFind16)
     2122# define RTStrMemFind16_EndProc                         RT_MANGLER(RTStrMemFind16_EndProc)
    21222123# define RTStrMemFind32                                 RT_MANGLER(RTStrMemFind32)
     2124# define RTStrMemFind32_EndProc                         RT_MANGLER(RTStrMemFind32_EndProc)
    21232125# define RTStrMemFind64                                 RT_MANGLER(RTStrMemFind64)
     2126# define RTStrMemFind64_EndProc                         RT_MANGLER(RTStrMemFind64_EndProc)
    21242127# define RTStrmClearError                               RT_MANGLER(RTStrmClearError)
    21252128# define RTStrmClose                                    RT_MANGLER(RTStrmClose)
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