VirtualBox

Changeset 6231 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 3, 2008 3:28:30 PM (17 years ago)
Author:
vboxsync
Message:

Guest Additions: add R3 backdoor logging for Linux guests

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r6147 r6231  
    540540endif
    541541RuntimeLnx32GuestR3_SOURCES    = $(RuntimeR3_SOURCES.linux) $(RuntimeR3_SOURCES)
     542RuntimeLnx32GuestR3_SOURCES   += VBox/logbackdoor.cpp
    542543RuntimeLnx32GuestR3_INCS       = $(RuntimeR3_INCS.linux)    $(RuntimeR3_INCS)
    543544
  • trunk/src/VBox/Runtime/VBox/logbackdoor.cpp

    r5999 r6231  
    6868}
    6969
     70#ifdef IN_GUEST_R0
    7071
    7172RTDECL(void) RTLogWriteUser(const char *pch, size_t cb)
     
    8687}
    8788
     89#elif defined(RT_OS_LINUX) && defined(IN_GUEST_R3)
     90
     91#include <VBox/VBoxGuest.h>
     92
     93RTDECL(void) RTLogWriteUser(const char *pch, size_t cb)
     94{
     95    VbglR3WriteLog(pch, cb);
     96}
     97
     98#else
     99# error Port me!
     100#endif
    88101
    89102#if defined(RT_OS_LINUX) && defined(IN_MODULE)
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