Changeset 57410 in vbox
- Timestamp:
- Aug 18, 2015 9:58:29 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102174
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.h
r57393 r57410 402 402 /** Pointer to the GC vram mapping. */ 403 403 RCPTRTYPE(uint8_t *) vram_ptrRC; 404 uint32_t Padding Minus1;404 uint32_t Padding1; 405 405 406 406 /** Pointer to the device instance - R3 Ptr. */ … … 443 443 R0PTRTYPE(uint8_t *) vram_ptrR0; 444 444 445 #ifdef VBOX_WITH_VMSVGA446 445 # if HC_ARCH_BITS == 32 447 446 uint32_t Padding3; 448 447 # endif 448 449 # ifdef VBOX_WITH_VMSVGA 449 450 VMSVGAState svga; 450 # endif451 # endif 451 452 452 453 /** The number of monitors. */ … … 469 470 /** Whether to render the guest VRAM to the framebuffer memory. False only for some LFB modes. */ 470 471 bool fRenderVRAM; 471 # ifdef VBOX_WITH_VMSVGA472 # ifdef VBOX_WITH_VMSVGA 472 473 /* Whether the SVGA emulation is enabled or not. */ 473 474 bool fVMSVGAEnabled; 474 bool Padding 1[1+4];475 # else476 bool Padding 1[2+4];477 # endif475 bool Padding4[1+4]; 476 # else 477 bool Padding4[2+4]; 478 # endif 478 479 479 480 /** Physical access type for the linear frame buffer dirty page tracking. */ -
trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
r57358 r57410 344 344 CHECK_MEMBER_ALIGNMENT(SerialState, CritSect, 8); 345 345 #ifdef VBOX_WITH_VMSVGA 346 CHECK_SIZE(VMSVGAState, RT_ALIGN_Z(sizeof(VMSVGAState), 8)); 347 CHECK_MEMBER_ALIGNMENT(VGASTATE, svga, 8); 346 348 CHECK_MEMBER_ALIGNMENT(VGASTATE, svga.u64HostWindowId, 8); 347 349 #endif 350 CHECK_MEMBER_ALIGNMENT(VGASTATE, cMonitors, 8); 348 351 CHECK_MEMBER_ALIGNMENT(VGASTATE, GCPhysVRAM, 8); 349 352 CHECK_MEMBER_ALIGNMENT(VGASTATE, Dev, 8);
Note:
See TracChangeset
for help on using the changeset viewer.