diff options
author | spashabk-in <shakeebbk@in.ibm.com> | 2017-07-17 02:08:19 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-07-25 07:21:49 -0400 |
commit | c039e9338b69f1274bd637bcf651131d51e78363 (patch) | |
tree | 93d35a218e28804044c8355a37ad248e3d29861c /src/hwpf/plat_target_utils.H | |
parent | 093110f4706e5b617b803d7687926e5331f87582 (diff) | |
download | talos-sbe-c039e9338b69f1274bd637bcf651131d51e78363.tar.gz talos-sbe-c039e9338b69f1274bd637bcf651131d51e78363.zip |
Fix for pibmem attribute dump
Alignement fix for attr dump
Collect attrdump in simics
Fix in sbe-debug.py to determine file not found
Change-Id: Ia55ccdb21e19a2f43d1f6255dc5f5533689eb8e1
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43204
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'src/hwpf/plat_target_utils.H')
-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.. // |