MFC 257231:

Make sure the PCB is aligned on 8 bytes, we may use ldrd/strd to access it,
  which may have strong alignment requirements.
This commit is contained in:
ian 2014-05-18 16:39:47 +00:00
parent 8f8f979e4b
commit 37b56a8b54

View File

@ -80,7 +80,11 @@ struct pcb {
struct pcb_arm32 un_32;
struct vfp_state pcb_vfpstate; /* VP/NEON state */
u_int pcb_vfpcpu; /* VP/NEON last cpu */
};
} __aligned(8); /*
* We need the PCB to be aligned on 8 bytes, as we may
* access it using ldrd/strd, and some CPUs require it
* to by aligned on 8 bytes.
*/
/*
* No additional data for core dumps.