Changeset 51520 in vbox for trunk/src/VBox
- Timestamp:
- Jun 4, 2014 5:17:41 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94146
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r48760 r51520 11 11 12 12 /* 13 * Copyright (C) 2013 Oracle Corporation13 * Copyright (C) 2013-2014 Oracle Corporation 14 14 * 15 15 * This file is part of VirtualBox Open Source Edition (OSE), as … … 58 58 /** The first Apple SMC port. */ 59 59 #define SMC_PORT_FIRST 0x0300 60 /** The number of registers (also ports). 60 /** The number of registers (also ports). */ 61 61 #define SMC_REG_COUNT 0x0020 62 62 … … 354 354 /** Indicates whether we've successfully queried the OSK* keys. */ 355 355 static bool g_fHaveOsk = false; 356 /** The OSK0 and OSK1 values. 356 /** The OSK0 and OSK1 values. */ 357 357 static uint8_t g_abOsk0And1[32+32]; 358 358 … … 1276 1276 PDEVSMC pThis = PDMINS_2_DATA(pDevIns, PDEVSMC); 1277 1277 1278 /** @todo 1278 /** @todo */ 1279 1279 1280 1280 return VINF_SUCCESS; … … 1299 1299 if (uVersion == SMC_SAVED_STATE_VERSION) 1300 1300 { 1301 /** @todo 1301 /** @todo */ 1302 1302 } 1303 1303 -
trunk/src/VBox/Devices/Network/lwip/src/api/sockets.c
r41165 r51520 77 77 78 78 static 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. */ 82 82 ECONNABORTED, /* ERR_ABRT -3 Connection aborted. */ 83 83 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. */ 88 88 EHOSTUNREACH, /* ERR_RTE -9 Routing problem. */ 89 EADDRINUSE /* ERR_USE -10 Address in use. */89 EADDRINUSE /* ERR_USE -10 Address in use. */ 90 90 }; 91 91 … … 636 636 { 637 637 FD_SET(i, &lreadset); 638 638 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_selscan: fd=%d ready for reading\n", i)); 639 639 nready++; 640 640 } … … 647 647 { 648 648 FD_SET(i, &lwriteset); 649 649 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_selscan: fd=%d ready for writing\n", i)); 650 650 nready++; 651 651 } … … 715 715 FD_ZERO(exceptset); 716 716 717 718 717 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: no timeout, returning 0\n")); 718 set_errno(0); 719 719 720 720 return 0; … … 768 768 FD_ZERO(exceptset); 769 769 770 771 770 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_select: timeout expired\n")); 771 set_errno(0); 772 772 773 773 return 0; … … 978 978 979 979 if(!sock) { 980 980 set_errno(EBADF); 981 981 return -1; 982 982 } … … 1168 1168 1169 1169 if(!sock) { 1170 1170 set_errno(EBADF); 1171 1171 return -1; 1172 1172 } … … 1333 1333 1334 1334 if(!sock) { 1335 1335 set_errno(EBADF); 1336 1336 return -1; 1337 1337 } -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r50320 r51520 5 5 6 6 /* 7 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 588 588 { 589 589 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. */ 591 591 AssertLogRelMsgReturn((c64KBAbove4GB >> (3 * 8)) < 255, ("%#RX64\n", c64KBAbove4GB), VERR_OUT_OF_RANGE); 592 592 } -
trunk/src/VBox/Devices/PC/DevSMC.cpp
r45025 r51520 7 7 8 8 /* 9 * Copyright (C) 2006-201 2Oracle Corporation9 * Copyright (C) 2006-2014 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 138 138 #endif /* IN_RING3 */ 139 139 #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). */ 141 141 static RTONCE g_SmcR0Once = RTONCE_INITIALIZER; 142 142 /** Indicates whether we've successfully queried the OSK* keys. */ 143 143 static bool g_fHaveOsk = false; 144 /** The OSK0 value. 144 /** The OSK0 value. */ 145 145 static uint8_t g_abOsk0[32]; 146 /** The OSK1 value. 146 /** The OSK1 value. */ 147 147 static uint8_t g_abOsk1[32]; 148 148 #endif /* IN_RING0 */ -
trunk/src/VBox/Devices/Storage/DrvSCSIHost.cpp
r44528 r51520 5 5 6 6 /* 7 * Copyright (C) 2006-201 2Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 52 52 /** Pointer to the SCSI port interface of the device above. */ 53 53 PPDMISCSIPORT pDevScsiPort; 54 /** The SCSI connector interface .*/54 /** The SCSI connector interface. */ 55 55 PDMISCSICONNECTOR ISCSIConnector; 56 56 -
trunk/src/VBox/Devices/VMMDev/VMMDevState.h
r47294 r51520 5 5 6 6 /* 7 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 230 230 /* memory balloon change request */ 231 231 uint32_t cMbMemoryBalloon; 232 /** The last balloon size queried by the guest additions. 232 /** The last balloon size queried by the guest additions. */ 233 233 uint32_t cMbMemoryBalloonLast; 234 234 … … 273 273 char szGuestCoreDumpDir[RTPATH_MAX]; 274 274 275 /** Number of additional cores to keep around. 275 /** Number of additional cores to keep around. */ 276 276 uint32_t cGuestCoreDumps; 277 277
Note:
See TracChangeset
for help on using the changeset viewer.