VirtualBox

Changeset 29271 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
May 9, 2010 9:25:16 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61355
Message:

Make VBoxRT build on sparc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/logcom.cpp

    r29250 r29271  
    4949
    5050#include <iprt/asm.h>
    51 #include <iprt/asm-amd64-x86.h>
     51#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) /** @todo consider fixing the config instead. */
     52# include <iprt/asm-amd64-x86.h>
     53#endif
    5254#include <iprt/stdarg.h>
    5355#include <iprt/string.h>
     
    114116RTDECL(void) RTLogWriteCom(const char *pach, size_t cb)
    115117{
     118#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    116119    const uint8_t *pu8;
    117120    for (pu8 = (const uint8_t *)pach; cb-- > 0; pu8++)
     
    135138        ASMOutU8(IPRT_UART_BASE, *pu8);
    136139    }
     140#else
     141    /* PORTME? */
     142#endif
    137143}
    138144RT_EXPORT_SYMBOL(RTLogWriteCom);
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