Changeset 7050 in vbox
- Timestamp:
- Feb 20, 2008 4:21:25 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r7040 r7050 368 368 { 369 369 AVLROGCPHYSNODECORE Core; 370 /** Alignment padding. */371 uint32_t u32Padding;372 370 /** Access type. */ 373 371 PGMPHYSHANDLERTYPE enmType; … … 897 895 /** Pointer to the next RAM range - for GC. */ 898 896 GCPTRTYPE(struct PGMRAMRANGE *) pNextGC; 897 #if GC_ARCH_BITS == 32 898 RTGCPTR GCPtrAlignment; /**< Pointer alignment. */ 899 #endif 899 900 /** Start of the range. Page aligned. */ 900 901 RTGCPHYS GCPhys; … … 920 921 #ifdef VBOX_WITH_NEW_PHYS_CODE 921 922 /** Padding to make aPage aligned on sizeof(PGMPAGE). */ 922 uint32_t au32Reserved[ 2];923 uint32_t au32Reserved[1]; 923 924 #else 924 925 # if HC_ARCH_BITS == 32 && !defined(RT_OS_WINDOWS) 925 926 /** Padding to make aPage aligned on sizeof(PGMPAGE). */ 926 uint32_t u32Reserved[ 2];927 uint32_t u32Reserved[1]; 927 928 # endif 928 929 #endif … … 982 983 /** Pointer to the next range - R0. */ 983 984 GCPTRTYPE(struct PGMROMRANGE *) pNextGC; 985 #if GC_ARCH_BITS == 32 986 RTGCPTR GCPtrAlignment; /**< Pointer alignment. */ 987 #endif 984 988 /** Address of the range. */ 985 989 RTGCPHYS GCPhys; … … 1118 1122 /** Address of the page. */ 1119 1123 RTGCPHYS volatile GCPhys; 1120 #if HC_ARCH_BITS == 641121 uint32_t u32Padding; /**< alignment padding. */1122 #endif1123 1124 /** The guest page. */ 1124 1125 R3R0PTRTYPE(PPGMPAGE) volatile pPage; … … 1127 1128 /** The address */ 1128 1129 R3R0PTRTYPE(void *) volatile pv; 1130 #if HC_ARCH_BITS == 32 1131 uint32_t u32Padding; /**< alignment padding. */ 1132 #endif 1129 1133 } PGMPAGER3MAPTLBE; 1130 1134 /** Pointer to an entry in the HC physical TLB. */ … … 1379 1383 */ 1380 1384 bool fCR3Mix; 1381 #if HC_ARCH_BITS == 64 || GC_ARCH_BITS == 641382 bool Alignment[4]; /**< Align the structure size on a 64-bit boundrary. */1383 #endif1385 //#if HC_ARCH_BITS == 64 || GC_ARCH_BITS == 64 1386 // bool Alignment[4]; /**< Align the structure size on a 64-bit boundrary. */ 1387 //#endif 1384 1388 } PGMPOOLPAGE, *PPGMPOOLPAGE, **PPPGMPOOLPAGE; 1385 1389 … … 1838 1842 * are used of the PDs in PAE mode. */ 1839 1843 RTGCPTR GCPtrCR3Mapping; 1844 #if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 32 1845 RTGCPTR GCPtrPadding0; /**< alignment padding. */ 1846 #endif 1840 1847 /** The physical address of the currently monitored guest CR3 page. 1841 1848 * When this value is NIL_RTGCPHYS no page is being monitored. */ 1842 1849 RTGCPHYS GCPhysGstCR3Monitored; 1843 #if HC_ARCH_BITS == 64 || GC_ARCH_BITS == 641844 RTGCPHYS GCPhysPadding0; /**< alignment padding. */1845 #endif1846 1850 1847 1851 /** @name 32-bit Guest Paging. … … 2123 2127 RTUINT fSyncFlags; 2124 2128 2125 #if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 322126 RTUINT uPadding3; /**< alignment padding. */2127 #endif2128 2129 /** PGM critical section. 2129 2130 * This protects the physical & virtual access handlers, ram ranges, -
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
r6913 r7050 509 509 GEN_CHECK_SIZE(PGMPHYSHANDLER); 510 510 GEN_CHECK_OFF(PGMPHYSHANDLER, Core); 511 GEN_CHECK_SIZE(((PPGMPHYSHANDLER)0)->Core); 511 512 GEN_CHECK_OFF(PGMPHYSHANDLER, enmType); 512 513 GEN_CHECK_OFF(PGMPHYSHANDLER, cPages);
Note:
See TracChangeset
for help on using the changeset viewer.