|
From: <sv...@va...> - 2005-12-06 19:11:05
|
Author: cerion
Date: 2005-12-06 19:11:02 +0000 (Tue, 06 Dec 2005)
New Revision: 1484
Log:
fix padding for VexGuestPPC64State
Modified:
trunk/pub/libvex_guest_ppc32.h
trunk/pub/libvex_guest_ppc64.h
Modified: trunk/pub/libvex_guest_ppc32.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/pub/libvex_guest_ppc32.h 2005-12-05 14:26:09 UTC (rev 1483)
+++ trunk/pub/libvex_guest_ppc32.h 2005-12-06 19:11:02 UTC (rev 1484)
@@ -208,7 +208,8 @@
/* 952 */ UInt guest_RESVN;
=20
/* Padding to make it have an 8-aligned size */
- UInt padding;
+ /* 956 */ UInt padding;
+ /* 960 */
}
VexGuestPPC32State;
=20
Modified: trunk/pub/libvex_guest_ppc64.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/pub/libvex_guest_ppc64.h 2005-12-05 14:26:09 UTC (rev 1483)
+++ trunk/pub/libvex_guest_ppc64.h 2005-12-06 19:11:02 UTC (rev 1484)
@@ -161,7 +161,7 @@
/* 480 */ ULong guest_FPR28;
/* 488 */ ULong guest_FPR29;
/* 496 */ ULong guest_FPR30;
- /* 504 */ ULong guest_FPR31;
+ /* 504 */ ULong guest_FPR31;
=20
// Vector Registers
/* 512 */ U128 guest_VR0 __attribute__ ((aligned (16)));
@@ -237,16 +237,20 @@
/* Emulation warnings */
/* 1080 */ UInt guest_EMWARN;
=20
+ /* gcc adds 4 bytes padding here: pre-empt it. */
+ /* 1084 */ UInt padding;
+
/* For icbi: record start and length of area to invalidate */
- /* 1084 */ ULong guest_TISTART;
- /* 1092 */ ULong guest_TILEN;
+ /* 1088 */ ULong guest_TISTART;
+ /* 1096 */ ULong guest_TILEN;
=20
/* For lwarx/stwcx.: 0 =3D=3D no reservation exists, non-0 =3D=3D =
a
reservation exists. */
- /* 2000 */ ULong guest_RESVN;
+ /* 1104 */ ULong guest_RESVN;
=20
- /* Padding to make it have an 8-aligned size */
- //UInt padding;
+ /* Padding to make it have an 16-aligned size */
+ /* 1112 */ ULong padding2;
+ /* 1120 */
}
VexGuestPPC64State;
=20
|