VirtualBox

Changeset 4695 in vbox for trunk/src


Ignore:
Timestamp:
Sep 11, 2007 10:15:39 AM (17 years ago)
Author:
vboxsync
Message:

Added Linux kernel symbol export to logbackdoor.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/VBox/logbackdoor.cpp

    r4538 r4695  
    7676     */
    7777}
    78 
     78#if defined(RT_OS_LINUX) && defined(IN_MODULE)
     79/* When we build this in the Linux kernel module, we need to make the
     80   symbols available to other modules as well. */
     81#include <linux/module.h>
     82# ifdef DEBUG
     83/* We only export the full logging infrastructure to the guest kernel
     84   modules in debug builds. */
     85EXPORT_SYMBOL(RTLogBackdoorPrintf);
     86# endif
     87EXPORT_SYMBOL(RTLogWriteUser);
     88#endif /* RT_OS_LINUX and IN_MODULE defined */
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