summaryrefslogtreecommitdiffstats
path: root/src/include/sys/mmio.h
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-08-30 12:05:09 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-09-04 17:04:05 -0500
commitd94559078015ade8301370c54ccd8773f666fec1 (patch)
treeb7c6c38671118abf1ac87b5b077850b27c5e1447 /src/include/sys/mmio.h
parent2e8754b467914eb554a886317b88a3a654e0f58d (diff)
downloadtalos-hostboot-d94559078015ade8301370c54ccd8773f666fec1.tar.gz
talos-hostboot-d94559078015ade8301370c54ccd8773f666fec1.zip
Write scratch register in start_payload / shutdown.
Change-Id: I47a8ad7914c6833c476a7944be5d352f45467f3a RTC: 47725 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1646 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys/mmio.h')
-rw-r--r--src/include/sys/mmio.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/include/sys/mmio.h b/src/include/sys/mmio.h
index e5537f016..a00f124a1 100644
--- a/src/include/sys/mmio.h
+++ b/src/include/sys/mmio.h
@@ -1,26 +1,25 @@
-/* IBM_PROLOG_BEGIN_TAG
- * This is an automatically generated prolog.
- *
- * $Source: src/include/sys/mmio.h $
- *
- * IBM CONFIDENTIAL
- *
- * COPYRIGHT International Business Machines Corp. 2010-2012
- *
- * p1
- *
- * Object Code Only (OCO) source materials
- * Licensed Internal Code Source Materials
- * IBM HostBoot Licensed Internal Code
- *
- * The source code for this program is not published or other-
- * wise divested of its trade secrets, irrespective of what has
- * been deposited with the U.S. Copyright Office.
- *
- * Origin: 30
- *
- * IBM_PROLOG_END_TAG
- */
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/sys/mmio.h $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2010,2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
#ifndef __SYS_MMIO_H
#define __SYS_MMIO_H
@@ -97,8 +96,9 @@ enum MMIO_Scratch_Register
MMIO_SCRATCH_RSVD_T5 = 0x28,
/** Thread6 Scratch Register - Unused */
MMIO_SCRATCH_RSVD_T6 = 0x30,
- /** Thread7 Scratch Register - Unused */
- MMIO_SCRATCH_RSVD_T7 = 0x38,
+ /** Thread7 Scratch Register - Identifies if Hostboot is active after
+ * host_start_payload. */
+ MMIO_SCRATCH_HOSTBOOT_ACTIVE = 0x38,
};
/** @fn mmio_scratch_read()
OpenPOWER on IntegriCloud