drivers/ipmi/ipmi_ops.h: add __packed to sel_rec structs
Align with BMC on the SEL record format. Change-Id: Icfcef684caa253663503eadffc819ad2ab65550f Signed-off-by: Yiwei Tang <tangyiwei.2022@bytedance.com> Signed-off-by: Jonathan Zhang <jonzhang@meta.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68757 Reviewed-by: Shuming Chu (Shuming) <s1218944@gmail.com> Reviewed-by: TangYiwei Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9231f0b92a
commit
cb3eaf680a
1 changed files with 3 additions and 3 deletions
|
@ -57,17 +57,17 @@ struct standard_spec_sel_rec {
|
|||
uint8_t sensor_num;
|
||||
uint8_t event_dir_type;
|
||||
uint8_t event_data[3];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct oem_ts_spec_sel_rec {
|
||||
uint32_t timestamp;
|
||||
uint8_t manf_id[3];
|
||||
uint8_t oem_defined[6];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
struct oem_nots_spec_sel_rec {
|
||||
uint8_t oem_defined[13];
|
||||
};
|
||||
} __packed;
|
||||
|
||||
/* SEL Event Record */
|
||||
struct sel_event_record {
|
||||
|
|
Loading…
Reference in a new issue