diff options
author | Andrew Jeffery <andrewrj@au1.ibm.com> | 2018-10-04 15:03:12 +0930 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-09 10:07:42 -0500 |
commit | d6741cb3db68795586a21fc812806836135341ec (patch) | |
tree | 192f8ffbda04b3f9295132738f515bf81126a763 /src/include/runtime/interface.h | |
parent | 3b5764defdff5c0f4ca7628804983d7a2c86900e (diff) | |
download | talos-hostboot-d6741cb3db68795586a21fc812806836135341ec.tar.gz talos-hostboot-d6741cb3db68795586a21fc812806836135341ec.zip |
ipmi: Terminate SEL task via shutdown event
The IpmiSEL task will become part of the extended image once the IPMI
module is split in two. Once split, if we need to handle an early shutdown
we cannot be referencing code from HBI in HBB. To that end, ensure we
don't instantiate an IpmiSEL via Singleton in an attempt to shutdown its
event loop when it hasn't been loaded, let alone started. Instead, have
IpmiSEL register itself in the shutdown handler, and shut down the SEL
task before IpmiRP.
Change-Id: I358f6cb1f5528a4ad72c93477ad883cad19e2bf6
Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67076
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
0 files changed, 0 insertions, 0 deletions