📄 rpc_common.h
字号:
/*
* +-------------------------------------------------------------------+
* | Copyright (c) 1995,1996,1997 by Philips Semiconductors. |
* | |
* | This software is furnished under a license and may only be used |
* | and copied in accordance with the terms and conditions of such a |
* | license and with the inclusion of this copyright notice. This |
* | software or any other copies of this software may not be provided |
* | or otherwise made available to any other person. The ownership |
* | and title of this software is not transferred. |
* | |
* | The information in this software is subject to change without |
* | any prior notice and should not be construed as a commitment by |
* | Philips Semiconductors. |
* | |
* | This code and information is provided "as is" without any |
* | warranty of any kind, either expressed or implied, including but |
* | not limited to the implied warranties of merchantability and/or |
* | fitness for any particular purpose. |
* +-------------------------------------------------------------------+
*
*
* Module name : RPC_Common.h 1.14
*
* Last update : 13:51:21 - 98/11/12
*
* Title : Host communication; shared definitions
*
* Reviewed :
*
* Revision history :
*
* Description :
*
*
*/
#ifndef RPC_Common_INCLUDED
#define RPC_Common_INCLUDED
/*----------------------------includes---------------------------------------*/
#ifdef __TCS__
#include <tmlib/tmtypes.h>
#include <tmlib/HostCall.h>
#else
#include "tmtypes.h"
#include "HostCall.h"
#endif
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
/*--------------------------------- Definitions ------------------------------*/
#ifdef SERIAL_RPC
/*
* protocol codes for use by
* serial transport engine:
*/
#define UART_XFer_Input 1
#define UART_XFer_Output 2
#define UART_XFer_IOutput 3
#define UART_XFer_Command 4
#define UART_Recv_output 5
#define UART_Recv_command 6
#define UART_XFer_endian_probe 7
#else
/*
* pseudo- HostCall function codes
* for use by three- stage
* read engine in PCI mode
*/
#define READ_PHASE_1 (-1)
#define READ_PHASE_2 (-2)
#define READ_PHASE_3 (-3)
#endif /* SERIAL_RPC */
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* RPC_Common_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -