64 lines
3.4 KiB
C
64 lines
3.4 KiB
C
/*------------------------------------------------------------
|
|
(C) Copyright [2006-2008] Marvell International Ltd.
|
|
All Rights Reserved
|
|
------------------------------------------------------------*/
|
|
|
|
/*--------------------------------------------------------------------------------------------------------------------
|
|
INTEL CONFIDENTIAL
|
|
Copyright 2006 Intel Corporation All Rights Reserved.
|
|
The source code contained or described herein and all documents related to the source code ("Material") are owned
|
|
by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or
|
|
its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of
|
|
Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and
|
|
treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted,
|
|
transmitted, distributed, or disclosed in any way without Intel's prior express written permission.
|
|
|
|
No license under any patent, copyright, trade secret or other intellectual property right is granted to or
|
|
conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement,
|
|
estoppel or otherwise. Any license under such intellectual property rights must be express and approved by
|
|
Intel in writing.
|
|
-------------------------------------------------------------------------------------------------------------------*/
|
|
|
|
/*******************************************************************************
|
|
* MODULE HEADER FILE
|
|
********************************************************************************
|
|
*
|
|
* Filename: EE_PostmortemApi.h
|
|
*
|
|
* Description: POSTMORTEM services
|
|
*
|
|
* Services called on the COMM-side TAVOR-HARBELL
|
|
* Registration for the postmortem saving
|
|
*
|
|
* Services called on the APP-side TAVOR-BOERNE
|
|
* Exported ICAT functions used to save buffer(s)
|
|
* Diag,comMem,SaveComPostmortem //Save all REGISTERED buffers from the Dec-Table into files
|
|
* Diag,comMem,SaveCom_Addr_Len //Generic procedure to save into file "comm_"POSTMORTEM_BUF_NAME_GENDUMP".bin"
|
|
*******************************************************************************/
|
|
|
|
#ifndef _ERROR_POSTMORTEM_API_H_
|
|
#define _ERROR_POSTMORTEM_API_H_
|
|
|
|
|
|
/******************************************************************************************************
|
|
* EE_PostmortemRegistration - Register User's Buffer into Postmortem description table
|
|
* for the executing by ICAT-command (or procedure) "SaveComPostmortem"
|
|
* PARAMETERS:
|
|
* name - pointer not Name string having 7 characters + 1-zero-end
|
|
* bufAddr - pointer to the buffer beginning address
|
|
* bufLen - length of the buffer
|
|
*
|
|
* RETURNS:
|
|
* TRUE if registered successful
|
|
* FALSE if no free entry in description table
|
|
* !!!!!!!!!!
|
|
* This procedure may be called absolutelly safely from all Hermon, Boerne, Harbell...
|
|
* But real registration would be done for COMM Tavor-Harbel build only.
|
|
* The TRUE is returned in this case.
|
|
* Any kind of "#ifdef HARBEL" checking is NOT required in a calling procedure.
|
|
******************************************************************************************************/
|
|
BOOL EE_PostmortemRegistration(char* name, UINT8* bufAddr, UINT32 bufLen);
|
|
|
|
#endif//end of _ERROR_POSTMORTEM_API_H_
|
|
|