diff options
author | Brian Bakke <bbakke@us.ibm.com> | 2017-11-17 10:51:24 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-11-30 09:33:28 -0500 |
commit | 3a88f18bc7386abaaceedca9b327806d85734f67 (patch) | |
tree | c4351bac24ee26d90c977a0bd1d766217f8817e2 /src/include/sys | |
parent | c5c12e6e0ae9160e15f7ff07d123cb9033103947 (diff) | |
download | talos-hostboot-3a88f18bc7386abaaceedca9b327806d85734f67.tar.gz talos-hostboot-3a88f18bc7386abaaceedca9b327806d85734f67.zip |
Enable ATTN prior to OPAL handoff
Change-Id: Iadfded90c09b149948348ee462ab34f9c2431982
RTC: 182134
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49865
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/sys')
-rw-r--r-- | src/include/sys/misc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/sys/misc.h b/src/include/sys/misc.h index 8255aa3b5..6b57e7e4e 100644 --- a/src/include/sys/misc.h +++ b/src/include/sys/misc.h @@ -202,6 +202,13 @@ enum CpuSprNames */ uint64_t cpu_spr_value(CpuSprNames spr); +/** @fn cpu_spr_set + * @brief Writes an SPR. + * + * @return rc: true = success, false = unsupported SPR. + */ +uint64_t cpu_spr_set(CpuSprNames spr, uint64_t newValue ); + /** @fn cpu_master_winkle * @brief Winkle the master core so runtime SLW image can be applied. * |