?? emos_inc.h
字號:
/****************************************************************************
*
* (c) Copyright 2001,2008, EMB system, All Rights Reserved.
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF EMB SYSTEM, INC.
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*
* Subsystem: EMOS
* File: ems_inc.h
* Author: zenf zhao
* Description: embedded software operation system common include files
*
****************************************************************************/
#ifndef _EMS_INC_H_
#define _EMS_INC_H_
#ifndef NULL
#define NULL (0)
#endif
/*
#define NULL (0)
#define TRUE (1)
#define FALSE (0)
*/
/*
#ifndef FALSE
#define FALSE (0)
#endif
#ifndef TRUE
#define TRUE (1)
#endif
*/
#define EMOS_TRUE (1)
#define EMOS_FALSE (0)
#ifndef EMOS_CPU_MINGW_MODE
#define BOOL int
#define ULONG unsigned long
#define UINT32 unsigned long
#define UINT16 unsigned short
#define UINT8 unsigned char
#define CBOOL unsigned char
#define SINT32 long
#define SINT16 short
#define SINT8 char
#elif
#endif
typedef unsigned int bool;
typedef unsigned char cbool;
typedef unsigned long ulong;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned long uint32;
typedef long sint32;
typedef short sint16;
typedef char sint8;
typedef char int8;
typedef short int16;
typedef long int32;
typedef unsigned long EMOS_STK; /* Each stack entry is 16/32-bit wide*/
#define EMOS_MALLOC(a) malloc(a)
#define EMOS_FREE(a) {free(a); a =0 ;}
#endif
/*
* Please add "$" around "Id" and "Log".
* $Id$
* $Log$
*
*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -