/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/framework/config/iipchip.C $ */ /* */ /* IBM CONFIDENTIAL */ /* */ /* COPYRIGHT International Business Machines Corp. 1993,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 */ #define IIPCHIP_CPP /* Module Description *************************************************/ /* */ /* Name: iipchip.cpp */ /* */ /* Description: This module contains the implementation for the Processor Runtime Diagnostics Chip class. */ /* */ /* End Module Description *********************************************/ /* Change Log *********************************************************/ /* */ /* Flag Reason Vers Date Coder Description */ /* ---- -------- ---- -------- ----- ------------------------------- */ /* V2ST 07/30/93 JST Initial Creation */ /* V2ST 08/20/93 JST Added Tables and Analyze() Converted to ABC */ /* V300 11/02/93 JST Using Error Register, ATTENTION_TYPE */ /* V300 11/02/93 JST Created CHIP_IDENTITY */ /* V300 01/04/94 JST Analyze() returns Step Code Data via parameter reference */ /* V300 01/11/94 JST Removed CHIP_IDENTITY */ /* V300 01/20/94 JST Removed Analyze() */ /* V300 05/04/94 JST Added Initialize() */ /* D24585.5 V300 06/07/94 JST Adding CapruteErrorData() */ /* V400 07/28/94 JST Removing CapruteErrorData() */ /* */ /* End Change Log *****************************************************/ /*--------------------------------------------------------------------*/ /* Emit the virtual function tables and inline function defintions in this translation unit. */ /*--------------------------------------------------------------------*/ #include #include /*--------------------------------------------------------------------*/ /* Forward References */ /*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/ /* User Types */ /*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/ /* Constants */ /*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/ /* Macros */ /*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/ /* Internal Function Prototypes */ /*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/ /* Global Variables */ /*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/ /* Static Variables */ /*--------------------------------------------------------------------*/ // Function Specification ////////////////////////////////////////// // // Title: ~CHIP_CLASS (Virtual destructor) // // Purpose: This destructor does nothing. This declaration is // provided to enable derived class destuctores to be // called properly. // // Side-effects: None. // // Dependencies: None. // // End Function Specification ////////////////////////////////////// CHIP_CLASS::~CHIP_CLASS ( void /*!i No parameters */ ) /*!o No value returned */ { } // Function Specification ////////////////////////////////////////// // // Title: Initialize (Virtual) // // Purpose: This function handles the PRD initialization of the // corresponding hardware chip and any associated data. // // This default implementation does nothing and returns // SUCCESS(0). // // Side-effects: Scan comm registers may be written. // Internal data may be modified. // // Dependencies: None. // // End Function Specification ////////////////////////////////////// int32_t CHIP_CLASS::Initialize ( void /*!i No parameters */ ) /*!o Error Return code */ { return(SUCCESS); } PRDF::HUID CHIP_CLASS::GetId() const { return(PRDF::PlatServices::getHuid(iv_pchipHandle)); } #undef IIPCHIP_CPP