aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2014-11-13 17:16:07 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-12-02 18:54:47 +1100
commit28a178751b4195e546e0e8d429f988793c18f848 (patch)
tree46841d8b1f50c8ccb227d89895c97198ef93050d /doc
parente9ba0c924d6eed70cef4e41695196705759e60e6 (diff)
downloadskiboot-28a178751b4195e546e0e8d429f988793c18f848.zip
skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.gz
skiboot-28a178751b4195e546e0e8d429f988793c18f848.tar.bz2
elog: Clean up error logging headers
Commit cf6f4e8912d29fb89ce85c84834607065ad595a5 introduced a platform independent frontend for error logging. However it failed to move the generic parts of the fsp-elog.h header into the platform independent one, instead relying on the fact that up until now fsp-elog.h was included whenever a function needed to log errors. This patch moves the platform independent defines into the frontend header file (errorlog.h) and removes the include of the platform specific header in generic code paths. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/error-logging.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/error-logging.txt b/doc/error-logging.txt
index a29d368..ee21d22 100644
--- a/doc/error-logging.txt
+++ b/doc/error-logging.txt
@@ -32,7 +32,7 @@ Step 1: To report an error, invoke opal_elog_create() with required argument.
Parameters:
- int reason_code: Reason for failure as stated in include/fsp-elog.h
+ int reason_code: Reason for failure as stated in include/errorlog.h
for Sapphire
Eg: Reason code for code-update failures can be
OPAL_RC_CU_INIT -> Initialisation failure
@@ -53,7 +53,7 @@ Step 1: To report an error, invoke opal_elog_create() with required argument.
#define OPAL_MISC_ERR_EVT 0x04
uint16_t component_id: Component ID of Sapphire component as
- listed in include/fsp-elog.h
+ listed in include/errorlog.h
uint8_t subsystem_id: ID of the sub-system reporting error.
/* OPAL Subsystem IDs listed for reporting events/errors */
@@ -129,7 +129,7 @@ Step 1: To report an error, invoke opal_elog_create() with required argument.
should be provided during reporting of an event/error.
- uint32_t reason_code: Reason for failure as stated in include/fsp-elog.h
+ uint32_t reason_code: Reason for failure as stated in include/errorlog.h
for Sapphire
Eg: Reason code for code-update failures can be
OPAL_RC_CU_INIT -> Initialisation failure