From 63aca27a47a3b60ca107c12cad8d132a0cfeb64c Mon Sep 17 00:00:00 2001 From: Zane Shelley Date: Thu, 20 Sep 2012 12:18:46 -0500 Subject: Initial port of PRD to Hostboot Change-Id: I7ee2673131d4891d482e99a403a36300b79e547e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1853 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/diag/prdf/test/prdfsim_ras_services.H | 80 +++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100755 src/usr/diag/prdf/test/prdfsim_ras_services.H (limited to 'src/usr/diag/prdf/test/prdfsim_ras_services.H') diff --git a/src/usr/diag/prdf/test/prdfsim_ras_services.H b/src/usr/diag/prdf/test/prdfsim_ras_services.H new file mode 100755 index 000000000..bf268fba5 --- /dev/null +++ b/src/usr/diag/prdf/test/prdfsim_ras_services.H @@ -0,0 +1,80 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/test/prdfsim_ras_services.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 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 PRDFSIM_RAS_SERVICES_H +#define PRDFSIM_RAS_SERVICES_H +/** + @file prdf_ras_services.H + @brief Description +*/ + +#include + +namespace PRDF +{ + +/** + Interface to RAS services provided to PRD +*/ +class SimErrDataService: public ErrDataService +{ +public: + + + /** + Default ctor + */ + inline SimErrDataService() {} + + /** + Default dtor + */ + inline virtual ~SimErrDataService() {} + + /** + Create an SRC, PFA data, and Error log for the ServiceData provided +
    +
    Parameter: attn_type (see iipsdbug.h) +
    Parameter: sdc (see iipServiceData.h) +
    Returns: Error Log - Null if successfully committed +
    Requirements: SetErrorTod()? +
    Promises: Error log(s) build and logged, SRC built, etc. +
    Exceptions: None. +
    Notes: +

+ */ + virtual errlHndl_t GenerateSrcPfa(ATTENTION_TYPE attn_type, ServiceDataCollector & sdc); + + +private: // functions + + +private: // Data + + + +}; + +} // End namespace PRDF + +#endif -- cgit v1.2.1