Changeset 88643 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 22, 2021 7:57:03 AM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r88530 r88643 3678 3678 LogFlowFunc(("pThis=%#p\n", pThis)); 3679 3679 3680 /* Clear everything first. */3681 3680 AssertPtrReturnVoid(pThisCC->pConfigurationPages); 3682 3681 PMptConfigurationPagesSupported pPages = pThisCC->pConfigurationPages; 3683 memset(pPages, 0, sizeof(MptConfigurationPagesSupported));3684 3682 3685 3683 /* Manufacturing Page 0. */ -
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.h
r82968 r88643 3327 3327 3328 3328 #define MPT_CONFIG_PAGE_HEADER_INIT_MANUFACTURING(pg, type, nr, flags) \ 3329 RT_ZERO(*pg); \ 3329 3330 MPT_CONFIG_PAGE_HEADER_INIT(pg, type, nr, flags | MPT_CONFIGURATION_PAGE_TYPE_MANUFACTURING) 3330 3331 3331 3332 #define MPT_CONFIG_PAGE_HEADER_INIT_IO_UNIT(pg, type, nr, flags) \ 3333 RT_ZERO(*pg); \ 3332 3334 MPT_CONFIG_PAGE_HEADER_INIT(pg, type, nr, flags | MPT_CONFIGURATION_PAGE_TYPE_IO_UNIT) 3333 3335 3334 3336 #define MPT_CONFIG_PAGE_HEADER_INIT_IOC(pg, type, nr, flags) \ 3337 RT_ZERO(*pg); \ 3335 3338 MPT_CONFIG_PAGE_HEADER_INIT(pg, type, nr, flags | MPT_CONFIGURATION_PAGE_TYPE_IOC) 3336 3339 3337 3340 #define MPT_CONFIG_PAGE_HEADER_INIT_BIOS(pg, type, nr, flags) \ 3341 RT_ZERO(*pg); \ 3338 3342 MPT_CONFIG_PAGE_HEADER_INIT(pg, type, nr, flags | MPT_CONFIGURATION_PAGE_TYPE_BIOS) 3339 3343 … … 3342 3346 */ 3343 3347 #define MPT_CONFIG_EXTENDED_PAGE_HEADER_INIT(pg, cb, nr, flags, exttype) \ 3348 RT_BZERO(pg, cb); \ 3344 3349 (pg)->u.fields.ExtHeader.u8PageType = (flags) | MPT_CONFIGURATION_PAGE_TYPE_EXTENDED; \ 3345 3350 (pg)->u.fields.ExtHeader.u8PageNumber = (nr); \
Note:
See TracChangeset
for help on using the changeset viewer.