Changeset 76384 in vbox
- Timestamp:
- Dec 23, 2018 12:54:07 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127682
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvHostBase-darwin.cpp
r69500 r76384 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 18 /********************************************************************************************************************************* 19 * Header Files * 20 *********************************************************************************************************************************/ 17 21 #define LOG_GROUP LOG_GROUP_DRV_HOST_BASE 18 22 #include <mach/mach.h> … … 26 30 #include <mach/mach_error.h> 27 31 #include <VBox/scsi.h> 28 29 /** Maximum buffer size we support, check whether darwin has some real upper limit. */ 30 #define DARWIN_SCSI_MAX_BUFFER_SIZE (100 * _1K) 32 #include <iprt/string.h> 33 31 34 32 35 /** … … 57 60 #include "DrvHostBase.h" 58 61 62 63 /********************************************************************************************************************************* 64 * Defined Constants And Macros * 65 *********************************************************************************************************************************/ 66 /** Maximum buffer size we support, check whether darwin has some real upper limit. */ 67 #define DARWIN_SCSI_MAX_BUFFER_SIZE (100 * _1K) 68 59 69 /** The runloop input source name for the disk arbitration events. */ 60 # define MY_RUN_LOOP_MODE CFSTR("drvHostBaseDA") /** @todo r=bird: Check if this will cause trouble in the same way that the one in the USB code did. */ 70 #define MY_RUN_LOOP_MODE CFSTR("drvHostBaseDA") /** @todo r=bird: Check if this will cause trouble in the same way that the one in the USB code did. */ 71 72 61 73 62 74 /** -
trunk/src/VBox/Devices/Storage/DrvHostBase-win.cpp
r73097 r76384 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 18 19 /********************************************************************************************************************************* 20 * Header Files * 21 *********************************************************************************************************************************/ 17 22 #define LOG_GROUP LOG_GROUP_DRV_HOST_BASE 18 23 #pragma warning(disable : 4163) … … 79 84 #include <iprt/ctype.h> 80 85 #include <iprt/file.h> 86 #include <iprt/string.h> 81 87 #include <VBox/scsi.h> 82 83 /** Maximum buffer size we support, check whether darwin has some real upper limit. */84 #define WIN_SCSI_MAX_BUFFER_SIZE (100 * _1K)85 88 86 89 /** … … 104 107 #define DRVHOSTBASE_OS_INT_DECLARED 105 108 #include "DrvHostBase.h" 109 110 111 /********************************************************************************************************************************* 112 * Defined Constants And Macros * 113 *********************************************************************************************************************************/ 114 /** Maximum buffer size we support, check whether darwin has some real upper limit. */ 115 #define WIN_SCSI_MAX_BUFFER_SIZE (100 * _1K) 116 106 117 107 118
Note:
See TracChangeset
for help on using the changeset viewer.