bsp.h

来自「psos嵌入式操作系统平台下的8139驱动程序,比较难得.」· C头文件 代码 · 共 64 行

H
64
字号
/***********************************************************************/
/*                                                                     */
/*   MODULE:  bsp.h   1.18                                                */
/*   DATE:    16:46:42 - 98/12/30                                                */
/*   PURPOSE: Defining characteristics of a board-support package      */
/*                                                                     */
/*---------------------------------------------------------------------*/
/*                                                                     */
/*           Copyright 1991 - 1995, Integrated Systems, Inc.           */
/*                      ALL RIGHTS RESERVED                            */
/*                                                                     */
/*   Permission is hereby granted to licensees of Integrated Systems,  */
/*   Inc. products to use or abstract this computer program for the    */
/*   sole purpose of implementing a product based on Integrated        */
/*   Systems, Inc. products.   No other rights to reproduce, use,      */
/*   or disseminate this computer program, whether in part or in       */
/*   whole, are granted.                                               */
/*                                                                     */
/*   Integrated Systems, Inc. makes no representation or warranties    */
/*   with respect to the performance of this computer program, and     */
/*   specifically disclaims any responsibility for any damages,        */
/*   special or consequential, connected with the use of this program. */
/*                                                                     */
/*---------------------------------------------------------------------*/
/*                                                                     */
/*   This file has been stripped down for Trimedia pSOS:               */
/*   All hardware characteristics are defined in the TriMedia          */
/*   SDE libraries, or sysconf.h.                                      */
/*                                                                     */
/***********************************************************************/
#if defined(__cplusplus)
extern "C" {
#endif

#ifndef _BSP_H
#define _BSP_H

#ifndef YES
#define YES 1
#endif

#ifndef NO
#define NO 0
#endif

#ifdef __TCS__
	#ifdef __BIG_ENDIAN__
	#define BSP_LITTLE_ENDIAN      NO
	#else	
	#define BSP_LITTLE_ENDIAN      YES
	#endif 	
#else
	#define BSP_LITTLE_ENDIAN      NO
#endif

extern int BSP_RAM_BASE;
extern int BSP_RAM_END;

#endif /* _BSP_H */

#if defined(__cplusplus)
}
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?