Changeset 9459 in vbox for trunk/src/VBox
- Timestamp:
- Jun 6, 2008 9:47:38 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31714
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflSizes.cpp
r8155 r9459 65 65 STRUCT(SHFLDIRINFO, 128); 66 66 STRUCT(SHFLVOLINFO, 40); 67 #ifdef VBOX_WITH_64_BITS_GUESTS 68 /* The size of the guest structures depends on the current architecture bit count (ARCH_BITS) 69 * because the HGCMFunctionParameter structure differs in 32 and 64 bit guests. 70 * The host VMMDev device takes care about this. 71 * 72 * Therefore this testcase verifies whether structure sizes are correct for the currebt ARCH_BITS. 73 */ 74 # if ARCH_BITS == 64 75 STRUCT(VBoxSFQueryMappings, 64); 76 STRUCT(VBoxSFQueryMapName, 48); 77 STRUCT(VBoxSFMapFolder_Old, 64); 78 STRUCT(VBoxSFMapFolder, 80); 79 STRUCT(VBoxSFUnmapFolder, 32); 80 STRUCT(VBoxSFCreate, 64); 81 STRUCT(VBoxSFClose, 40); 82 STRUCT(VBoxSFRead, 96); 83 STRUCT(VBoxSFWrite, 96); 84 STRUCT(VBoxSFLock, 96); 85 STRUCT(VBoxSFFlush, 48); 86 STRUCT(VBoxSFList, 144); 87 STRUCT(VBoxSFInformation, 96); 88 STRUCT(VBoxSFRemove, 64); 89 STRUCT(VBoxSFRename, 80); 90 # elif ARCH_BITS == 32 67 91 STRUCT(VBoxSFQueryMappings, 52); 68 92 STRUCT(VBoxSFQueryMapName, 40); /* this was changed from 52 in 21976 after VBox-1.4. */ … … 80 104 STRUCT(VBoxSFRemove, 52); 81 105 STRUCT(VBoxSFRename, 64); 82 83 /* The following requests are only available from the host. */ 84 STRUCT(VBoxSFAddMapping, 52); 85 STRUCT(VBoxSFRemoveMapping, 28); 86 STRUCT(VBoxSFSetStatusLed, 28); 106 # else 107 # error "Unsupported ARCH_BITS" 108 # endif /* ARCH_BITS */ 109 #else 110 STRUCT(VBoxSFQueryMappings, 52); 111 STRUCT(VBoxSFQueryMapName, 40); /* this was changed from 52 in 21976 after VBox-1.4. */ 112 STRUCT(VBoxSFMapFolder_Old, 52); 113 STRUCT(VBoxSFMapFolder, 64); 114 STRUCT(VBoxSFUnmapFolder, 28); 115 STRUCT(VBoxSFCreate, 52); 116 STRUCT(VBoxSFClose, 40); 117 STRUCT(VBoxSFRead, 76); 118 STRUCT(VBoxSFWrite, 76); 119 STRUCT(VBoxSFLock, 76); 120 STRUCT(VBoxSFFlush, 40); 121 STRUCT(VBoxSFList, 112); 122 STRUCT(VBoxSFInformation, 76); 123 STRUCT(VBoxSFRemove, 52); 124 STRUCT(VBoxSFRename, 64); 125 #endif /* VBOX_WITH_64_BITS_GUESTS */ 87 126 88 127 /*
Note:
See TracChangeset
for help on using the changeset viewer.