VirtualBox

Changeset 35753 in vbox


Ignore:
Timestamp:
Jan 28, 2011 10:58:06 AM (14 years ago)
Author:
vboxsync
Message:

various nits.

Location:
trunk/src/VBox
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r35680 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditions.nsi - Main file for Windows Guest Additions installation.
    4 ;*
    5 
    6 ;*
    7 ;* Copyright (C) 2011 Oracle Corporation
    8 ;*
    9 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    10 ;* available from http://www.virtualbox.org. This file is free software;
    11 ;* you can redistribute it and/or modify it under the terms of the GNU
    12 ;* General Public License (GPL) as published by the Free Software
    13 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    14 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 ;*
     1; $Id$
     2;; @file
     3; VBoxGuestAdditions.nsi - Main file for Windows Guest Additions installation.
     4;
     5
     6;
     7; Copyright (C) 2011 Oracle Corporation
     8;
     9; This file is part of VirtualBox Open Source Edition (OSE), as
     10; available from http://www.virtualbox.org. This file is free software;
     11; you can redistribute it and/or modify it under the terms of the GNU
     12; General Public License (GPL) as published by the Free Software
     13; Foundation, in version 2 as it comes in the "COPYING" file of the
     14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1717
    1818!if $%BUILD_TYPE% == "debug"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r35719 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditionsCommon.nsh - Common / shared utility functions.
    4 ;*
    5 
    6 ;*
    7 ;* Copyright (C) 2011 Oracle Corporation
    8 ;*
    9 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    10 ;* available from http://www.virtualbox.org. This file is free software;
    11 ;* you can redistribute it and/or modify it under the terms of the GNU
    12 ;* General Public License (GPL) as published by the Free Software
    13 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    14 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 ;*
     1; $Id: $
     2;; @file
     3; VBoxGuestAdditionsCommon.nsh - Common / shared utility functions.
     4;
     5
     6;
     7; Copyright (C) 2006-2011 Oracle Corporation
     8;
     9; This file is part of VirtualBox Open Source Edition (OSE), as
     10; available from http://www.virtualbox.org. This file is free software;
     11; you can redistribute it and/or modify it under the terms of the GNU
     12; General Public License (GPL) as published by the Free Software
     13; Foundation, in version 2 as it comes in the "COPYING" file of the
     14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1717
    1818!ifndef UNINSTALLER_ONLY
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh

    r35680 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditionsNT4.nsh - Guest Additions installation for NT4.
    4 ;*
    5 
    6 ;*
    7 ;* Copyright (C) 2011 Oracle Corporation
    8 ;*
    9 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    10 ;* available from http://www.virtualbox.org. This file is free software;
    11 ;* you can redistribute it and/or modify it under the terms of the GNU
    12 ;* General Public License (GPL) as published by the Free Software
    13 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    14 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 ;*
     1; $Id: $
     2;; @file
     3; VBoxGuestAdditionsNT4.nsh - Guest Additions installation for NT4.
     4;
     5
     6;
     7; Copyright (C) 2006-2011 Oracle Corporation
     8;
     9; This file is part of VirtualBox Open Source Edition (OSE), as
     10; available from http://www.virtualbox.org. This file is free software;
     11; you can redistribute it and/or modify it under the terms of the GNU
     12; General Public License (GPL) as published by the Free Software
     13; Foundation, in version 2 as it comes in the "COPYING" file of the
     14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1717
    1818Function NT4_SetVideoResolution
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstall.nsh

    r35706 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditionsUninstall.nsh - Guest Additions uninstallation.
    4 ;*
     1; $Id: $
     2;; @file
     3; VBoxGuestAdditionsUninstall.nsh - Guest Additions uninstallation.
     4;
    55
    6 ;*
    7 ;* Copyright (C) 2011 Oracle Corporation
    8 ;*
    9 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    10 ;* available from http://www.virtualbox.org. This file is free software;
    11 ;* you can redistribute it and/or modify it under the terms of the GNU
    12 ;* General Public License (GPL) as published by the Free Software
    13 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    14 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 ;*
     6;
     7; Copyright (C) 2006-2011 Oracle Corporation
     8;
     9; This file is part of VirtualBox Open Source Edition (OSE), as
     10; available from http://www.virtualbox.org. This file is free software;
     11; you can redistribute it and/or modify it under the terms of the GNU
     12; General Public License (GPL) as published by the Free Software
     13; Foundation, in version 2 as it comes in the "COPYING" file of the
     14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1717
    1818!macro UninstallCommon un
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsUninstallOld.nsh

    r35680 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditionsUninstallOld.nsh - Guest Additions uninstallation handling
    4 ;*                                      for legacy packages.
    5 ;*
    6 
    7 ;*
    8 ;* Copyright (C) 2011 Oracle Corporation
    9 ;*
    10 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    11 ;* available from http://www.virtualbox.org. This file is free software;
    12 ;* you can redistribute it and/or modify it under the terms of the GNU
    13 ;* General Public License (GPL) as published by the Free Software
    14 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    15 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    16 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    17 ;*
     1; $Id: $
     2;; @file
     3; VBoxGuestAdditionsUninstallOld.nsh - Guest Additions uninstallation handling
     4;                                      for legacy packages.
     5;
     6
     7;
     8; Copyright (C) 2006-2011 Oracle Corporation
     9;
     10; This file is part of VirtualBox Open Source Edition (OSE), as
     11; available from http://www.virtualbox.org. This file is free software;
     12; you can redistribute it and/or modify it under the terms of the GNU
     13; General Public License (GPL) as published by the Free Software
     14; Foundation, in version 2 as it comes in the "COPYING" file of the
     15; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     16; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     17;
    1818
    1919!macro Uninstall_RunExtUnInstaller un
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh

    r35701 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditionsVista.nsh - Guest Additions installation for Windows Vista/7.
    4 ;*
     1; $Id: $
     2;; @file
     3; VBoxGuestAdditionsVista.nsh - Guest Additions installation for Windows Vista/7.
     4;
    55
    6 ;*
    7 ;* Copyright (C) 2011 Oracle Corporation
    8 ;*
    9 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    10 ;* available from http://www.virtualbox.org. This file is free software;
    11 ;* you can redistribute it and/or modify it under the terms of the GNU
    12 ;* General Public License (GPL) as published by the Free Software
    13 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    14 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 ;*
     6;
     7; Copyright (C) 2006-2011 Oracle Corporation
     8;
     9; This file is part of VirtualBox Open Source Edition (OSE), as
     10; available from http://www.virtualbox.org. This file is free software;
     11; you can redistribute it and/or modify it under the terms of the GNU
     12; General Public License (GPL) as published by the Free Software
     13; Foundation, in version 2 as it comes in the "COPYING" file of the
     14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1717
    1818Function Vista_CopyFiles
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r35719 r35753  
    1 ;*
    2 ;* @file
    3 ;* VBoxGuestAdditionsW2KXP.nsh - Guest Additions installation for Windows 2000/XP.
    4 ;*
    5 
    6 ;*
    7 ;* Copyright (C) 2011 Oracle Corporation
    8 ;*
    9 ;* This file is part of VirtualBox Open Source Edition (OSE), as
    10 ;* available from http://www.virtualbox.org. This file is free software;
    11 ;* you can redistribute it and/or modify it under the terms of the GNU
    12 ;* General Public License (GPL) as published by the Free Software
    13 ;* Foundation, in version 2 as it comes in the "COPYING" file of the
    14 ;* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 ;* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 ;*
     1; $Id: $
     2;; @file
     3; VBoxGuestAdditionsW2KXP.nsh - Guest Additions installation for Windows 2000/XP.
     4;
     5
     6;
     7; Copyright (C) 2006-2011 Oracle Corporation
     8;
     9; This file is part of VirtualBox Open Source Edition (OSE), as
     10; available from http://www.virtualbox.org. This file is free software;
     11; you can redistribute it and/or modify it under the terms of the GNU
     12; General Public License (GPL) as published by the Free Software
     13; Foundation, in version 2 as it comes in the "COPYING" file of the
     14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16;
    1717
    1818Function W2K_SetVideoResolution
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r35353 r35753  
    20242024static DECLCALLBACK(int)   pciConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg)
    20252025{
    2026     int rc;
    20272026    Assert(iInstance == 0);
     2027    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    20282028
    20292029    /*
     
    20352035    /* query whether we got an IOAPIC */
    20362036    bool fUseIoApic;
    2037     rc = CFGMR3QueryBoolDef(pCfg, "IOAPIC", &fUseIoApic, false);
     2037    int rc = CFGMR3QueryBoolDef(pCfg, "IOAPIC", &fUseIoApic, false);
    20382038    if (RT_FAILURE(rc))
    20392039        return PDMDEV_SET_ERROR(pDevIns, rc,
     
    24172417static DECLCALLBACK(int)   pcibridgeConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg)
    24182418{
    2419     int rc;
     2419    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    24202420
    24212421    /*
     
    24272427    /* check if RC code is enabled. */
    24282428    bool fGCEnabled;
    2429     rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &fGCEnabled, true);
     2429    int rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &fGCEnabled, true);
    24302430    if (RT_FAILURE(rc))
    24312431        return PDMDEV_SET_ERROR(pDevIns, rc,
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r35676 r35753  
    12021202     */
    12031203    uint8_t const fBridge = fIsBridge ? 2 : 1;
    1204     Assert(!PCIIsPassthrough(pDev)); 
     1204    Assert(!PCIIsPassthrough(pDev));
    12051205    uint8_t *pbDstConfig = &pDev->config[0];
    12061206
     
    13981398
    13991399        /* commit the loaded device config. */
    1400         Assert(!PCIIsPassthrough(pDev)); 
     1400        Assert(!PCIIsPassthrough(pDev));
    14011401        pciR3CommonRestoreConfig(pDev, &DevTmp.config[0], false ); /** @todo fix bridge fun! */
    14021402
     
    17561756    }
    17571757
    1758     AssertMsgReturn(u32Address + len <= 256, ("Read after end of PCI config space\n"), 
    1759                     0); 
     1758    AssertMsgReturn(u32Address + len <= 256, ("Read after end of PCI config space\n"),
     1759                    0);
    17601760    if (   PCIIsMsiCapable(aDev)
    17611761        && (u32Address >= aDev->Int.s.u8MsiCapOffset)
     
    22742274                                          PCFGMNODE  pCfg)
    22752275{
    2276     int rc;
    22772276    Assert(iInstance == 0);
     2277    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    22782278
    22792279    /*
     
    22912291    /* query whether we got an IOAPIC */
    22922292    bool fUseIoApic;
    2293     rc = CFGMR3QueryBoolDef(pCfg, "IOAPIC", &fUseIoApic, false);
     2293    int rc = CFGMR3QueryBoolDef(pCfg, "IOAPIC", &fUseIoApic, false);
    22942294    if (RT_FAILURE(rc))
    22952295        return PDMDEV_SET_ERROR(pDevIns, rc,
     
    25882588                                                  PCFGMNODE  pCfg)
    25892589{
    2590     int rc;
     2590    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    25912591
    25922592    /*
     
    25982598    /* check if RC code is enabled. */
    25992599    bool fGCEnabled;
    2600     rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &fGCEnabled, true);
     2600    int rc = CFGMR3QueryBoolDef(pCfg, "GCEnabled", &fGCEnabled, true);
    26012601    if (RT_FAILURE(rc))
    26022602        return PDMDEV_SET_ERROR(pDevIns, rc,
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r35746 r35753  
    3535#include "Global.h"
    3636#ifdef VBOX_WITH_PCI_PASSTHROUGH
    37 #include "PciRawDevImpl.h"
     37# include "PciRawDevImpl.h"
    3838#endif
    3939
  • trunk/src/VBox/Main/src-client/VBoxDriversRegister.cpp

    r35685 r35753  
    2727#include "ConsoleImpl.h"
    2828#ifdef VBOX_WITH_PCI_PASSTHROUGH
    29 #include "PciRawDevImpl.h"
     29# include "PciRawDevImpl.h"
    3030#endif
    3131
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