VirtualBox

Changeset 51520 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 4, 2014 5:17:41 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94146
Message:

VBox/Devices: Comment nits.

Location:
trunk/src/VBox/Devices
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevSmc.cpp

    r48760 r51520  
    1111
    1212/*
    13  * Copyright (C) 2013 Oracle Corporation
     13 * Copyright (C) 2013-2014 Oracle Corporation
    1414 *
    1515 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5858/** The first Apple SMC port. */
    5959#define SMC_PORT_FIRST                          0x0300
    60 /** The number of registers (also ports).  */
     60/** The number of registers (also ports). */
    6161#define SMC_REG_COUNT                           0x0020
    6262
     
    354354/** Indicates whether we've successfully queried the OSK* keys. */
    355355static bool     g_fHaveOsk = false;
    356 /** The OSK0 and OSK1 values.   */
     356/** The OSK0 and OSK1 values. */
    357357static uint8_t  g_abOsk0And1[32+32];
    358358
     
    12761276    PDEVSMC pThis = PDMINS_2_DATA(pDevIns, PDEVSMC);
    12771277
    1278     /** @todo  */
     1278    /** @todo */
    12791279
    12801280    return VINF_SUCCESS;
     
    12991299    if (uVersion == SMC_SAVED_STATE_VERSION)
    13001300    {
    1301         /** @todo  */
     1301        /** @todo */
    13021302    }
    13031303
  • trunk/src/VBox/Devices/Network/lwip/src/api/sockets.c

    r41165 r51520  
    7777
    7878static int err_to_errno_table[11] = {
    79     0,      /* ERR_OK    0      No error, everything OK. */
    80     ENOMEM,    /* ERR_MEM  -1      Out of memory error.     */
    81     ENOBUFS,    /* ERR_BUF  -2      Buffer error.            */
     79    0,             /* ERR_OK    0      No error, everything OK. */
     80    ENOMEM,        /* ERR_MEM  -1      Out of memory error.     */
     81    ENOBUFS,       /* ERR_BUF  -2      Buffer error.            */
    8282    ECONNABORTED,  /* ERR_ABRT -3      Connection aborted.      */
    8383    ECONNRESET,    /* ERR_RST  -4      Connection reset.        */
    84     ESHUTDOWN,    /* ERR_CLSD -5      Connection closed.       */
    85     ENOTCONN,    /* ERR_CONN -6      Not connected.           */
    86     EINVAL,    /* ERR_VAL  -7      Illegal value.           */
    87     EIO,    /* ERR_ARG  -8      Illegal argument.        */
     84    ESHUTDOWN,     /* ERR_CLSD -5      Connection closed.       */
     85    ENOTCONN,      /* ERR_CONN -6      Not connected.           */
     86    EINVAL,        /* ERR_VAL  -7      Illegal value.           */
     87    EIO,           /* ERR_ARG  -8      Illegal argument.        */
    8888    EHOSTUNREACH,  /* ERR_RTE  -9      Routing problem.         */
    89     EADDRINUSE    /* ERR_USE  -10     Address in use.          */
     89    EADDRINUSE     /* ERR_USE  -10     Address in use.          */
    9090};
    9191
     
    636636            {
    637637                FD_SET(i, &lreadset);
    638                 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_selscan: fd=%d ready for reading\n", i));
     638        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_selscan: fd=%d ready for reading\n", i));
    639639                nready++;
    640640            }
     
    647647            {
    648648                FD_SET(i, &lwriteset);
    649                 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_selscan: fd=%d ready for writing\n", i));
     649        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_selscan: fd=%d ready for writing\n", i));
    650650                nready++;
    651651            }
     
    715715                FD_ZERO(exceptset);
    716716
    717             LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: no timeout, returning 0\n"));
    718             set_errno(0);
     717        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: no timeout, returning 0\n"));
     718        set_errno(0);
    719719
    720720            return 0;
     
    768768                FD_ZERO(exceptset);
    769769
    770             LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: timeout expired\n"));
    771             set_errno(0);
     770        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: timeout expired\n"));
     771        set_errno(0);
    772772
    773773            return 0;
     
    978978
    979979  if(!sock) {
    980         set_errno(EBADF);
     980    set_errno(EBADF);
    981981    return -1;
    982982  }
     
    11681168
    11691169  if(!sock) {
    1170         set_errno(EBADF);
     1170    set_errno(EBADF);
    11711171    return -1;
    11721172  }
     
    13331333
    13341334  if(!sock) {
    1335         set_errno(EBADF);
     1335    set_errno(EBADF);
    13361336    return -1;
    13371337  }
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r50320 r51520  
    55
    66/*
    7  * Copyright (C) 2006-2013 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    588588    {
    589589        c64KBAbove4GB = (pThis->cbRam - offRamHole) / _64K;
    590         /* Make sure it doesn't hit the limits of the current BIOS code.   */
     590        /* Make sure it doesn't hit the limits of the current BIOS code. */
    591591        AssertLogRelMsgReturn((c64KBAbove4GB >> (3 * 8)) < 255, ("%#RX64\n", c64KBAbove4GB), VERR_OUT_OF_RANGE);
    592592    }
  • trunk/src/VBox/Devices/PC/DevSMC.cpp

    r45025 r51520  
    77
    88/*
    9  * Copyright (C) 2006-2012 Oracle Corporation
     9 * Copyright (C) 2006-2014 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    138138#endif /* IN_RING3 */
    139139#ifdef IN_RING0
    140 /** Do once for the SMC ring-0 static data (g_abOsk0, g_abOsk1, g_fHaveOsk).  */
     140/** Do once for the SMC ring-0 static data (g_abOsk0, g_abOsk1, g_fHaveOsk). */
    141141static RTONCE   g_SmcR0Once = RTONCE_INITIALIZER;
    142142/** Indicates whether we've successfully queried the OSK* keys. */
    143143static bool     g_fHaveOsk = false;
    144 /** The OSK0 value.   */
     144/** The OSK0 value. */
    145145static uint8_t  g_abOsk0[32];
    146 /** The OSK1 value.  */
     146/** The OSK1 value. */
    147147static uint8_t  g_abOsk1[32];
    148148#endif /* IN_RING0 */
  • trunk/src/VBox/Devices/Storage/DrvSCSIHost.cpp

    r44528 r51520  
    55
    66/*
    7  * Copyright (C) 2006-2012 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    5252    /** Pointer to the SCSI port interface of the device above. */
    5353    PPDMISCSIPORT           pDevScsiPort;
    54     /** The SCSI connector interface .  */
     54    /** The SCSI connector interface. */
    5555    PDMISCSICONNECTOR       ISCSIConnector;
    5656
  • trunk/src/VBox/Devices/VMMDev/VMMDevState.h

    r47294 r51520  
    55
    66/*
    7  * Copyright (C) 2006-2013 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    230230    /* memory balloon change request */
    231231    uint32_t    cMbMemoryBalloon;
    232     /** The last balloon size queried by the guest additions.  */
     232    /** The last balloon size queried by the guest additions. */
    233233    uint32_t    cMbMemoryBalloonLast;
    234234
     
    273273    char szGuestCoreDumpDir[RTPATH_MAX];
    274274
    275     /** Number of additional cores to keep around.   */
     275    /** Number of additional cores to keep around. */
    276276    uint32_t cGuestCoreDumps;
    277277
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