Changeset 31517 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Aug 10, 2010 11:28:35 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64613
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 5 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r31432 r31517 5 5 6 6 # 7 # Copyright (C) 2007 Oracle Corporation7 # Copyright (C) 2007-2010 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 22 22 if1of ($(KBUILD_TARGET), freebsd $(if $(defined VBOX_WITH_ADDITION_DRIVERS),linux,) os2 solaris) 23 23 # 24 # VBoxGuest - The Guest Additions Driver (mixed case).24 # VBoxGuest - The Guest Additions Driver. 25 25 # 26 26 SYSMODS += VBoxGuest … … 47 47 VBoxGuest_SOURCES += \ 48 48 VBoxGuest.cpp \ 49 VBox Helper.cpp50 VBox Helper.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)49 VBoxGuest2.cpp 50 VBoxGuest2.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 51 51 VBoxGuest_LIBS = \ 52 52 $(VBOX_LIB_VBGL_R0BASE) \ -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp
-
Property svn:keywords
changed from
Id
toAuthor Date Id Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.def
-
Property svn:keywords
changed from
Id
toAuthor Date Id Revision
-
Property svn:keywords
changed from
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r31430 r31517 22 22 #define LOG_GROUP LOG_GROUP_DEFAULT 23 23 #include "VBoxGuestInternal.h" 24 #include "VBoxGuest2.h" 24 25 #include <VBox/VMMDev.h> /* for VMMDEV_RAM_SIZE */ 25 26 #include <VBox/log.h> … … 36 37 # include <iprt/thread.h> 37 38 #endif 38 #include "VBoxHelper.h"39 39 #include "version-generated.h" 40 40 #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) … … 734 734 Assert(pDevExt->PhysIrqAckEvents != 0); 735 735 736 rc = VBox ReportGuestInfo(enmOSType);736 rc = VBoxGuestReportGuestInfo(enmOSType); 737 737 if (RT_SUCCESS(rc)) 738 738 { … … 749 749 vboxGuestInitFixateGuestMappings(pDevExt); 750 750 751 rc = VBox ReportGuestDriverStatus(true /* Driver is active */);751 rc = VBoxGuestReportDriverStatus(true /* Driver is active */); 752 752 if (RT_FAILURE(rc)) 753 753 LogRel(("VBoxGuestInitDevExt: VBoxReportGuestDriverStatus failed, rc=%Rrc\n", rc)); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest2.cpp
r31514 r31517 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Helper - Miscellaneous functions.3 * VBoxGuest - Guest Additions Driver, bits shared with the windows code. 4 4 */ 5 5 … … 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 30 #include <iprt/string.h> 28 31 #include <VBox/err.h> … … 35 38 36 39 37 int VBoxReportGuestInfo(VBOXOSTYPE enmOSType) 40 /** 41 * Report the guest information to the host. 42 * 43 * @returns IPRT status code. 44 * @param enmOSType The OS type to report. 45 */ 46 int VBoxGuestReportGuestInfo(VBOXOSTYPE enmOSType) 38 47 { 39 48 /* … … 84 93 } 85 94 86 int VBoxReportGuestDriverStatus(bool fActive) 95 96 /** 97 * Report the guest driver status to the host. 98 * 99 * @returns IPRT status code. 100 * @param fActive Flag whether the driver is now active or not. 101 */ 102 int VBoxGuestReportDriverStatus(bool fActive) 87 103 { 88 104 /* -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest2.h
r31514 r31517 1 /* $Id :*/1 /* $Id$ */ 2 2 /** @file 3 * VBox Helper - Guest Additions Driver helper routines.3 * VBoxGuest - Guest Additions Driver, bits shared with the windows code. 4 4 */ 5 5 … … 14 14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 * 17 * The contents of this file may alternatively be used under the terms 18 * of the Common Development and Distribution License Version 1.0 19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the 20 * VirtualBox OSE distribution, in which case the provisions of the 21 * CDDL are applicable instead of those of the GPL. 22 * 23 * You may elect to license modified versions of this file under the 24 * terms and conditions of either the GPL or the CDDL or both. 16 25 */ 17 26 18 #ifndef ___VBoxGuest Helper_h19 #define ___VBoxGuest Helper_h27 #ifndef ___VBoxGuest2_h 28 #define ___VBoxGuest2_h 20 29 21 /** 22 * Helper to report the guest information to host. 23 * 24 * @return IPRT status code. 25 * @param enmOSType The OS type to report. 26 */ 27 int VBoxReportGuestInfo(VBOXOSTYPE enmOSType); 30 int VBoxGuestReportGuestInfo(VBOXOSTYPE enmOSType); 31 int VBoxGuestReportDriverStatus(bool fActive); 28 32 29 /** 30 * Helper to report the guest driver status to host. 31 * 32 * @return IPRT status code. 33 * @param fActive Flag whether the driver is now active or not. 34 */ 35 int VBoxReportGuestDriverStatus(bool fActive); 33 #endif 36 34 37 #endif /* ___VBoxGuestHelper_h */38 -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestA-os2.asm
-
Property svn:keywords
changed from
Id
toAuthor Date Id Revision
-
Property svn:keywords
changed from
Note:
See TracChangeset
for help on using the changeset viewer.