VirtualBox

Changeset 31517 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Aug 10, 2010 11:28:35 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64613
Message:

VBoxGuest: VBoxGuest2.cpp/h, fixed file headers, moved comments to the right place, corrected the function prefix.

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  
    55
    66#
    7 # Copyright (C) 2007 Oracle Corporation
     7# Copyright (C) 2007-2010 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2222if1of ($(KBUILD_TARGET), freebsd $(if $(defined VBOX_WITH_ADDITION_DRIVERS),linux,) os2 solaris)
    2323 #
    24  # VBoxGuest - The Guest Additions Driver (mixed case).
     24 # VBoxGuest - The Guest Additions Driver.
    2525 #
    2626 SYSMODS += VBoxGuest
     
    4747  VBoxGuest_SOURCES     += \
    4848        VBoxGuest.cpp \
    49         VBoxHelper.cpp
    50   VBoxHelper.cpp_DEFS    = VBOX_SVN_REV=$(VBOX_SVN_REV)
     49        VBoxGuest2.cpp
     50  VBoxGuest2.cpp_DEFS    = VBOX_SVN_REV=$(VBOX_SVN_REV)
    5151  VBoxGuest_LIBS         = \
    5252        $(VBOX_LIB_VBGL_R0BASE) \
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp

    • Property svn:keywords changed from Id to Author Date Id Revision
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.def

    • Property svn:keywords changed from Id to Author Date Id Revision
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r31430 r31517  
    2222#define LOG_GROUP   LOG_GROUP_DEFAULT
    2323#include "VBoxGuestInternal.h"
     24#include "VBoxGuest2.h"
    2425#include <VBox/VMMDev.h> /* for VMMDEV_RAM_SIZE */
    2526#include <VBox/log.h>
     
    3637# include <iprt/thread.h>
    3738#endif
    38 #include "VBoxHelper.h"
    3939#include "version-generated.h"
    4040#if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
     
    734734            Assert(pDevExt->PhysIrqAckEvents != 0);
    735735
    736             rc = VBoxReportGuestInfo(enmOSType);
     736            rc = VBoxGuestReportGuestInfo(enmOSType);
    737737            if (RT_SUCCESS(rc))
    738738            {
     
    749749                        vboxGuestInitFixateGuestMappings(pDevExt);
    750750
    751                         rc = VBoxReportGuestDriverStatus(true /* Driver is active */);
     751                        rc = VBoxGuestReportDriverStatus(true /* Driver is active */);
    752752                        if (RT_FAILURE(rc))
    753753                            LogRel(("VBoxGuestInitDevExt: VBoxReportGuestDriverStatus failed, rc=%Rrc\n", rc));
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest2.cpp

    r31514 r31517  
    11/* $Id$ */
    22/** @file
    3  * VBoxHelper - Miscellaneous functions.
     3 * VBoxGuest - Guest Additions Driver, bits shared with the windows code.
    44 */
    55
     
    2525 */
    2626
     27/*******************************************************************************
     28*   Header Files                                                               *
     29*******************************************************************************/
    2730#include <iprt/string.h>
    2831#include <VBox/err.h>
     
    3538
    3639
    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 */
     46int VBoxGuestReportGuestInfo(VBOXOSTYPE enmOSType)
    3847{
    3948    /*
     
    8493}
    8594
    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 */
     102int VBoxGuestReportDriverStatus(bool fActive)
    87103{
    88104    /*
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest2.h

    r31514 r31517  
    1 /* $Id: */
     1/* $Id$ */
    22/** @file
    3  * VBoxHelper - Guest Additions Driver helper routines.
     3 * VBoxGuest - Guest Additions Driver, bits shared with the windows code.
    44 */
    55
     
    1414 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    1515 * 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.
    1625 */
    1726
    18 #ifndef ___VBoxGuestHelper_h
    19 #define ___VBoxGuestHelper_h
     27#ifndef ___VBoxGuest2_h
     28#define ___VBoxGuest2_h
    2029
    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);
     30int VBoxGuestReportGuestInfo(VBOXOSTYPE enmOSType);
     31int VBoxGuestReportDriverStatus(bool fActive);
    2832
    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
    3634
    37 #endif /* ___VBoxGuestHelper_h */
    38 
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestA-os2.asm

    • Property svn:keywords changed from Id to Author Date Id Revision
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