eztypes_x86.h

来自「嵌入式实时内核源代码」· C头文件 代码 · 共 32 行

H
32
字号
//
// $Id: eztypes_x86.h,v 1.7 2005/06/17 09:39:47 weihan Exp $
//
//      HW-dependent types and definitions. Shouldn't #include any other
//      header files.
//
#ifndef _EZHWTYPES_H_
#define _EZHWTYPES_H_

typedef char    BYTE;

typedef int     INT;
typedef char    INT8;
typedef short   INT16;
typedef int     INT32;
typedef unsigned int    UINT;
typedef unsigned char   UINT8;
typedef unsigned short  UINT16;
typedef unsigned int    UINT32;

// TODO: move these macro to elsewhere. here only needs this:
// #define EZ_WORD_LENGTH   32

#define EZ_LINKNODE_REDZONE 0xFFFFBAD0

#define EZ_INFINITE         0xffffffff

// mutex priority inheritance flag. the highest bit is 1.
#define EZ_MUTEX_PI         0x80000000

#endif //_EZHWTYPES_H_

⌨️ 快捷键说明

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