Changeset 55049 in vbox
- Timestamp:
- Mar 31, 2015 7:01:36 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99338
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/CPUMInternal.h
r55048 r55049 385 385 386 386 /* padding to get 64byte aligned size */ 387 uint8_t auPadding[16+ 12];387 uint8_t auPadding[16+20]; 388 388 389 389 #elif HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL) … … 447 447 R3PTRTYPE(PX86XSAVEAREA) pXStateR3; 448 448 } CPUMHOSTCTX; 449 AssertCompileSizeAlignment(CPUMHOSTCTX, 64); 449 450 /** Pointer to the saved host CPU state. */ 450 451 typedef CPUMHOSTCTX *PCPUMHOSTCTX; -
trunk/src/VBox/VMM/include/CPUMInternal.mac
r55048 r55049 332 332 .Host.SysEnter.esp resq 1 333 333 .Host.efer resq 1 334 .Host.auPadding resb (16+ 12)334 .Host.auPadding resb (16+20) 335 335 336 336 %else ; 64-bit -
trunk/src/VBox/VMM/testcase/tstHelp.h
r47466 r55049 37 37 if (off != RT_OFFSETOF(type, m)) \ 38 38 { \ 39 printf("error! %#010x %s Off by %d!! (off=%#x)\n", RT_OFFSETOF(type, m), #type "." #m, off - RT_OFFSETOF(type, m), off); \ 39 printf("error! %#010x %s Off by %d!! (expected off=%#x)\n", \ 40 RT_OFFSETOF(type, m), #type "." #m, off - RT_OFFSETOF(type, m), off); \ 40 41 rc++; \ 41 42 } \ … … 53 54 if (size != sizeof(type)) \ 54 55 { \ 55 printf("error! sizeof(%s): %#x (%d) Off by %d!!\n", #type, (int)sizeof(type), (int)sizeof(type), (int)(sizeof(type) - size)); \ 56 printf("error! sizeof(%s): %#x (%d) Off by %d!! (expected %#x)\n", \ 57 #type, (int)sizeof(type), (int)sizeof(type), (int)(sizeof(type) - size, size)); \ 56 58 rc++; \ 57 59 } \
Note:
See TracChangeset
for help on using the changeset viewer.