Changeset 38736 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 13, 2011 1:58:47 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74007
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestLog.h
r28800 r38736 28 28 29 29 #ifndef RT_OS_WINDOWS 30 31 /* Since I don't know the background for the stuff below, I prefer not to 32 change it. I don't need it or want it for backdoor logging inside the 33 Linux Guest Additions kernel modules though. */ 34 /* Update: bird made this the stance on all non-windows platforms. */ 35 # include <VBox/log.h> 36 37 #else /* RT_OS_LINUX not defined */ 30 # error "Don't include this file." 31 #else /* RT_OS_WINDOWS */ 38 32 /* Save LOG_ENABLED state, because "VBox/rt/log.h" 39 33 * may undefine it for IN_RING0 code. … … 60 54 # endif 61 55 62 #endif /* RT_OS_ LINUX not defined*/56 #endif /* RT_OS_WINDOWS */ 63 57 64 #endif /* __VBOXGUESTLOG__H */58 #endif /* !__VBOXGUESTLOG__H */ -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR0LibSharedFolders.h
r33994 r38736 53 53 #endif 54 54 55 #if defined(RT_OS_ LINUX) || defined(RT_OS_WINDOWS)55 #if defined(RT_OS_WINDOWS) 56 56 /** @todo remove this legacy and use VBox/log.h and/or iprt/log.h. */ 57 57 # ifdef DEBUG -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h
r33994 r38736 1 1 /** @file 2 * 3 * vboxsf -- VirtualBox Guest Additions for Linux 2 * vboxsf - VirtualBox Guest Additions for Linux. 4 3 */ 5 4 6 5 /* 7 * Copyright (C) 2006-201 0Oracle Corporation6 * Copyright (C) 2006-2011 Oracle Corporation 8 7 * 9 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 19 18 #define VFSMOD_H 20 19 20 #define LOG_GROUP LOG_GROUP_SHARED_FOLDERS 21 21 #include "the-linux-kernel.h" 22 22 #include "version-generated.h" 23 23 #include "product-generated.h" 24 #include <VBox/log.h> 24 25 25 26 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) … … 155 156 #endif 156 157 157 #endif /* vfsmod.h */ 158 #endif 159 -
trunk/src/VBox/Additions/solaris/DRM/vboxvideo_drm.c
r33656 r38736 29 29 * Header Files * 30 30 *******************************************************************************/ 31 #ifdef DEBUG_ramshankar 32 # define LOG_INSTANCE RTLogRelDefaultInstance() 33 #endif 31 34 #undef offsetof /* This gets redefined in drmP.h */ 32 35 #include "include/drmP.h" … … 38 41 #include <VBox/version.h> 39 42 40 #ifdef DEBUG_ramshankar41 # undef LogFlow42 # undef Log43 # define LogFlow LogRel44 # define Log LogRel45 #endif46 43 47 44 /******************************************************************************* -
trunk/src/VBox/Additions/solaris/Virtio/Virtio-solaris.c
r34233 r38736 1 1 /* $Id$ */ 2 2 /** @file 3 * VirtualBox Guest Additions :Virtio Driver for Solaris.3 * VirtualBox Guest Additions - Virtio Driver for Solaris. 4 4 */ 5 5 … … 28 28 * Header Files * 29 29 *******************************************************************************/ 30 #ifdef DEBUG_ramshankar 31 # define LOG_INSTANCE RTLogRelDefaultInstance() 32 #endif 30 33 #include "Virtio-solaris.h" 31 34 … … 34 37 #include <VBox/log.h> 35 38 36 #if defined(DEBUG_ramshankar)37 # undef LogFlowFunc38 # define LogFlowFunc LogRel39 # undef Log40 # define Log LogRel41 # undef LogFlow42 # define LogFlow LogRel43 #endif44 39 45 40 /** -
trunk/src/VBox/Additions/solaris/Virtio/VirtioNet-solaris.c
r34143 r38736 1 1 /* $Id$ */ 2 2 /** @file 3 * VirtualBox Guest Additions :Virtio Network Driver for Solaris.3 * VirtualBox Guest Additions - Virtio Network Driver for Solaris. 4 4 */ 5 5 … … 28 28 * Header Files * 29 29 *******************************************************************************/ 30 #ifdef DEBUG_ramshankar 31 # define LOG_INSTANCE RTLogRelDefaultInstance() 32 #endif 30 33 #include "Virtio-solaris.h" 31 34 #include "VirtioPci-solaris.h" … … 75 78 #define VIRTIO_NET_CTRL_VLAN 0x00080000 /* Control channel VLAN filtering */ 76 79 77 #if defined(DEBUG_ramshankar)78 # undef LogFlowFunc79 # define LogFlowFunc LogRel80 # undef Log81 # define Log LogRel82 # undef LogFlow83 # define LogFlow LogRel84 #endif85 80 86 81 /******************************************************************************* -
trunk/src/VBox/Additions/solaris/Virtio/VirtioPci-solaris.c
r34233 r38736 1 1 /* $Id$ */ 2 2 /** @file 3 * VirtualBox Guest Additions :Virtio Driver for Solaris, PCI Hypervisor Interface.3 * VirtualBox Guest Additions - Virtio Driver for Solaris, PCI Hypervisor Interface. 4 4 */ 5 5 … … 28 28 * Header Files * 29 29 *******************************************************************************/ 30 #ifdef DEBUG_ramshankar 31 # define LOG_INSTANCE RTLogRelDefaultInstance() 32 #endif 30 33 #include "VirtioPci-solaris.h" 31 34 … … 57 60 #define VIRTIO_PCI_RING_ALIGN PAGE_SIZE 58 61 #define VIRTIO_PCI_QUEUE_ADDR_SHIFT PAGE_SHIFT 59 60 #if defined(DEBUG_ramshankar)61 # undef LogFlowFunc62 # define LogFlowFunc LogRel63 # undef Log64 # define Log LogRel65 # undef LogFlow66 # define LogFlow LogRel67 #endif68 62 69 63 /** -
trunk/src/VBox/Additions/solaris/Virtio/VirtioRing-solaris.c
r34233 r38736 28 28 * Header Files * 29 29 *******************************************************************************/ 30 #ifdef DEBUG_ramshankar 31 # define LOG_INSTANCE RTLogRelDefaultInstance() 32 #endif 30 33 #include "Virtio-solaris.h" 31 34 … … 37 40 38 41 #include <sys/cmn_err.h> 39 40 #if defined(DEBUG_ramshankar)41 # undef LogFlowFunc42 # define LogFlowFunc LogRel43 # undef Log44 # define Log LogRel45 # undef LogFlow46 # define LogFlow LogRel47 #endif48 42 49 43 /**
Note:
See TracChangeset
for help on using the changeset viewer.