diff options
Diffstat (limited to 'src/hwpf')
-rw-r--r-- | src/hwpf/plat_target_utils.H | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/hwpf/plat_target_utils.H b/src/hwpf/plat_target_utils.H index 0c54e2cc..0a2d525d 100644 --- a/src/hwpf/plat_target_utils.H +++ b/src/hwpf/plat_target_utils.H @@ -6,6 +6,7 @@ /* OpenPOWER sbe Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* [+] International Business Machines Corp. */ /* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ @@ -31,17 +32,14 @@ #include <proc_sbe_fixed.H> -#pragma pack(8) //Start of packing to 8byte boundary - typedef struct { - fapi2attr::SystemAttributes_t G_system_attrs; - fapi2attr::ProcChipAttributes_t G_proc_chip_attrs; - fapi2attr::PervAttributes_t G_perv_attrs; - fapi2attr::CoreAttributes_t G_core_attrs; - fapi2attr::EXAttributes_t G_ex_attrs; - fapi2attr::EQAttributes_t G_eq_attrs; - } G_sbe_attrs_t; -#pragma pack()//End of packing to 8byte boundary - +typedef struct { + fapi2attr::SystemAttributes_t G_system_attrs __attribute__ ((aligned (8))); + fapi2attr::ProcChipAttributes_t G_proc_chip_attrs __attribute__ ((aligned (8))); + fapi2attr::PervAttributes_t G_perv_attrs __attribute__ ((aligned (8))); + fapi2attr::CoreAttributes_t G_core_attrs __attribute__ ((aligned (8))); + fapi2attr::EXAttributes_t G_ex_attrs __attribute__ ((aligned (8))); + fapi2attr::EQAttributes_t G_eq_attrs __attribute__ ((aligned (8))); +} G_sbe_attrs_t; // // Platform Utility functions.. // |